AdropRewardedAd
Rewarded ad class responsible for requesting rewarded ads and displaying them to the user.
Public constructors
AdropRewardedAd(context: Context, unitId: String)
Requires Context and Ad unit ID
Public functions
fun load()
Requests an ad from Adrop using the Ad unit ID of the AdropRewardedAd.
fun show(activity, (type: Int, amount: Int) -> Unit)
Show an ad from Adrop using the Ad unit ID of the AdropRewardedAd.
Must be fully loaded before show is called.
Public properties
unitId
Get Ad unit ID of the AdropRewardedAd.
isLoaded
Determine if ad is fully loaded.
rewardedAdListener
Attach AdropRewardedAdListener to this property.
Last updated