PlayListener

interface PlayListener

This interface is for clients that want to be notified when a new track begins playback, advances playback, and any time the skippability of the current track changes.

See also

addPlayListener

Functions

onPlayStarted
Link copied to clipboard
abstract fun onPlayStarted(play: Play?)
onProgressUpdate
Link copied to clipboard
abstract fun onProgressUpdate(play: Play, elapsedTime: Float, duration: Float)
onSkipStatusChanged
Link copied to clipboard
abstract fun onSkipStatusChanged(status: Boolean)