PlaybackGlue.PlayerCallback
abstract class PlaybackGlue.PlayerCallback
Interface to allow clients to take action once the video is ready to play and start stop.
Summary
Public constructors |
---|
Public functions |
|
---|---|
Unit |
onPlayCompleted(glue: PlaybackGlue) Event of the current media is finished. |
Unit |
onPlayStateChanged(glue: PlaybackGlue) Event for Play/Pause state change. |
Unit |
Event for |
Public constructors
Public functions
onPlayCompleted
Added in 1.1.0
fun onPlayCompleted(glue: PlaybackGlue): Unit
Event of the current media is finished.
Parameters | |
---|---|
glue: PlaybackGlue |
The PlaybackGlue that has finished current media playing. |
onPlayStateChanged
Added in 1.1.0
fun onPlayStateChanged(glue: PlaybackGlue): Unit
Event for Play/Pause state change. See isPlaying
}.
Parameters | |
---|---|
glue: PlaybackGlue |
The PlaybackGlue that has changed playing or pausing state. |
onPreparedStateChanged
Added in 1.1.0
fun onPreparedStateChanged(glue: PlaybackGlue): Unit
Event for isPrepared
changed.
Parameters | |
---|---|
glue: PlaybackGlue |
The PlaybackGlue that has changed |