AdropInterstitialAd

Interstitial ad class responsible for requesting interstitial ads and displaying them to the user.


Constructors

AdropInterstitialAd

AdropInterstitialAd(unitId: string)

Requires Ad unit ID


Properties

isLoaded: boolean

Determine if ad is fully loaded.

unitId: string

Get Ad unit ID of the AdropInterstitialAd.

listener: AdropListener?

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


Methods

load: () -> void

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

show: () -> void

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

destroy: () -> void

Destroy the ad to free resources.

Last updated