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 TypeMethodDescriptionvoid
void
destroy()
protected InternalFriendlyObstruction[]
protected void
handleBroadcastAction
(String action) protected void
init()
void
loadAd
(AdUnitConfiguration adUnitConfiguration, BidResponse bidResponse) protected void
notifyErrorListeners
(AdException adException) protected void
onConfigurationChanged
(android.content.res.Configuration newConfig) void
onWindowFocusChanged
(boolean hasWindowFocus) protected void
void
setInterstitialViewListener
(InterstitialViewListener listener) void
setPubBackGroundOpacity
(float opacity) void
void
-
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()
-