Paused
data class Paused(val playbackParameters: PlaybackState.PlaybackParameters, val playableMedia: PlayableMedia, val configuration: MockPlaybackState.Configuration) : MockPlaybackState.Prepared, PlaybackState.Paused
Mock implementation of PlaybackState.Paused
Parameters
playbackParameters
the PlaybackState.PlaybackParameters used for playback
playableMedia
the PlayableMedia prepared
configuration
the Configuration to persist across all MockPlaybackState.Active states
Constructors
Link copied to clipboard
constructor(playbackParameters: PlaybackState.PlaybackParameters, playableMedia: PlayableMedia, configuration: MockPlaybackState.Configuration)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open fun playWithUpdatedPlaybackParameters(new: PlaybackState.PlaybackParameters): suspend () -> PlaybackState.Playing
Link copied to clipboard
Link copied to clipboard
open override fun updatePlaybackParameters(new: PlaybackState.PlaybackParameters): suspend () -> PlaybackState.Paused