InterstitialAd class
Represents an interstitial ad.
Constructors
- InterstitialAd({required XandrController controller, String? placementID, String? inventoryCode, CustomKeywords? customKeywords})
- Represents an interstitial ad.
Properties
- customKeywords → CustomKeywords?
-
The custom keywords for the ad interstitial.
final
- hasBeenShown → bool
-
Returns a boolean value indicating whether the interstitial ad has
been shown.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inventoryCode → String?
-
The inventory code for the ad interstitial.
final
- placementID → String?
-
The ID of the placement for the interstitial ad.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadAd(
) → Future< bool> - Loads the ad asynchronously.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
{Duration? autoDismissDelay}) → Future< bool> - Shows the interstitial ad.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited