public interface MediationRewardedAdAdapter extends MediationAdapter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MediationRewardedAdAdapter.MediationRewardedAdListener |
| Modifier and Type | Method and Description |
|---|---|
void |
dismiss()
Will be called on attempt to dismiss the ad.
|
void |
load(MediationAdConfig mediationAdConfig,
MediationRewardedAdAdapter.MediationRewardedAdListener 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
MediationRewardedAdAdapter.MediationRewardedAdListener listener,
@NonNull
android.content.Context context)
MediationRewardedAdAdapter.MediationRewardedAdListener.onLoad(MediationRewardedAdAdapter)
in case of failed loading should be called
MediationRewardedAdAdapter.MediationRewardedAdListener.onNoAd(String, MediationRewardedAdAdapter)
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)
MediationRewardedAdAdapter.MediationRewardedAdListener.onDisplay(MediationRewardedAdAdapter)
should be calledcontext - app contextvoid dismiss()
MediationRewardedAdAdapter.MediationRewardedAdListener.onDismiss(MediationRewardedAdAdapter)
should be called