Error

Mock implementation of PlaybackState.Error

Parameters

error

the PlaybackError that occurred

configuration

the Configuration to persist across all MockPlaybackState.Active states

Constructors

Link copied to clipboard
constructor(error: PlaybackError, configuration: MockPlaybackState.Configuration)

Properties

Link copied to clipboard
Link copied to clipboard
val end: suspend () -> PlaybackState.Closed
Link copied to clipboard
open override val error: PlaybackError
Link copied to clipboard
open override val playbackState: PlaybackState
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun <S : KalugaState> remain(): suspend () -> S