FullScreenContentCallback<Ad> class

Callback events for for full screen ads, such as Rewarded and Interstitial.

Constructors

FullScreenContentCallback({GenericAdEventCallback<Ad>? onAdShowedFullScreenContent, GenericAdEventCallback<Ad>? onAdImpression, void onAdFailedToShowFullScreenContent(Ad ad, AdError error)?, GenericAdEventCallback<Ad>? onAdWillDismissFullScreenContent, GenericAdEventCallback<Ad>? onAdDismissedFullScreenContent, GenericAdEventCallback<Ad>? onAdClicked})
Construct a new FullScreenContentCallback.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onAdClicked GenericAdEventCallback<Ad>?
Called when an ad is clicked.
final
onAdDismissedFullScreenContent GenericAdEventCallback<Ad>?
Called when an ad dismisses full screen content.
final
onAdFailedToShowFullScreenContent → (void Function(Ad ad, AdError error)?)
Called when ad fails to show full screen content.
final
onAdImpression GenericAdEventCallback<Ad>?
Called when an ad impression occurs.
final
onAdShowedFullScreenContent GenericAdEventCallback<Ad>?
Called when an ad shows full screen content.
final
onAdWillDismissFullScreenContent GenericAdEventCallback<Ad>?
For iOS only. Called before dismissing a full screen view.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited