AppOpenAd class
A full-screen app open ad for the Google Mobile Ads Plugin.
- Inheritance
-
- Object
- Ad
- AdWithoutView
- AppOpenAd
Properties
- adLoadCallback → AppOpenAdLoadCallback
-
Listener for ad load events.
final
- adManagerAdRequest → AdManagerAdRequest?
-
The AdManagerAdRequest used to load the ad.
final
- adUnitId → String
-
Identifies the source of Ads for your application.
finalinherited
-
fullScreenContentCallback
↔ FullScreenContentCallback<
AppOpenAd> ? -
Callbacks to be invoked when ads show and dismiss full screen content.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPaidEvent ↔ OnPaidEventCallback?
-
Callback to be invoked when an ad is estimated to have earned money.
Available for allowlisted accounts only.
getter/setter pairinherited
- request → AdRequest?
-
The AdRequest used to load the ad.
final
- responseInfo ↔ ResponseInfo?
-
Contains information about the loaded request.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
Frees the plugin resources associated with this ad.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setImmersiveMode(
bool immersiveModeEnabled) → Future< void> -
Sets whether this ad will be displayed in immersive mode (Android only).
inherited
-
show(
) → Future< void> - Displays this on top of the application.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
load(
{required String adUnitId, required AdRequest request, required AppOpenAdLoadCallback adLoadCallback}) → Future< void> - Loads a AppOpenAd using an AdRequest.
-
loadWithAdManagerAdRequest(
{required String adUnitId, required AdManagerAdRequest adManagerAdRequest, required AppOpenAdLoadCallback adLoadCallback}) → Future< void> -
Loads an AppOpenAd using an
AdManagerRequest
.