MobileAd class

Implementers

Constructors

MobileAd({@required String adPlatform, @required String adUnitId, MobileAdTargetingInfo targetingInfo, MobileAdListener listener})

Properties

adPlatform String
final
adUnitId String
final
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
listener MobileAdListener
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetingInfo MobileAdTargetingInfo
read-only

Methods

dispose() Future<bool>
Free the plugin resources associated with this ad. [...]
isLoaded() Future<bool>
load() Future<bool>
Start loading this ad.
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. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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