-
public interface PlaybackListener
Listener for playback related events.
-
-
Method Summary
Modifier and Type Method Description abstract void
onPlay(long playheadPosition)
Indicates a play event. abstract void
onPause(long playheadPosition)
Indicates a pause event. abstract void
onComplete(long duration)
Indicates when the video playback has completed. -
-
Method Detail
-
onPlay
abstract void onPlay(long playheadPosition)
Indicates a play event.
- Parameters:
playheadPosition
- the playhead position
-
onPause
abstract void onPause(long playheadPosition)
Indicates a pause event.
- Parameters:
playheadPosition
- the playhead position
-
onComplete
abstract void onComplete(long duration)
Indicates when the video playback has completed.
- Parameters:
duration
- the duration
-
-
-
-