VideoAdListener

open class VideoAdListener

A listener for receiving notifications during the lifecycle of an video ad.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Called when an banner ad is clicked.
Link copied to clipboard
Called when video ad playback finished.
Link copied to clipboard
open fun onAdLoaded(@NonNull ad: GfpVideoAd)
Called when an video ad is loaded.
Link copied to clipboard
Called when the non-linear ad is ready to start.
Link copied to clipboard
Called when video playback first begins.
Link copied to clipboard
Called when the linear ad is ready to start.
Link copied to clipboard
open fun onError(@NonNull ad: GfpVideoAd, @NonNull error: GfpError)
Called when an error happened while the video ad is attempting to load or play an ad.