Package com.pubmatic.sdk.webrendering.ui
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePOBFullScreenDialog.OnDialogCloseListenerInterface close listener
-
Field Summary
Fields Modifier and Type Field Description public final static intBUTTON1public final static intBUTTON2public final static intBUTTON3public final static intBUTTON_NEGATIVEpublic final static intBUTTON_NEUTRALpublic final static intBUTTON_POSITIVE
-
Constructor Summary
Constructors Constructor Description POBFullScreenDialog(Context activityContext, WebView webView, POBFullScreenDialog.OnDialogCloseListener closeListener)Constructor to handle Expand Commands
-
Method Summary
Modifier and Type Method Description voiddismiss()Method will gets called when the dialog gets dismissed Dialog callback method used to clean up the dialog voidshow(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 FullScreenDialogwebView- instance of WebView which need to be shown inside dialogcloseListener- 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
-
-
-
-