public class NoPermissionDialog
extends com.app.security.util.MemoryDialog
implements android.content.DialogInterface.OnKeyListener
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
NoPermissionDialog.OnDialogClick |
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| 构造器和说明 |
|---|
NoPermissionDialog(android.content.Context mContext,
NoPermissionDialog.OnDialogClick mListener,
int color) |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
checkVideoPermission(com.app.live.activity.VideoDataInfo info) |
static NoPermissionDialog |
getInstance(android.content.Context mContext,
NoPermissionDialog.OnDialogClick mListener,
int color) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
boolean |
onKey(android.content.DialogInterface dialog,
int keyCode,
android.view.KeyEvent event) |
void |
setBackgroundColor(int color) |
dismiss, isActivityValid, isBottomEntryDialog, isContextAvailable, realDismiss, realShow, setBottomEntryDialog, setContentView, setContentView, setContentView, setOnDismissListener, showaddContentView, cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, 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, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenupublic NoPermissionDialog(android.content.Context mContext,
NoPermissionDialog.OnDialogClick mListener,
int color)
public static NoPermissionDialog getInstance(android.content.Context mContext, NoPermissionDialog.OnDialogClick mListener, int color)
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate 在类中 android.app.Dialogpublic boolean onKey(android.content.DialogInterface dialog,
int keyCode,
android.view.KeyEvent event)
onKey 在接口中 android.content.DialogInterface.OnKeyListenerpublic void setBackgroundColor(int color)
public static int checkVideoPermission(com.app.live.activity.VideoDataInfo info)