Package org.prebid.mobile.api.rendering
Class InterstitialView
java.lang.Object
BaseAdView
org.prebid.mobile.api.rendering.InterstitialView
public class InterstitialView
extends BaseAdView
Internal view for
InterstitialAdUnit.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()protected InternalFriendlyObstruction[]protected voidhandleBroadcastAction(String action) protected voidinit()voidloadAd(AdUnitConfiguration adUnitConfiguration, BidResponse bidResponse) protected voidnotifyErrorListeners(AdException adException) protected voidonConfigurationChanged(android.content.res.Configuration newConfig) voidonWindowFocusChanged(boolean hasWindowFocus) protected voidvoidsetInterstitialViewListener(InterstitialViewListener listener) voidsetPubBackGroundOpacity(float opacity) voidvoid
-
Field Details
-
interstitialVideo
protected InterstitialVideo interstitialVideo
-
-
Constructor Details
-
InterstitialView
- Throws:
AdException
-
-
Method Details
-
onConfigurationChanged
protected void onConfigurationChanged(android.content.res.Configuration newConfig) -
setPubBackGroundOpacity
public void setPubBackGroundOpacity(float opacity) -
loadAd
public void loadAd(AdUnitConfiguration adUnitConfiguration, BidResponse bidResponse) -
setInterstitialViewListener
public void setInterstitialViewListener(InterstitialViewListener listener) -
onWindowFocusChanged
public void onWindowFocusChanged(boolean hasWindowFocus) -
destroy
public void destroy() -
showAsInterstitialFromRoot
public void showAsInterstitialFromRoot() -
showVideoAsInterstitial
public void showVideoAsInterstitial() -
closeInterstitialVideo
public void closeInterstitialVideo() -
init
- Throws:
AdException
-
notifyErrorListeners
-
handleBroadcastAction
-
setAdViewManagerValues
- Throws:
AdException
-
formInterstitialObstructionsArray
protected InternalFriendlyObstruction[] formInterstitialObstructionsArray()
-