ManagedInterstitialAdQueue class

The fully managed queue of InterstitialAds

Constructors

ManagedInterstitialAdQueue(InterstitialAdInitializer _interstitialAdInitializer)

Properties

adsInQueue int
The number of ads currently preloaded and ready in the queue
getter/setter pair
adUnitId String
The Ad Unit Id of the ad managed by this instance
latefinal
hashCode int
The hash code for this object.
no setterinherited
maxAdsInQueue int
The maximum number of ads that the queue will ever have at one time, determined by InterstitialAdInitializer.count
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes all resources used by the ManagedInterstitialAdQueue instance. Note that along with disposing all of the ads managed by the instance, the instance will also no longer be retrievable from MobileAdsManager.instance.getManagedInterstitialAdQueue, or MobileAdsManager.instance.getAllManagedInterstitialAdQueues
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showInterstitialAd({double showChance = 1.0}) → void
Shows an interstitial ad, based on the showChance, automatically reloading the queue after the ad is shown, or doing nothing at all if the ad is not shown (due to showChance)
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited