BannerAdListener class

A listener for receiving notifications for the lifecycle of a BannerAd.

Inheritance

Constructors

BannerAdListener({AdEventCallback? onAdLoaded, AdErrorCallback? onAdFailedToLoad, AdEventCallback? onAdImpression, AdEventCallback? onAdClicked, AdEventCallback? onAdClosed, AdEventCallback? onAdLeftApplication})
Constructs a BannerAdListener that notifies for the provided event callbacks.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onAdClicked AdEventCallback?
Called when the user has clicked the ad.
finalinherited
onAdClosed AdEventCallback?
Called when the ad is closed.
finalinherited
onAdFailedToLoad AdErrorCallback?
Called when an error occurs while attempting to load an ad.
finalinherited
onAdImpression AdEventCallback?
Called when the ad is first rendered on device. Please use this callback to track impressions.
finalinherited
onAdLeftApplication AdEventCallback?
Called when leaved app after clicked the ad.
finalinherited
onAdLoaded AdEventCallback?
Called when the ad has been successfully loaded.
finalinherited
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