public interface POBVastPlayerListener
| Modifier and Type | Method and Description |
|---|---|
void |
onFailedToPlay(com.pubmatic.sdk.common.POBError error)
Notifies when ad is failed to load or failed play the ad
|
void |
onIndustryIconClick(java.lang.String url)
Notifies when click is happened on industry icon
|
void |
onOpenLandingPage(java.lang.String url)
Notifies when click is happened on learn more button
|
void |
onPlaybackCompleted(float duration)
Notifies when video content is played completely and end card is about to show.
|
void |
onReadyToPlay(POBVastAd vastAd,
float skipOffset)
Notifies video content is downloaded and it is ready to play.
|
void |
onSkipButtonClick(POBVastCreative.POBEventTypes eventType)
Notifies when click is happened on Skip button
|
void |
onVideoEventOccurred(POBVastCreative.POBEventTypes eventType)
Notifies all vast event.
|
void |
onVideoStarted(float duration,
float playerVolume)
Notifies when first frame of video is rendered.
|
void onReadyToPlay(@Nullable
POBVastAd vastAd,
float skipOffset)
vastAd - selected vast adskipOffset - skip offset for skippable adsvoid onPlaybackCompleted(float duration)
duration - selected media file durationvoid onFailedToPlay(@NonNull
com.pubmatic.sdk.common.POBError error)
error - the error of POBError which has specific error codes with its specific error
messagevoid onOpenLandingPage(@Nullable
java.lang.String url)
url - the url which gets calledvoid onSkipButtonClick(@Nullable
POBVastCreative.POBEventTypes eventType)
eventType - event occured.void onVideoStarted(float duration,
float playerVolume)
duration - selected media file durationplayerVolume - media player volumevoid onVideoEventOccurred(@NonNull
POBVastCreative.POBEventTypes eventType)
eventType - event occured.void onIndustryIconClick(@Nullable
java.lang.String url)
url - the url which gets called