AudioPlayerGateway

class AudioPlayerGateway : PlayerEventListener

Provides the current state of the audiobook and live audio players (if either exist), and also updates.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
sealed interface OpenAudioPlayer
Link copied to clipboard
sealed interface StateContainer

Properties

Link copied to clipboard
Link copied to clipboard
val state: CurrentValueObservable<AudioPlayerGateway.StateContainer>

Functions

Link copied to clipboard
Link copied to clipboard
open override fun onPlaybackStateChanged(audiobookPlayer: AudiobookPlayer, state: PlayerEventListener.State)