public interface PlaybackListener
Modifier and Type | Method and Description |
---|---|
void |
onComplete(long duration)
Indicates when the video playback has completed.
|
void |
onPause(long playheadPosition)
Indicates a pause event.
|
void |
onPlay(long playheadPosition)
Indicates a play event.
|
void onPlay(long playheadPosition)
playheadPosition
- the playhead positionvoid onPause(long playheadPosition)
playheadPosition
- the playhead positionvoid onComplete(long duration)
duration
- the duration