AdropRewardedAd

Rewarded ad class responsible for requesting rewarded ads and displaying them to the user.


Public constructors

AdropRewardedAd(context: Context, unitId: String)

AdropRewardedAd(context: Context, unitId: String)

Requires Context and Ad unit ID


Public functions

fun load()

fun load()

Requests an ad from Adrop using the Ad unit ID of the AdropRewardedAd.

fun show()

fun show()

Show an ad from Adrop using the Ad unit ID of the AdropRewardedAd.

Must be fully loaded before show is called.


Public properties

unitId

val unitId: String

Get Ad unit ID of the AdropRewardedAd.

isLoaded

val isLoaded: Boolean

Determine if ad is fully loaded.

rewardedAdListener

var rewardedAdListener: AdropRewardedAdListener?

Attach AdropRewardedAdListener to this property.

Last updated