Idle
A Prepared state indicating no playback has started
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
The PlayableMedia prepared
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
abstract fun play(playbackParameters: PlaybackState.PlaybackParameters = PlaybackParameters()): suspend () -> PlaybackState.Playing
Transitions to a Playing state
Link copied to clipboard