PlaylistOptions

data class PlaylistOptions(preloadAllSources: Boolean, replayMode: ReplayMode) : Parcelable

Contains additional configuration options for setting up a playlist.

Constructors

Link copied to clipboard
fun PlaylistOptions(preloadAllSources: Boolean = false, replayMode: ReplayMode = ReplayMode.Playlist)

Properties

Link copied to clipboard
val preloadAllSources: Boolean = false

Specifies whether all Sources in the playlist immediately start preloading when the playlist is loaded into a Player.

Link copied to clipboard
val replayMode: ReplayMode

Defines whether replay starts at the beginning of the playlist or at the beginning of the last source. Default is ReplayMode.Playlist.