MobileAd class

Implementers

Constructors

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

Properties

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

Methods

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

Operators

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