MediaPlaybackParameters
Media playback parameters given to the MediaPlaybackViewModel.
Parameters
The timeline information of the active media item. null
if nothing is being played.
The current playback state of the media item. IviPlaybackState.IDLE if nothing is being played or if no source is active.
The active media source. null
if no source is active.
The active media item. null
if no media is active.
The current queue of media items. Empty if no queue is present.
The LiveDataActionList provided for the current activeSource and activeMediaItem. Empty if nothing is being played or if no actions are currently advertised as available by the activeSource.
Each source supports different actions at different times. It is therefore not advisable to rely on any of them to be available at any specific moment.
Whether the current media source is buffering data to start or continue playing.
Lambda that can be used by MediaPlaybackViewModel to launch the Actions.
Constructors
Properties
Functions
Returns a MediaControlContext from this MediaPlaybackParameters.