AdropInterstitialAd

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


Public constructors

AdropInterstitialAd(context: Context, unitId: String)

AdropInterstitialAd(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 AdropInterstitialAd.

fun show(activity)

fun show(activity: Activity)

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

Must be fully loaded before show is called.


Public properties

unitId

val unitId: String

Get Ad unit ID of the AdropInterstitialAd.

isLoaded

val isLoaded: Boolean

Determine if ad is fully loaded.

interstitialAdListener

var interstitialAdListener: AdropInterstitialAdListener?

Attach AdropInterstitialAdListener to this property.

Last updated