Package org.prebid.mobile.api.mediation
Class MediationRewardedVideoAdUnit
java.lang.Object
org.prebid.mobile.api.mediation.MediationBaseAdUnit
org.prebid.mobile.api.mediation.MediationBaseFullScreenAdUnit
org.prebid.mobile.api.mediation.MediationRewardedVideoAdUnit
Mediation rewarded ad unit for Rendering API with AdMob or AppLovin MAX.
-
Field Summary
Fields inherited from class org.prebid.mobile.api.mediation.MediationBaseAdUnit
adUnitConfig, bidLoader, contextWeakReference, mediationDelegate, onFetchCompleteListener -
Constructor Summary
ConstructorsConstructorDescriptionMediationRewardedVideoAdUnit(android.content.Context context, String configId, PrebidMediationDelegate mediationDelegate) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidfetchDemand(OnFetchCompleteListener listener) Loads ad and applies mediation delegate.protected final voidinitAdConfig(String configId, AdSize adSize) protected final voidonResponseReceived(BidResponse response) Methods inherited from class org.prebid.mobile.api.mediation.MediationBaseFullScreenAdUnit
setCloseButtonArea, setCloseButtonPosition, setIsMuted, setIsSoundButtonVisible, setMaxVideoDuration, setSkipButtonArea, setSkipButtonPosition, setSkipDelayMethods inherited from class org.prebid.mobile.api.mediation.MediationBaseAdUnit
destroy, getImpOrtbConfig, getPbAdSlot, initBidLoader, onErrorReceived, setImpOrtbConfig, setPbAdSlot
-
Constructor Details
-
MediationRewardedVideoAdUnit
public MediationRewardedVideoAdUnit(android.content.Context context, String configId, PrebidMediationDelegate mediationDelegate) Default constructor.
-
-
Method Details
-
fetchDemand
Loads ad and applies mediation delegate.- Overrides:
fetchDemandin classMediationBaseAdUnit- Parameters:
listener- callback when operation is completed (success or fail)
-
initAdConfig
- Specified by:
initAdConfigin classMediationBaseAdUnit
-
onResponseReceived
protected final void onResponseReceived(BidResponse response) - Overrides:
onResponseReceivedin classMediationBaseAdUnit
-