Class AppOpsManager
public class AppOpsManager : JVMBridgeBase<AppOpsManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
AppOpsManager
- Implements
- Extension Methods
Constructors
AppOpsManager(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AppOpsManager(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
MODE_ALLOWED
public static int MODE_ALLOWED { get; set; }
Property Value
MODE_DEFAULT
public static int MODE_DEFAULT { get; set; }
Property Value
MODE_ERRORED
public static int MODE_ERRORED { get; set; }
Property Value
MODE_FOREGROUND
public static int MODE_FOREGROUND { get; set; }
Property Value
MODE_IGNORED
public static int MODE_IGNORED { get; set; }
Property Value
OPSTR_ADD_VOICEMAIL
public static String OPSTR_ADD_VOICEMAIL { get; set; }
Property Value
OPSTR_ANSWER_PHONE_CALLS
public static String OPSTR_ANSWER_PHONE_CALLS { get; set; }
Property Value
OPSTR_BODY_SENSORS
public static String OPSTR_BODY_SENSORS { get; set; }
Property Value
OPSTR_CALL_PHONE
public static String OPSTR_CALL_PHONE { get; set; }
Property Value
OPSTR_CAMERA
public static String OPSTR_CAMERA { get; set; }
Property Value
OPSTR_COARSE_LOCATION
public static String OPSTR_COARSE_LOCATION { get; set; }
Property Value
OPSTR_FINE_LOCATION
public static String OPSTR_FINE_LOCATION { get; set; }
Property Value
OPSTR_GET_USAGE_STATS
public static String OPSTR_GET_USAGE_STATS { get; set; }
Property Value
OPSTR_MOCK_LOCATION
public static String OPSTR_MOCK_LOCATION { get; set; }
Property Value
OPSTR_MONITOR_HIGH_POWER_LOCATION
public static String OPSTR_MONITOR_HIGH_POWER_LOCATION { get; set; }
Property Value
OPSTR_MONITOR_LOCATION
public static String OPSTR_MONITOR_LOCATION { get; set; }
Property Value
OPSTR_PICTURE_IN_PICTURE
public static String OPSTR_PICTURE_IN_PICTURE { get; set; }
Property Value
OPSTR_PROCESS_OUTGOING_CALLS
public static String OPSTR_PROCESS_OUTGOING_CALLS { get; set; }
Property Value
OPSTR_READ_CALENDAR
public static String OPSTR_READ_CALENDAR { get; set; }
Property Value
OPSTR_READ_CALL_LOG
public static String OPSTR_READ_CALL_LOG { get; set; }
Property Value
OPSTR_READ_CELL_BROADCASTS
public static String OPSTR_READ_CELL_BROADCASTS { get; set; }
Property Value
OPSTR_READ_CONTACTS
public static String OPSTR_READ_CONTACTS { get; set; }
Property Value
OPSTR_READ_EXTERNAL_STORAGE
public static String OPSTR_READ_EXTERNAL_STORAGE { get; set; }
Property Value
OPSTR_READ_PHONE_NUMBERS
public static String OPSTR_READ_PHONE_NUMBERS { get; set; }
Property Value
OPSTR_READ_PHONE_STATE
public static String OPSTR_READ_PHONE_STATE { get; set; }
Property Value
OPSTR_READ_SMS
public static String OPSTR_READ_SMS { get; set; }
Property Value
OPSTR_RECEIVE_MMS
public static String OPSTR_RECEIVE_MMS { get; set; }
Property Value
OPSTR_RECEIVE_SMS
public static String OPSTR_RECEIVE_SMS { get; set; }
Property Value
OPSTR_RECEIVE_WAP_PUSH
public static String OPSTR_RECEIVE_WAP_PUSH { get; set; }
Property Value
OPSTR_RECORD_AUDIO
public static String OPSTR_RECORD_AUDIO { get; set; }
Property Value
OPSTR_SEND_SMS
public static String OPSTR_SEND_SMS { get; set; }
Property Value
OPSTR_SYSTEM_ALERT_WINDOW
public static String OPSTR_SYSTEM_ALERT_WINDOW { get; set; }
Property Value
OPSTR_USE_FINGERPRINT
public static String OPSTR_USE_FINGERPRINT { get; set; }
Property Value
OPSTR_USE_SIP
public static String OPSTR_USE_SIP { get; set; }
Property Value
OPSTR_WRITE_CALENDAR
public static String OPSTR_WRITE_CALENDAR { get; set; }
Property Value
OPSTR_WRITE_CALL_LOG
public static String OPSTR_WRITE_CALL_LOG { get; set; }
Property Value
OPSTR_WRITE_CONTACTS
public static String OPSTR_WRITE_CONTACTS { get; set; }
Property Value
OPSTR_WRITE_EXTERNAL_STORAGE
public static String OPSTR_WRITE_EXTERNAL_STORAGE { get; set; }
Property Value
OPSTR_WRITE_SETTINGS
public static String OPSTR_WRITE_SETTINGS { get; set; }
Property Value
OP_NOTED_CALLBACK_FLAG_IGNORE_ASYNC
public static int OP_NOTED_CALLBACK_FLAG_IGNORE_ASYNC { get; set; }
Property Value
WATCH_FOREGROUND_CHANGES
public static int WATCH_FOREGROUND_CHANGES { get; set; }
Property Value
Methods
CheckOp(String, int, String)
public int CheckOp(String arg0, int arg1, String arg2)
Parameters
Returns
CheckOp(String, int, String, String)
public int CheckOp(String arg0, int arg1, String arg2, String arg3)
Parameters
Returns
CheckOpNoThrow(String, int, String)
public int CheckOpNoThrow(String arg0, int arg1, String arg2)
Parameters
Returns
CheckOpNoThrow(String, int, String, String)
public int CheckOpNoThrow(String arg0, int arg1, String arg2, String arg3)
Parameters
Returns
CheckOpRawNoThrow(String, int, String, String)
public int CheckOpRawNoThrow(String arg0, int arg1, String arg2, String arg3)
Parameters
Returns
CheckPackage(int, String)
[Obsolete("Deprecated in JVM")]
public void CheckPackage(int arg0, String arg1)
Parameters
FinishOp(String, int, String)
[Obsolete("Deprecated in JVM")]
public void FinishOp(String arg0, int arg1, String arg2)
Parameters
FinishOp(String, int, String, String)
public void FinishOp(String arg0, int arg1, String arg2, String arg3)
Parameters
FinishProxyOp(String, int, String, String)
public void FinishProxyOp(String arg0, int arg1, String arg2, String arg3)
Parameters
IsOpActive(String, int, String)
public bool IsOpActive(String arg0, int arg1, String arg2)
Parameters
Returns
NoteOp(String, int, String)
[Obsolete("Deprecated in JVM")]
public int NoteOp(String arg0, int arg1, String arg2)
Parameters
Returns
NoteOp(String, int, String, String, String)
public int NoteOp(String arg0, int arg1, String arg2, String arg3, String arg4)
Parameters
Returns
NoteOpNoThrow(String, int, String)
[Obsolete("Deprecated in JVM")]
public int NoteOpNoThrow(String arg0, int arg1, String arg2)
Parameters
Returns
NoteOpNoThrow(String, int, String, String, String)
public int NoteOpNoThrow(String arg0, int arg1, String arg2, String arg3, String arg4)
Parameters
Returns
NoteProxyOp(String, String)
[Obsolete("Deprecated in JVM")]
public int NoteProxyOp(String arg0, String arg1)
Parameters
Returns
NoteProxyOp(String, String, int, String, String)
public int NoteProxyOp(String arg0, String arg1, int arg2, String arg3, String arg4)
Parameters
Returns
NoteProxyOpNoThrow(String, String)
[Obsolete("Deprecated in JVM")]
public int NoteProxyOpNoThrow(String arg0, String arg1)
Parameters
Returns
NoteProxyOpNoThrow(String, String, int)
[Obsolete("Deprecated in JVM")]
public int NoteProxyOpNoThrow(String arg0, String arg1, int arg2)
Parameters
Returns
NoteProxyOpNoThrow(String, String, int, String, String)
public int NoteProxyOpNoThrow(String arg0, String arg1, int arg2, String arg3, String arg4)
Parameters
Returns
PermissionToOp(String)
public static String PermissionToOp(String arg0)
Parameters
Returns
SetOnOpNotedCallback(Executor, OnOpNotedCallback)
public void SetOnOpNotedCallback(Executor arg0, AppOpsManager.OnOpNotedCallback arg1)
Parameters
SetOnOpNotedCallback(Executor, OnOpNotedCallback, int)
public void SetOnOpNotedCallback(Executor arg0, AppOpsManager.OnOpNotedCallback arg1, int arg2)
Parameters
arg0Executorarg1AppOpsManager.OnOpNotedCallbackarg2int
StartOp(String, int, String)
[Obsolete("Deprecated in JVM")]
public int StartOp(String arg0, int arg1, String arg2)
Parameters
Returns
StartOp(String, int, String, String, String)
public int StartOp(String arg0, int arg1, String arg2, String arg3, String arg4)
Parameters
Returns
StartOpNoThrow(String, int, String)
[Obsolete("Deprecated in JVM")]
public int StartOpNoThrow(String arg0, int arg1, String arg2)
Parameters
Returns
StartOpNoThrow(String, int, String, String, String)
public int StartOpNoThrow(String arg0, int arg1, String arg2, String arg3, String arg4)
Parameters
Returns
StartProxyOp(String, int, String, String, String)
public int StartProxyOp(String arg0, int arg1, String arg2, String arg3, String arg4)
Parameters
Returns
StartProxyOpNoThrow(String, int, String, String, String)
public int StartProxyOpNoThrow(String arg0, int arg1, String arg2, String arg3, String arg4)
Parameters
Returns
StartWatchingActive(String[], Executor, OnOpActiveChangedListener)
public void StartWatchingActive(String[] arg0, Executor arg1, AppOpsManager.OnOpActiveChangedListener arg2)
Parameters
arg0String[]arg1Executorarg2AppOpsManager.OnOpActiveChangedListener
StartWatchingMode(String, String, OnOpChangedListener)
public void StartWatchingMode(String arg0, String arg1, AppOpsManager.OnOpChangedListener arg2)
Parameters
arg0Stringarg1Stringarg2AppOpsManager.OnOpChangedListener
StartWatchingMode(String, String, int, OnOpChangedListener)
public void StartWatchingMode(String arg0, String arg1, int arg2, AppOpsManager.OnOpChangedListener arg3)
Parameters
arg0Stringarg1Stringarg2intarg3AppOpsManager.OnOpChangedListener
StopWatchingActive(OnOpActiveChangedListener)
public void StopWatchingActive(AppOpsManager.OnOpActiveChangedListener arg0)
Parameters
StopWatchingMode(OnOpChangedListener)
public void StopWatchingMode(AppOpsManager.OnOpChangedListener arg0)
Parameters
UnsafeCheckOp(String, int, String)
[Obsolete("Deprecated in JVM")]
public int UnsafeCheckOp(String arg0, int arg1, String arg2)
Parameters
Returns
UnsafeCheckOpNoThrow(String, int, String)
[Obsolete("Deprecated in JVM")]
public int UnsafeCheckOpNoThrow(String arg0, int arg1, String arg2)
Parameters
Returns
UnsafeCheckOpRaw(String, int, String)
[Obsolete("Deprecated in JVM")]
public int UnsafeCheckOpRaw(String arg0, int arg1, String arg2)
Parameters
Returns
UnsafeCheckOpRawNoThrow(String, int, String)
[Obsolete("Deprecated in JVM")]
public int UnsafeCheckOpRawNoThrow(String arg0, int arg1, String arg2)