Package org.prebid.mobile.api.rendering
Class InterstitialAdUnit
-
- All Implemented Interfaces:
public class InterstitialAdUnit extends BaseInterstitialAdUnit
Interstitial ad unit for rendering API.
-
-
Field Summary
Fields Modifier and Type Field Description public BidResponsebidResponse
-
Constructor Summary
Constructors Constructor Description InterstitialAdUnit(Context context, String configId)Instantiates an HTML InterstitialAdUnit for the given configurationId. InterstitialAdUnit(Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats)Instantiates an InterstitialAdUnit for the given configurationId and adUnitType. InterstitialAdUnit(Context context, String configId, InterstitialEventHandler eventHandler)Instantiates an InterstitialAdUnit for HTML GAM prebid integration. InterstitialAdUnit(Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats, InterstitialEventHandler eventHandler)Instantiates an InterstitialAdUnit for GAM prebid integration with given adUnitType.
-
Method Summary
Modifier and Type Method Description voidsetInterstitialAdUnitListener(InterstitialAdUnitListener adUnitEventsListener)voidsetPluginEventListener(PluginEventListener pluginEventListener)voidsetMinSizePercentage(AdSize minSizePercentage)voiddestroy()Cleans up resources when destroyed. -
Methods inherited from class org.prebid.mobile.api.rendering.BaseInterstitialAdUnit
getBidResponse, getGlobalOrtbConfig, getImpOrtbConfig, getPbAdSlot, isLoaded, loadAd, setCloseButtonArea, setCloseButtonPosition, setGlobalOrtbConfig, setImpOrtbConfig, setIsMuted, setIsSoundButtonVisible, setMaxVideoDuration, setPbAdSlot, setSkipButtonArea, setSkipButtonPosition, setSkipDelay, show -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
InterstitialAdUnit
InterstitialAdUnit(Context context, String configId)
Instantiates an HTML InterstitialAdUnit for the given configurationId.
-
InterstitialAdUnit
InterstitialAdUnit(Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats)
Instantiates an InterstitialAdUnit for the given configurationId and adUnitType.
-
InterstitialAdUnit
InterstitialAdUnit(Context context, String configId, InterstitialEventHandler eventHandler)
Instantiates an InterstitialAdUnit for HTML GAM prebid integration.
-
InterstitialAdUnit
InterstitialAdUnit(Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats, InterstitialEventHandler eventHandler)
Instantiates an InterstitialAdUnit for GAM prebid integration with given adUnitType.
-
-
Method Detail
-
setInterstitialAdUnitListener
void setInterstitialAdUnitListener(InterstitialAdUnitListener adUnitEventsListener)
-
setPluginEventListener
void setPluginEventListener(PluginEventListener pluginEventListener)
-
setMinSizePercentage
void setMinSizePercentage(AdSize minSizePercentage)
-
destroy
void destroy()
Cleans up resources when destroyed.
-
-
-
-