FastAdmobRewardedAdService class

Controller for a Rewarded ad.

Constructors

FastAdmobRewardedAdService.new(FastAdInfo? adInfo, {String? userCountry})
factory

Properties

adInfo FastAdInfo?
Information about the ad.
final
hashCode int
The hash code for this object.
no setterinherited
isAdAvailable bool
Whether an ad is available to be shown.
no setter
rewardedAdUnitId String?
The ad unit ID for the rewarded ad.
no setter
rewardedAdUnitIds List<String>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userCountry String?
The user's country.
final

Methods

addListener(AdEventListener listener) → void
dispose() → void
handleAdClicked(String requestId, RewardedAd ad) → void
handleAdDismissed(String requestId, RewardedAd ad) → void
handleAdFailedToLoad(String requestId, LoadAdError error) → void
handleAdFailedToShow(String requestId, RewardedAd ad, AdError error) → void
handleAdImpression(String requestId, RewardedAd ad) → void
handleAdLoaded(String requestId, RewardedAd ad) → void
handleAdShowed(String requestId, RewardedAd ad) → void
handleUserEarnedReward(String requestId, AdWithoutView ad, RewardItem reward) → void
loadAd({List<String>? adUnitIds, String? adUnitId, String? country}) Future<String?>
Loads a RewardedAd.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(AdEventListener listener) → void
showAdIfAvailable(String requestId) → void
Shows the rewarded ad if it is available.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

uuid → const Uuid