TWMInterstitialAd

class TWMInterstitialAd(activity: Activity?, adunitId: String) : TWMAd

TWMInterstitialAd.

The class which is used to load a interstitial ad.

Parameters

activity

The activity that TWMInterstitialAd is running in.

adunitId

The ad unit ID.

Constructors

TWMInterstitialAd
Link copied to clipboard
fun TWMInterstitialAd(activity: Activity?, adunitId: String)
The activity that TWMInterstitialAd is running in.

Types

Companion
Link copied to clipboard
object Companion

Properties

isLoaded
Link copied to clipboard
val isLoaded: Boolean

Functions

destroy
Link copied to clipboard
fun destroy()
Destroy the interstitial ad.
loadAd
Link copied to clipboard
open override fun loadAd(adRequest: TWMAdRequest)
setAdListener
Link copied to clipboard
open override fun setAdListener(adListener: TWMAdViewListener?)
show
Link copied to clipboard
fun show()
Show the interstitial ad.
stopLoading
Link copied to clipboard
open override fun stopLoading()