ApslAdmobBannerAd class
A class that encapsulates the logic for AdMob's Banner Ads.
- Inheritance
-
- Object
- ApslAdBase
- ApslAdmobBannerAd
Constructors
- ApslAdmobBannerAd(String adUnitId, {AdRequest? adRequest, AdSize adSize = AdSize.banner})
- Constructs an instance of ApslAdmobBannerAd.
Properties
- adNetwork → AdNetwork
-
no setteroverride
- adSize → AdSize
-
final
- adUnitId → String
-
finalinherited
- adUnitType → AdUnitType
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAdLoaded → bool
-
no setteroverride
- onAdClicked ↔ ApslAdCallback?
-
getter/setter pairinherited
- onAdDismissed ↔ ApslAdCallback?
-
getter/setter pairinherited
- onAdFailedToLoad ↔ ApslAdCallback?
-
getter/setter pairinherited
- onAdFailedToShow ↔ ApslAdCallback?
-
getter/setter pairinherited
- onAdLoaded ↔ ApslAdCallback?
-
getter/setter pairinherited
- onAdShowed ↔ ApslAdCallback?
-
getter/setter pairinherited
- onBannerAdReadyForSetState ↔ ApslAdCallback?
-
getter/setter pairinherited
- onEarnedReward ↔ ApslAdCallback?
-
getter/setter pairinherited
- onNativeAdReadyForSetState ↔ ApslAdCallback?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Disposes the banner ad to release any resources.
override
-
load(
) → Future< void> -
Loads the banner ad.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → dynamic -
Shows the loaded banner ad if available.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited