showRewardedAd static method
Future<String?>
showRewardedAd(
- String adId, {
- Callback? onAdImpression,
- Callback? onAdClicked,
- Callback? onAdRewarded,
- FailureCallback? onAdFailed,
- CloseCallback? onAdClosed,
Implementation
static Future<String?> showRewardedAd(String adId,
{Callback? onAdImpression,
Callback? onAdClicked,
Callback? onAdRewarded,
FailureCallback? onAdFailed,
CloseCallback? onAdClosed}) {
return ShowPlatform.instance.showRewardedAd(adId,
onAdImpression: onAdImpression,
onAdClicked: onAdClicked,
onAdRewarded: onAdRewarded,
onAdClosed: onAdClosed,
onAdFailed: onAdFailed);
}