miniapp / com.rakuten.tech.mobile.miniapp.ads / AdMobDisplayer19 / showRewardedAd
showRewardedAd
fun showRewardedAd(adUnitId: String, onClosed: (reward: Reward?) -> Unit, onFailed: (String) -> Unit): Unit
Show the rewarded ad when it is already loaded.
Parameters
onClosed - When the ad is closed, forward the reward earned by the user.
Reward will be null if the user did not earn the reward.