OnPlaybackListener

interface OnPlaybackListener

Listener to be called when occur a playback event.

Functions

Link copied to clipboard
abstract fun onPlaybackError(    context: AudioPlayerAgentInterface.Context,     type: ErrorType,     error: String)
Link copied to clipboard
abstract fun onPlaybackFinished(context: AudioPlayerAgentInterface.Context)
Link copied to clipboard
abstract fun onPlaybackPaused(context: AudioPlayerAgentInterface.Context)
Link copied to clipboard
abstract fun onPlaybackResumed(context: AudioPlayerAgentInterface.Context)
Link copied to clipboard
abstract fun onPlaybackStarted(context: AudioPlayerAgentInterface.Context)
Link copied to clipboard
abstract fun onPlaybackStopped(context: AudioPlayerAgentInterface.Context, stopReason: AudioPlayerAgentInterface.StopReason)