public abstract class VideoContentListenerAdapter extends java.lang.Object implements VideoContentListener
VideoContentListener.
Any custom listener that cares only about a subset of the methods of this listener can
simply subclass this adapter class instead of implementing the interface directly.| Constructor and Description |
|---|
VideoContentListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted()
Called when the video is completed
|
void |
onPlayerError()
Deprecated.
not in use
|
void |
onProgress(int totalDurationInMsec,
int positionInMsec)
This callback is called by the controller every 1 second
|
public void onProgress(int totalDurationInMsec,
int positionInMsec)
onProgress in interface VideoContentListenertotalDurationInMsec - total duration of the video in millisecondspositionInMsec - current play position in millisecondspublic void onCompleted()
onCompleted in interface VideoContentListener@Deprecated public void onPlayerError()
onPlayerError in interface VideoContentListener