Android.App.AppOpsManager: Method Members

The methods of Android.App.AppOpsManager are listed below. For a list of all members, see the AppOpsManager Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

CheckOp(string, int, string) : AppOpsManagerMode
Do a quick check for whether an application might be able to perform an operation.
CheckOpNoThrow(string, int, string) : AppOpsManagerMode
Like AppOpsManager.CheckOp(string, System.Int32, System.Int32) but instead of throwing a Java.Lang.SecurityException it returns AppOpsManager.ModeErrored.
CheckPackage(int, string)
Do a quick check to validate if a package name belongs to a UID.
FinishOp(string, int, string)
Report that an application is no longer performing an operation that had previously been started with AppOpsManager.StartOp(string, System.Int32, System.Int32).
NoteOp(string, int, string) : AppOpsManagerMode
Make note of an application performing an operation.
NoteOpNoThrow(string, int, string) : AppOpsManagerMode
Like AppOpsManager.NoteOp(string, System.Int32, System.Int32) but instead of throwing a Java.Lang.SecurityException it returns AppOpsManager.ModeErrored.
StartOp(string, int, string) : AppOpsManagerMode
Report that an application has started executing a long-running operation.
StartOpNoThrow(string, int, string) : AppOpsManagerMode
Like AppOpsManager.StartOp(string, System.Int32, System.Int32) but instead of throwing a Java.Lang.SecurityException it returns AppOpsManager.ModeErrored.
StartWatchingMode(string, string, AppOpsManager.IOnOpChangedListener)
Monitor for changes to the operating mode for the given op in the given app package.
StopWatchingMode(AppOpsManager.IOnOpChangedListener)
Stop monitoring that was previously started with AppOpsManager.StartWatchingMode(string, System.String, System.String).