Package org.prebid.mobile.api.rendering
Class RewardedAdUnit
java.lang.Object
org.prebid.mobile.api.rendering.BaseInterstitialAdUnit
org.prebid.mobile.api.rendering.RewardedAdUnit
-
Field Summary
Fields inherited from class org.prebid.mobile.api.rendering.BaseInterstitialAdUnit
adUnitConfig -
Constructor Summary
ConstructorsConstructorDescriptionRewardedAdUnit(android.content.Context context, String configId) RewardedAdUnit(android.content.Context context, String configId, RewardedEventHandler eventHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Cleans up resources when destroyed.voidloadAd()Executes ad loading if no request is running.voidsetRewardedAdUnitListener(RewardedAdUnitListener rewardedAdUnitListener) Methods inherited from class org.prebid.mobile.api.rendering.BaseInterstitialAdUnit
addContent, addContextData, addContextKeyword, addContextKeywords, addExtData, addExtKeyword, addExtKeywords, addUserData, changeInterstitialAdUnitState, clearContextData, clearContextKeywords, clearExtData, clearExtKeywords, clearUserData, getAppContent, getBidResponse, getContext, getContextDataDictionary, getContextKeywordsSet, getExtDataDictionary, getExtKeywordsSet, getOrtbConfig, getPbAdSlot, getUserData, init, isBidInvalid, isLoaded, loadPrebidAd, removeContextData, removeContextKeyword, removeExtData, removeExtKeyword, setAppContent, setCloseButtonArea, setCloseButtonPosition, setIsMuted, setIsSoundButtonVisible, setMaxVideoDuration, setOrtbConfig, setPbAdSlot, setSkipButtonArea, setSkipButtonPosition, setSkipDelay, show, updateContextData, updateExtData
-
Constructor Details
-
RewardedAdUnit
public RewardedAdUnit(android.content.Context context, String configId, RewardedEventHandler eventHandler) -
RewardedAdUnit
-
-
Method Details
-
loadAd
public void loadAd()Description copied from class:BaseInterstitialAdUnitExecutes ad loading if no request is running.- Overrides:
loadAdin classBaseInterstitialAdUnit
-
destroy
public void destroy()Description copied from class:BaseInterstitialAdUnitCleans up resources when destroyed.- Overrides:
destroyin classBaseInterstitialAdUnit
-
setRewardedAdUnitListener
-
getUserReward
-