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)
Inheritance

Constructors

BannerAdEvent()
const

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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
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.