public final class InterstitialAd extends BaseInterstitialAd
| Modifier and Type | Class and Description |
|---|---|
static interface |
InterstitialAd.InterstitialAdListener |
| Modifier and Type | Field and Description |
|---|---|
protected InterstitialAd.InterstitialAdListener |
listener |
adConfig, metricFactory| Constructor and Description |
|---|
InterstitialAd(int slotId,
android.content.Context context)
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Close, destroy the ad and free resources
|
InterstitialAd.InterstitialAdListener |
getListener()
Get events listener of an advertisement
|
void |
setListener(InterstitialAd.InterstitialAdListener listener)
Set events listener of an advertisement
Must be called before
BaseInterstitialAd.load() |
dismiss, getAdSource, getAdSourcePriority, handleSection, isMediationEnabled, isUseExoPlayer, load, loadFromBid, setMediationEnabled, show, show, useExoPlayergetCustomParams, isLoadCalled@Nullable protected InterstitialAd.InterstitialAdListener listener
public InterstitialAd(int slotId,
@NonNull
android.content.Context context)
slotId - your slot idcontext - app context@Nullable public InterstitialAd.InterstitialAdListener getListener()
InterstitialAd.InterstitialAdListenerpublic void setListener(@Nullable
InterstitialAd.InterstitialAdListener listener)
BaseInterstitialAd.load()InterstitialAd.InterstitialAdListenerpublic void destroy()
destroy in class BaseInterstitialAd