InterstitialAdPlatformInterface class

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

destroyInterstitialAd(int id) → Future<bool?>
Removes the Ad.
loadInterstitialAd(int id, {String placementId = "YOUR_PLACEMENT_ID", required dynamic listener(InterstitialAdPlatformInterfaceResult, dynamic)}) → Future<bool?>
Loads an Interstitial Ad in background. Replace the default placementId with the one which you obtain by signing-up for Facebook Audience Network.
showInterstitialAd(int id, {int? delay = 0}) → Future<bool?>
Shows an Interstitial Ad after it has been loaded. (This needs to be called only after calling loadInterstitialAd function). delay is in milliseconds.