Interface VideoAdPlaybackListener
-
- All Implemented Interfaces:
@MainThread() public interface VideoAdPlaybackListener
This class provides information about video ad playback
-
-
Method Summary
Modifier and Type Method Description abstract UnitonAdPrepared(VideoAd videoAd)abstract UnitonAdStarted(VideoAd videoAd)Fire this callback when video ad playback started abstract UnitonAdPaused(VideoAd videoAd)Fire this callback when video ad playback paused abstract UnitonAdResumed(VideoAd videoAd)Fire this callback when video ad playback resumed abstract UnitonAdCompleted(VideoAd videoAd)Fire this callback when video ad playback completed abstract UnitonAdSkipped(VideoAd videoAd)Fire this callback when video ad playback skipped abstract UnitonAdStopped(VideoAd videoAd)Fire this callback when video ad playback stopped abstract UnitonAdError(VideoAd videoAd)Fire this callback when error occurred during ad playback abstract UnitonVolumeChanged(VideoAd videoAd, Float volume)Fire this callback when video ad volume was updated abstract UnitonAdClicked(VideoAd videoAd)Fire this callback when video ad is clicked abstract UnitonImpression(VideoAd videoAd)Fire this callback when impression of the ad occurred. -
-
Method Detail
-
onAdPrepared
abstract Unit onAdPrepared(VideoAd videoAd)
-
onAdStarted
abstract Unit onAdStarted(VideoAd videoAd)
Fire this callback when video ad playback started
- Parameters:
videoAd- video ad playback information
-
onAdPaused
abstract Unit onAdPaused(VideoAd videoAd)
Fire this callback when video ad playback paused
- Parameters:
videoAd- video ad playback information
-
onAdResumed
abstract Unit onAdResumed(VideoAd videoAd)
Fire this callback when video ad playback resumed
- Parameters:
videoAd- video ad information
-
onAdCompleted
abstract Unit onAdCompleted(VideoAd videoAd)
Fire this callback when video ad playback completed
- Parameters:
videoAd- video ad information
-
onAdSkipped
abstract Unit onAdSkipped(VideoAd videoAd)
Fire this callback when video ad playback skipped
- Parameters:
videoAd- video ad information
-
onAdStopped
abstract Unit onAdStopped(VideoAd videoAd)
Fire this callback when video ad playback stopped
- Parameters:
videoAd- video ad information
-
onAdError
abstract Unit onAdError(VideoAd videoAd)
Fire this callback when error occurred during ad playback
- Parameters:
videoAd- video ad information
-
onVolumeChanged
abstract Unit onVolumeChanged(VideoAd videoAd, Float volume)
Fire this callback when video ad volume was updated
- Parameters:
videoAd- video ad informationvolume- volume value that was set to the player
-
onAdClicked
abstract Unit onAdClicked(VideoAd videoAd)
Fire this callback when video ad is clicked
- Parameters:
videoAd- video ad information
-
onImpression
abstract Unit onImpression(VideoAd videoAd)
Fire this callback when impression of the ad occurred.
- Parameters:
videoAd- video ad information
-
-
-
-