Paused
A Started state indicating playback is currently paused
Properties
Link copied to clipboard
Transitions into an Closed state
Link copied to clipboard
The MediaSurfaceController for rendering to a video
Link copied to clipboard
Transitions back into a Playing state
Link copied to clipboard
The PlayableMedia prepared
Link copied to clipboard
The PlaybackParameters used for playback
Link copied to clipboard
Transitions back into an Uninitialized state
Link copied to clipboard
Transitions into a Stopped state
Link copied to clipboard
The VolumeController for adjusting the volume
Functions
Link copied to clipboard
Transitions into an Error state
Link copied to clipboard
open fun playWithUpdatedPlaybackParameters(new: PlaybackState.PlaybackParameters): suspend () -> PlaybackState.Playing
Will transition into a Playing state with new PlaybackParameters
Link copied to clipboard
Link copied to clipboard
abstract override fun updatePlaybackParameters(new: PlaybackState.PlaybackParameters): suspend () -> PlaybackState.Paused
Transitions into a Started state with new PlaybackParameters