Interface IRewardedAds
public interface IRewardedAds
Properties
Events
Provides access to events related to rewarded advertisements.
IRewardedAdEvents Events { get; }
Property Value
Methods
IsAdAvailable()
Determines whether a rewarded ad is currently available for display.
bool IsAdAvailable()
Returns
- bool
True if a rewarded ad is available; otherwise, false.
IsHighValueAdAvailable()
Determines whether a high-value rewarded ad is currently available for display.
bool IsHighValueAdAvailable()
Returns
- bool
True if a high-value rewarded ad is available; otherwise, false.
ShowAd(string)
Displays a rewarded ad for the specified placement, if available.
void ShowAd(string placementName)
Parameters
placementNamestringThe placement name associated with the ad to be displayed.