次の方法で共有


AppOpsManager.UnsafeCheckOpRaw(String, Int32, String) Method

Definition

Like #checkOp but returns the <em>raw</em> mode associated with the op.

[Android.Runtime.Register("unsafeCheckOpRaw", "(Ljava/lang/String;ILjava/lang/String;)I", "GetUnsafeCheckOpRaw_Ljava_lang_String_ILjava_lang_String_Handler", ApiSince=29)]
public virtual Android.App.AppOpsManagerMode UnsafeCheckOpRaw (string op, int uid, string packageName);
[<Android.Runtime.Register("unsafeCheckOpRaw", "(Ljava/lang/String;ILjava/lang/String;)I", "GetUnsafeCheckOpRaw_Ljava_lang_String_ILjava_lang_String_Handler", ApiSince=29)>]
abstract member UnsafeCheckOpRaw : string * int * string -> Android.App.AppOpsManagerMode
override this.UnsafeCheckOpRaw : string * int * string -> Android.App.AppOpsManagerMode

Parameters

op
String
uid
Int32
packageName
String

Returns

Attributes

Remarks

Like #checkOp but returns the <em>raw</em> mode associated with the op. Does not throw a security exception, does not translate #MODE_FOREGROUND.

Java documentation for android.app.AppOpsManager.unsafeCheckOpRaw(java.lang.String, int, java.lang.String).

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