VideoAdapterListener

This is SDK internal listener for Video ad. Provides callbacks for various events that occur during the video ad lifecycle, including loading, playback control, and error handling.

Functions

Link copied to clipboard
abstract fun onAdClicked(@NonNull adapter: GfpVideoAdAdapter)
Called when the video ad is clicked.
Link copied to clipboard
abstract fun onAdCompleted(@NonNull adapter: GfpVideoAdAdapter)
Called when the video ad playback is completed.
Link copied to clipboard
abstract fun onAdLoaded(@NonNull adapter: GfpVideoAdAdapter)
Called when the video ad is successfully loaded.
Link copied to clipboard
abstract fun onAdPaused(@NonNull adapter: GfpVideoAdAdapter)
Called when the video ad playback is paused.
Link copied to clipboard
abstract fun onAdResumed(@NonNull adapter: GfpVideoAdAdapter)
Called when the video ad playback resumes.
Link copied to clipboard
abstract fun onAdSkipped(@NonNull adapter: GfpVideoAdAdapter)
Called when the video ad is skipped by the user.
Link copied to clipboard
abstract fun onAdStarted(@NonNull adapter: GfpVideoAdAdapter)
Called when the video ad playback starts.
Link copied to clipboard
abstract fun onLoadError(@NonNull adapter: GfpVideoAdAdapter, @NonNull error: GfpError)
Called when an error occurs during video ad loading.
Link copied to clipboard
abstract fun onStartError(@NonNull adapter: GfpVideoAdAdapter, @NonNull error: GfpError)
Called when an error occurs during video playback.