RewardVideoAd class
An Ad where a user has the option of interacting with in exchange for in-app rewards.
Because the video assets are so large, it's a good idea to start loading an ad well in advance of when it's likely to be needed.
- Inheritance
-
- Object
- Ad
- AdWithoutView
- RewardVideoAd
Properties
-
fullScreenContentCallback
↔ FullScreenContentCallback<
RewardVideoAd> ? -
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
- isRewardPlus → bool?
-
Accepting the advertisement of Reward plus
final
- mBridgeIds ↔ MBridgeIds?
-
getter/setter pairinherited
- placementId → String
-
finalinherited
- rewardedAdLoadCallback → RewardedAdLoadCallback
-
Callbacks for events that occur when attempting to load an ad.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unitId → String
-
finalinherited
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
-
onPause(
) → Future< void> -
inherited
-
onResume(
) → Future< void> -
inherited
-
show(
) → Future< void> - Display 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 placementId, required String unitId, required RewardedAdLoadCallback rewardedAdLoadCallback, bool? isRewardPlus}) → Future< void> -
Loads a RewardVideoAd using an
AdRequest
.