public static interface POBVideoPlayerView.POBVideoPlayerListener
| Modifier and Type | Method and Description |
|---|---|
void |
onBufferUpdate(int buffer)
Provides callback to update buffer status of video content
The received buffering percentage indicates how much of the content has been buffered.
|
void |
onClick()
Notifies the video player is clicked
|
void |
onCompletion()
Called when the end of a media content is reached during playback.
|
void |
onFailure(int errorCode,
java.lang.String errorMessage)
Notifies when ad is failed to load or failed play the ad
|
void |
onMute(boolean isMute)
Notifies Video playback is mute/un-mute, can be used to update mute control
|
void |
onPause()
Notifies Video playback is paused, can be used to update play/pause controls
|
void |
onProgressUpdate(int seekPosition)
Notifies video playback position once video playback onStart, can be used to update seek
bar
|
void |
onReadyToPlay(POBVideoPlayerView player)
Notifies video content is downloaded and it is ready to play
|
void |
onResume()
Notifies Video playback is resumed, can be used to update play/pause controls
|
void |
onStart()
Notifies Video playback is started, can be used to update play/pause controls
|
void onReadyToPlay(@NonNull
POBVideoPlayerView player)
player - instance of POBVideoPlayerViewvoid onFailure(int errorCode,
@NonNull
java.lang.String errorMessage)
errorCode - standard media player error codeerrorMessage - specific to the error codevoid onBufferUpdate(int buffer)
buffer - the percent of content(0-100) that has been bufferedvoid onCompletion()
void onStart()
void onPause()
void onResume()
void onProgressUpdate(int seekPosition)
seekPosition - current playback position in millisecondsvoid onMute(boolean isMute)
isMute - true if mute else falsevoid onClick()