Completed
data class Completed(val playableMedia: PlayableMedia, val configuration: MockPlaybackState.Configuration) : MockPlaybackState.Prepared, PlaybackState.Completed
Mock implementation of PlaybackState.Completed
Parameters
playableMedia
the PlayableMedia prepared
configuration
the Configuration to persist across all MockPlaybackState.Active states
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun start(playbackParameters: PlaybackState.PlaybackParameters): suspend () -> PlaybackState.Playing