Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Represents Player protocol to support playback with sequential list of playable media content a.k.a playlist.

Link copied to clipboard
data class MediaPlaylistItem(val baseConfiguration: MediaPlaylistItem.BaseConfiguration, val drmConfiguration: MediaPlaylistItem.DRMConfiguration? = null, val adsConfiguration: MediaPlaylistItem.AdsConfiguration? = null, val downloadConfiguration: MediaPlaylistItem.DownloadConfiguration? = null, val advancedConfiguration: MediaPlaylistItem.AdvancedConfiguration? = null)

Represents single instance of a playable media content.

Link copied to clipboard
data class MediaPlaylistItemTransitionInfo(val mediaPlaylistItem: MediaPlaylistItem, val transitionTrigger: Int)

Represents MediaPlaylistItem transition payload.

Link copied to clipboard
Link copied to clipboard

Handler interface that enforces the policies related to the content with ads, and promos where special handling is required for seeking, timeline adjustment, interrupt handling etc.

Link copied to clipboard

A Player interface defining traditional high-level functionality such as play, pause, seek etc, and properties of currently playing media content.

Link copied to clipboard

A generic adapter interface that any RAW player must adapt to, for seamless working with Player and it's internal state-machines.

Link copied to clipboard

Information about the library such as version and name.

Properties

Link copied to clipboard
Link copied to clipboard
const val DEFAULT_RANDOM_SEED: Long = 1234567890
Link copied to clipboard
const val INDEX_UNSET: Int

Represents an unset or unknown index.

Link copied to clipboard
const val MAX_AUDIO_VOLUME: Float = 1.0f
Link copied to clipboard
const val MIN_AUDIO_VOLUME: Float = 0.0f
Link copied to clipboard
const val TIME_UNSET: Long

Represents an unset or unknown time or duration.

Link copied to clipboard
const val TRANSITION_TRIGGER_AUTO: Int = 101
Link copied to clipboard
Link copied to clipboard
const val TRANSITION_TRIGGER_SEEK: Int = 102