Package com.brightcove.ssai.player
Interface PlaybackListener
-
- All Known Implementing Classes:
TimelineManager
public interface PlaybackListenerListener for playback related events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonComplete(long duration)Indicates when the video playback has completed.voidonPause(long playheadPosition)Indicates a pause event.voidonPlay(long playheadPosition)Indicates a play event.
-
-
-
Method Detail
-
onPlay
void onPlay(long playheadPosition)
Indicates a play event.- Parameters:
playheadPosition- the playhead position
-
onPause
void onPause(long playheadPosition)
Indicates a pause event.- Parameters:
playheadPosition- the playhead position
-
onComplete
void onComplete(long duration)
Indicates when the video playback has completed.- Parameters:
duration- the duration
-
-