Class POBFullScreenDialog

  • All Implemented Interfaces:
    android.content.DialogInterface , android.view.KeyEvent.Callback , android.view.View.OnCreateContextMenuListener , android.view.Window.Callback

    
    public class POBFullScreenDialog
    extends Dialog
                        

    Custom Dialog class to handler Expand, Two-part Expand, PlayVideo commands

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void dismiss() Method will gets called when the dialog gets dismissed Dialog callback method used to clean up the dialog
      void show(int orientation) To show the dialog with orientation lock if lockOrientation is set to true
      • Methods inherited from class android.app.Dialog

        addContentView, cancel, closeOptionsMenu, create, 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, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
      • Methods inherited from class android.view.Window.Callback

        onPointerCaptureChanged, onProvideKeyboardShortcuts
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • POBFullScreenDialog

        POBFullScreenDialog(Context activityContext, WebView webView, POBFullScreenDialog.OnDialogCloseListener closeListener)
        Constructor to handle Expand Commands
        Parameters:
        activityContext - the instance of activityContext to inflate FullScreenDialog
        webView - instance of WebView which need to be shown inside dialog
        closeListener - close listener to handle close events
    • Method Detail

      • dismiss

         void dismiss()

        Method will gets called when the dialog gets dismissed Dialog callback method used to clean up the dialog

      • show

         void show(int orientation)

        To show the dialog with orientation lock if lockOrientation is set to true

        Parameters:
        orientation - the orientation for the dialog