AdropRewardedAd

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


Constructors

AdropRewardedAd

AdropRewardedAd({
    required String unitId,
    AdropRewardedListener? listener,
})

requires Ad unit ID


Properties

isLoaded -> bool

Determine if ad is fully loaded.

unitId -> String

Get Ad unit ID of the AdropRewardedAd.

listener -> AdropAdListener?

A listener called when load or show is called in the AdropRewardedAd.


Methods

load() -> Future<void>

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

show() -> Future<void>

Shows an ad from Adrop using the ad unit ID of the AdropRewardedAd. Must be fully loaded before show is called.

dispose() -> Future<void>

Dispose the ad to free resources.

Last updated