BannerAd class

A banner ad for the QpcAdmobPlugin.

Inheritance

Constructors

BannerAd({@required String adPlatform, @required String adUnitId, @required AdSize size, MobileAdTargetingInfo targetingInfo, MobileAdListener listener})
Create a BannerAd. [...]

Properties

size AdSize
final
adPlatform String
final, inherited
adUnitId String
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
An internal id that identifies this mobile ad to the native AdMob plugin. [...]
read-only, inherited
listener MobileAdListener
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetingInfo MobileAdTargetingInfo
read-only, inherited

Methods

load() Future<bool>
Start loading this ad.
override
dispose() Future<bool>
Free the plugin resources associated with this ad. [...]
inherited
isLoaded() Future<bool>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
show({double anchorOffset: 0.0, double horizontalCenterOffset: 0.0, AnchorType anchorType: AnchorType.bottom}) Future<bool>
Show this ad. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited