AdWithViewListener class abstract
Shared event callbacks used in Banner ads.
- Implementers
Constructors
- AdWithViewListener({AdEventCallback? onAdLoaded, AdErrorCallback? onAdFailedToLoad, AdEventCallback? onAdImpression, AdEventCallback? onAdClicked, AdEventCallback? onAdClosed, AdEventCallback? onAdLeftApplication})
-
Default constructor for AdWithViewListener, meant to be used by subclasses.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onAdClicked → AdEventCallback?
-
Called when the user has clicked the ad.
final
- onAdClosed → AdEventCallback?
-
Called when the ad is closed.
final
- onAdFailedToLoad → AdErrorCallback?
-
Called when an error occurs while attempting to load an ad.
final
- onAdImpression → AdEventCallback?
-
Called when the ad is first rendered on device.
Please use this callback to track impressions.
final
- onAdLeftApplication → AdEventCallback?
-
Called when leaved app after clicked the ad.
final
- onAdLoaded → AdEventCallback?
-
Called when the ad has been successfully loaded.
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