Class InterstitialView

java.lang.Object
BaseAdView
org.prebid.mobile.api.rendering.InterstitialView

public class InterstitialView extends BaseAdView
Internal view for InterstitialAdUnit.
  • Field Details

    • interstitialVideo

      protected InterstitialVideo interstitialVideo
  • Constructor Details

    • InterstitialView

      public InterstitialView(android.content.Context context) throws AdException
      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

      protected void init() throws AdException
      Throws:
      AdException
    • notifyErrorListeners

      protected void notifyErrorListeners(AdException adException)
    • handleBroadcastAction

      protected void handleBroadcastAction(String action)
    • setAdViewManagerValues

      protected void setAdViewManagerValues() throws AdException
      Throws:
      AdException
    • formInterstitialObstructionsArray

      protected InternalFriendlyObstruction[] formInterstitialObstructionsArray()