FullscreenContentDelegate

class FullscreenContentDelegate(onDismissed: () -> Unit, onShown: () -> Unit, onImpression: () -> Unit, onClick: () -> Unit, onFailure: (Exception) -> Unit) : FullScreenContentCallback

A FullScreenContentCallback for handling full-screen ad content events.

Parameters

onDismissed

A callback invoked when the ad is dismissed.

onShown

A callback invoked when the ad is shown.

onImpression

A callback invoked when an impression is recorded for the ad.

onClick

A callback invoked when the ad is clicked.

onFailure

A callback invoked when the ad fails to show.

Constructors

Link copied to clipboard
constructor(onDismissed: () -> Unit, onShown: () -> Unit, onImpression: () -> Unit, onClick: () -> Unit, onFailure: (Exception) -> Unit)

Functions

Link copied to clipboard
open override fun onAdClicked()
Link copied to clipboard
open override fun onAdDismissedFullScreenContent()
Link copied to clipboard
open override fun onAdFailedToShowFullScreenContent(p0: AdError)
Link copied to clipboard
open override fun onAdImpression()
Link copied to clipboard
open override fun onAdShowedFullScreenContent()