RewardedPlacement class

Type-safe placement descriptor for Rewarded ads.

Inheritance

Constructors

RewardedPlacement({String? id, required String androidId, required String iosId, AdPriority priority = AdPriority.medium, bool loadOnce = false})
Creates a RewardedPlacement with the specified unit IDs and options.
const

Properties

androidId → String
The AdMob Ad Unit ID for Android.
finalinherited
format → AdFormat
The ad format (interstitial, rewarded, banner, native, app open).
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
The unique placement identifier.
finalinherited
iosId → String
The AdMob Ad Unit ID for iOS.
finalinherited
isSplash → bool
Whether this placement is part of the splash screen loading sequence.
finalinherited
loadOnce → bool
Whether this ad is only loaded once and never replenished post-dismissal.
finalinherited
priority → AdPriority
The initial priority tier for queue dispatching.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getUnitId({required bool isAndroid}) → String
Resolves the unit ID for the target platform.
inherited
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