Class AdInterstitialDialog

java.lang.Object
android.app.Dialog
org.prebid.mobile.rendering.interstitial.AdBaseDialog
org.prebid.mobile.rendering.interstitial.AdInterstitialDialog
All Implemented Interfaces:
android.content.DialogInterface, android.view.KeyEvent.Callback, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback

public class AdInterstitialDialog extends AdBaseDialog
  • Nested Class Summary

    Nested classes/interfaces inherited from interface android.content.DialogInterface

    android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
  • Field Summary

    Fields inherited from interface android.content.DialogInterface

    BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdInterstitialDialog(android.content.Context context, WebViewBase webViewBaseLocal, android.widget.FrameLayout adViewContainer, InterstitialManager interstitialManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Is executed when the close button is clicked.
    protected void
     
    void
     
    protected void
    scheduleCloseButtonDisplaying(int closeButtonDelay, boolean autoClose)
     
    protected void
    scheduleRewardListener(int rewardDelay, int afterRewardDelay, boolean autoClose)
     
    protected void
     

    Methods inherited from class android.app.Dialog

    addContentView, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOnBackInvokedDispatcher, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreate, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface android.view.Window.Callback

    onPointerCaptureChanged, onProvideKeyboardShortcuts
  • Constructor Details

    • AdInterstitialDialog

      public AdInterstitialDialog(android.content.Context context, WebViewBase webViewBaseLocal, android.widget.FrameLayout adViewContainer, InterstitialManager interstitialManager)
      Parameters:
      context - activity context.
      webViewBaseLocal - webview with ad.
      adViewContainer - container for ad.
  • Method Details

    • handleCloseClick

      protected void handleCloseClick()
      Description copied from class: AdBaseDialog
      Is executed when the close button is clicked. It is child job to handle the click
      Specified by:
      handleCloseClick in class AdBaseDialog
    • handleDialogShow

      protected void handleDialogShow()
      Specified by:
      handleDialogShow in class AdBaseDialog
    • nullifyDialog

      public void nullifyDialog()
    • setUpCloseButtonTask

      protected void setUpCloseButtonTask()
    • scheduleCloseButtonDisplaying

      protected void scheduleCloseButtonDisplaying(int closeButtonDelay, boolean autoClose)
    • scheduleRewardListener

      protected void scheduleRewardListener(int rewardDelay, int afterRewardDelay, boolean autoClose)