AdropRewardedAd
Rewarded ad class responsible for requesting rewarded ads and displaying them to the user.
Constructors
AdropRewardedAd
Requires Ad unit ID
Properties
isLoaded: boolean
Determine if ad is fully loaded.
unitId: string
Get Ad unit ID of the AdropRewardedAd.
listener: AdropListener?
A listener called when load or show is called in the AdropRewardedAd.
Methods
load: () -> void
Requests an ad from Adrop using the ad unit ID of the AdropRewardedAd.
show: () -> void
Shows an ad from Adrop using the ad unit ID of the AdropRewardedAd. Must be fully loaded before show is called.
destroy: () -> void
Destroy the ad to free resources.
Last updated