Playing
A Started state indicating playback is currently ongoing
Properties
Link copied to clipboard
Transitions into a PlayingOrCompleted state
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 into a Paused 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
Link copied to clipboard
abstract override fun updatePlaybackParameters(new: PlaybackState.PlaybackParameters): suspend () -> PlaybackState.Playing
Transitions into a Started state with new PlaybackParameters