AppOpenAdEventListener class

This class is responsible for listen app open ad events. Should be set to AppOpenAd before ad showing.

Constructors

AppOpenAdEventListener({void onAdShown()?, void onAdFailedToShow(AdError error)?, void onAdDismissed()?, void onAdClicked()?, void onAdImpression(ImpressionData impressionData)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onAdClicked → (void Function()?)
Notifies that the user clicked on the ad.
final
onAdDismissed → (void Function()?)
Notifies that the ad has been dismissed.
final
onAdFailedToShow → (void Function(AdError error)?)
Notifies that the ad failed to show.
final
onAdImpression → (void Function(ImpressionData impressionData)?)
Notifies that an ad impression has been counted.
final
onAdShown → (void Function()?)
Notifies that the ad has been shown.
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