public interface MediationInterstitialAdAdapter extends MediationAdapter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MediationInterstitialAdAdapter.MediationInterstitialAdListener |
| Modifier and Type | Method and Description |
|---|---|
void |
dismiss()
Will be called on attempt to dismiss the ad.
|
void |
load(MediationAdConfig mediationAdConfig,
MediationInterstitialAdAdapter.MediationInterstitialAdListener listener,
android.content.Context context)
Will be called when mediation choose this adapter for loading mediation.
|
void |
show(android.content.Context context)
Will be called on attempt to show.
|
destroyvoid load(@NonNull
MediationAdConfig mediationAdConfig,
@NonNull
MediationInterstitialAdAdapter.MediationInterstitialAdListener listener,
@NonNull
android.content.Context context)
MediationInterstitialAdAdapter.MediationInterstitialAdListener.onLoad(MediationInterstitialAdAdapter)
in case of failed loading should be called
MediationInterstitialAdAdapter.MediationInterstitialAdListener.onNoAd(String, MediationInterstitialAdAdapter)
with the reason of fail. If no callbacks will be called, adapter will be removed from loading
queue, and next adapter or no ad will be called.mediationAdConfig - contains main configuration for mediationlistener - main mediation listenercontext - app contextMediationAdConfigvoid show(@NonNull
android.content.Context context)
MediationInterstitialAdAdapter.MediationInterstitialAdListener.onDisplay(MediationInterstitialAdAdapter)
should be calledcontext - app contextvoid dismiss()
MediationInterstitialAdAdapter.MediationInterstitialAdListener.onDismiss(MediationInterstitialAdAdapter)
should be called