TritonAudioPlaybackSessionConfig

data class TritonAudioPlaybackSessionConfig(val playbackProperties: PlaybackProperties, val mediaType: MediaType, val mediaMetadata: MediaMetadata? = null, val adRequest: CSAIAdsRequest? = null, val downloadID: String? = null, val repeatPlaybackOnStreamEnd: Boolean = false, val mediaId: String? = null, val customMetadata: String? = null)

Declares the configuration properties for TritonPlayer playback session initialization.

Constructors

Link copied to clipboard
constructor(playbackProperties: PlaybackProperties, mediaType: MediaType, mediaMetadata: MediaMetadata? = null, adRequest: CSAIAdsRequest? = null, downloadID: String? = null, repeatPlaybackOnStreamEnd: Boolean = false, mediaId: String? = null, customMetadata: String? = null)

Properties

Link copied to clipboard

CSAIAdsRequest request that contains information on the CSAI Ads.

Link copied to clipboard
val customMetadata: String? = null

String custom metadata about the content.

Link copied to clipboard
val downloadID: String? = null

Download identifier for the content.

Link copied to clipboard
val mediaId: String? = null

String Unique Id of the content.

Link copied to clipboard

the MediaMetadata associated with the playback.

Link copied to clipboard

One of MediaType values.

Link copied to clipboard

Enables/disables repeated playback when stream reaches the end.