FullScreenContentCallback<Ad> class
Callback events for for full screen ads, such as Rewarded and Interstitial.
Constructors
-
FullScreenContentCallback({GenericAdEventCallback<
Ad> ? onAdShowedFullScreenContent, void onAdFailedToShowFullScreenContent(Ad ad, String error)?, RewardedAdDismissedCallback<Ad> ? onAdDismissedFullScreenContent, GenericAdEventCallback<Ad> ? onAdClicked, GenericAdEventCallback<Ad> ? onAdCompleted, GenericAdEventCallback<Ad> ? onAdEndCardShowed}) -
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
-
onAdCompleted
→ GenericAdEventCallback<
Ad> ? -
Called when an ad is completed.
final
-
onAdDismissedFullScreenContent
→ RewardedAdDismissedCallback<
Ad> ? -
Called when an ad dismisses full screen content.
final
-
onAdEndCardShowed
→ GenericAdEventCallback<
Ad> ? -
Called when an ad shows end card.
final
- onAdFailedToShowFullScreenContent → (void Function(Ad ad, String error)?)
-
Called when ad fails to show full screen content.
final
-
onAdShowedFullScreenContent
→ GenericAdEventCallback<
Ad> ? -
Called when an ad shows full screen content.
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