Package org.prebid.mobile.api.rendering
Class InterstitialAdUnit
java.lang.Object
org.prebid.mobile.api.rendering.BaseInterstitialAdUnit
org.prebid.mobile.api.rendering.InterstitialAdUnit
Interstitial ad unit for rendering API.
-
Field Summary
Fields inherited from class org.prebid.mobile.api.rendering.BaseInterstitialAdUnit
config, controllerListener, userHasNotEarnedRewardYet -
Constructor Summary
ConstructorsConstructorDescriptionInterstitialAdUnit(android.content.Context context, String configId) Instantiates an HTML InterstitialAdUnit for the given configurationId.InterstitialAdUnit(android.content.Context context, String configId, InterstitialEventHandler eventHandler) Instantiates an InterstitialAdUnit for HTML GAM prebid integration.InterstitialAdUnit(android.content.Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats) Instantiates an InterstitialAdUnit for the given configurationId and adUnitType.InterstitialAdUnit(android.content.Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats, InterstitialEventHandler eventHandler) Instantiates an InterstitialAdUnit for GAM prebid integration with given adUnitType. -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Cleans up resources when destroyed.voidsetInterstitialAdUnitListener(InterstitialAdUnitListener adUnitEventsListener) voidsetMinSizePercentage(AdSize minSizePercentage) voidsetPluginEventListener(PluginEventListener pluginEventListener) Methods inherited from class org.prebid.mobile.api.rendering.BaseInterstitialAdUnit
changeInterstitialAdUnitState, getBidResponse, getContext, getImpOrtbConfig, getPbAdSlot, init, isBidInvalid, isLoaded, loadAd, loadPrebidAd, notifyUserReward, setCloseButtonArea, setCloseButtonPosition, setImpOrtbConfig, setIsMuted, setIsSoundButtonVisible, setMaxVideoDuration, setPbAdSlot, setSkipButtonArea, setSkipButtonPosition, setSkipDelay, show
-
Constructor Details
-
InterstitialAdUnit
Instantiates an HTML InterstitialAdUnit for the given configurationId. -
InterstitialAdUnit
public InterstitialAdUnit(android.content.Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats) Instantiates an InterstitialAdUnit for the given configurationId and adUnitType. -
InterstitialAdUnit
public InterstitialAdUnit(android.content.Context context, String configId, InterstitialEventHandler eventHandler) Instantiates an InterstitialAdUnit for HTML GAM prebid integration. -
InterstitialAdUnit
public InterstitialAdUnit(android.content.Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats, InterstitialEventHandler eventHandler) Instantiates an InterstitialAdUnit for GAM prebid integration with given adUnitType.
-
-
Method Details
-
setInterstitialAdUnitListener
-
setPluginEventListener
-
setMinSizePercentage
-
destroy
public void destroy()Description copied from class:BaseInterstitialAdUnitCleans up resources when destroyed.- Overrides:
destroyin classBaseInterstitialAdUnit
-