BannerAdEvent enum
The events a BannerAdController can receive. Listen
to the events using controller.onEvent.listen((event) {})
.
Avaiable events:
- impression (When the ad is rendered on the screen)
- loading (When the ad starts loading)
- loaded (When the ad is loaded)
- loadFailed (When the ad failed to load)
Values
- impression → const BannerAdEvent
-
Called when an impression is recorded for an ad.
- loadFailed → const BannerAdEvent
-
Called when an ad request failed.
- loaded → const BannerAdEvent
-
Called when an ad is received.
- loading → const BannerAdEvent
-
Called when the ad starts loading
Properties
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
Constants
-
values
→ const List<
BannerAdEvent> - A constant List of the values in this enum, in order of their declaration.