FacebookInterstitialAd class
Constructors
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(
) → Future< bool?> - Removes the Ad.
-
loadInterstitialAd(
{String placementId = "YOUR_PLACEMENT_ID", dynamic listener(InterstitialAdResult, 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? 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.