AudioPlayerGateway

class AudioPlayerGateway(bookLibraryController: BookLibraryController) : PlayerEventListener

This object provides the current state of the audio player (if any exists), and also updates.

Constructors

Link copied to clipboard
constructor(bookLibraryController: BookLibraryController)

Types

Link copied to clipboard
class StateContainer(val audiobookPlayer: AudiobookPlayer, val state: PlayerEventListener.State)

Properties

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

Functions

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