PlaylistOptions

PlaylistOptions

data class PlaylistOptions(val preloadAllSources: Boolean = false, val replayMode: ReplayMode = ReplayMode.Playlist) : Parcelable

Contains additional configuration options for setting up a playlist.

Constructors

PlaylistOptionsconstructor(preloadAllSources: Boolean = false, replayMode: ReplayMode = ReplayMode.Playlist)

Properties

NameSummary
preloadAllSourcesval preloadAllSources: Boolean
Specifies whether all Sources in the playlist immediately start preloading when the playlist is loaded into a Player.
replayModeval replayMode: ReplayMode
Defines whether replay starts at the beginning of the playlist or at the beginning of the last source. Default is ReplayMode.Playlist.