AppOpsManager.NoteProxyOpNoThrow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NoteProxyOpNoThrow(String, String) |
This member is deprecated. |
NoteProxyOpNoThrow(String, String, Int32) |
This member is deprecated. |
NoteProxyOpNoThrow(String, String, Int32, String, String) |
Like |
NoteProxyOpNoThrow(String, String)
This member is deprecated.
[Android.Runtime.Register("noteProxyOpNoThrow", "(Ljava/lang/String;Ljava/lang/String;)I", "GetNoteProxyOpNoThrow_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=23)]
public virtual Android.App.AppOpsManagerMode NoteProxyOpNoThrow (string op, string proxiedPackageName);
[<Android.Runtime.Register("noteProxyOpNoThrow", "(Ljava/lang/String;Ljava/lang/String;)I", "GetNoteProxyOpNoThrow_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member NoteProxyOpNoThrow : string * string -> Android.App.AppOpsManagerMode
override this.NoteProxyOpNoThrow : string * string -> Android.App.AppOpsManagerMode
Parameters
- op
- String
- proxiedPackageName
- String
Returns
- Attributes
Remarks
This member is deprecated. Use #noteProxyOpNoThrow(String, String, int, String, String)
instead
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NoteProxyOpNoThrow(String, String, Int32)
This member is deprecated.
[Android.Runtime.Register("noteProxyOpNoThrow", "(Ljava/lang/String;Ljava/lang/String;I)I", "GetNoteProxyOpNoThrow_Ljava_lang_String_Ljava_lang_String_IHandler", ApiSince=29)]
public virtual Android.App.AppOpsManagerMode NoteProxyOpNoThrow (string op, string? proxiedPackageName, int proxiedUid);
[<Android.Runtime.Register("noteProxyOpNoThrow", "(Ljava/lang/String;Ljava/lang/String;I)I", "GetNoteProxyOpNoThrow_Ljava_lang_String_Ljava_lang_String_IHandler", ApiSince=29)>]
abstract member NoteProxyOpNoThrow : string * string * int -> Android.App.AppOpsManagerMode
override this.NoteProxyOpNoThrow : string * string * int -> Android.App.AppOpsManagerMode
Parameters
- op
- String
- proxiedPackageName
- String
- proxiedUid
- Int32
Returns
- Attributes
Remarks
This member is deprecated. Use #noteProxyOpNoThrow(String, String, int, String, String)
instead
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NoteProxyOpNoThrow(String, String, Int32, String, String)
Like #noteProxyOp(String, String, int, String, String)
but instead
of throwing a SecurityException
it returns #MODE_ERRORED
.
[Android.Runtime.Register("noteProxyOpNoThrow", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)I", "GetNoteProxyOpNoThrow_Ljava_lang_String_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler", ApiSince=30)]
public virtual Android.App.AppOpsManagerMode NoteProxyOpNoThrow (string op, string? proxiedPackageName, int proxiedUid, string? proxiedAttributionTag, string? message);
[<Android.Runtime.Register("noteProxyOpNoThrow", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)I", "GetNoteProxyOpNoThrow_Ljava_lang_String_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member NoteProxyOpNoThrow : string * string * int * string * string -> Android.App.AppOpsManagerMode
override this.NoteProxyOpNoThrow : string * string * int * string * string -> Android.App.AppOpsManagerMode
Parameters
- op
- String
- proxiedPackageName
- String
- proxiedUid
- Int32
- proxiedAttributionTag
- String
- message
- String
Returns
- Attributes
Remarks
Like #noteProxyOp(String, String, int, String, String)
but instead of throwing a SecurityException
it returns #MODE_ERRORED
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.