AdCallback class abstract
A callback interface for handling advertisement events.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
onClicked(
) → void - Executed when the user clicks on an Ad.
-
onClosed(
) → void - Executed when the Ad is closed.
-
onComplete(
) → void - Executed when the Ad is completed.
-
onImpression(
AdImpression? adImpression) → void - Executed when an ad impression is registered.
-
onShowFailed(
String? message) → void - Executed when the ad is failed to display.
-
onShown(
) → void - Executed when the ad is displayed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited