FullScreenContentCallback<T extends Ad> constructor
const
FullScreenContentCallback<T extends Ad> ({
- GenericAdEventCallback<
T> ? onAdShowedFullScreenContent, - GenericAdEventCallback<
T> ? onAdImpression, - void onAdFailedToShowFullScreenContent(
- T ad,
- AdError error
- GenericAdEventCallback<
T> ? onAdWillDismissFullScreenContent, - GenericAdEventCallback<
T> ? onAdDismissedFullScreenContent, - GenericAdEventCallback<
T> ? onAdClicked,
Construct a new FullScreenContentCallback.
Ad.dispose should be called from onAdFailedToShowFullScreenContent
and onAdDismissedFullScreenContent, in order to free up resources.
Implementation
const FullScreenContentCallback({
this.onAdShowedFullScreenContent,
this.onAdImpression,
this.onAdFailedToShowFullScreenContent,
this.onAdWillDismissFullScreenContent,
this.onAdDismissedFullScreenContent,
this.onAdClicked,
});