Freigeben über


SecurityManager.CheckPermission Method

Definition

Overloads

CheckPermission(Permission)
CheckPermission(Permission, Object)

CheckPermission(Permission)

[Android.Runtime.Register("checkPermission", "(Ljava/security/Permission;)V", "GetCheckPermission_Ljava_security_Permission_Handler")]
public virtual void CheckPermission (Java.Security.Permission? perm);
[<Android.Runtime.Register("checkPermission", "(Ljava/security/Permission;)V", "GetCheckPermission_Ljava_security_Permission_Handler")>]
abstract member CheckPermission : Java.Security.Permission -> unit
override this.CheckPermission : Java.Security.Permission -> unit

Parameters

perm
Permission
Attributes

Remarks

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

CheckPermission(Permission, Object)

[Android.Runtime.Register("checkPermission", "(Ljava/security/Permission;Ljava/lang/Object;)V", "GetCheckPermission_Ljava_security_Permission_Ljava_lang_Object_Handler")]
public virtual void CheckPermission (Java.Security.Permission? perm, Java.Lang.Object? context);
[<Android.Runtime.Register("checkPermission", "(Ljava/security/Permission;Ljava/lang/Object;)V", "GetCheckPermission_Ljava_security_Permission_Ljava_lang_Object_Handler")>]
abstract member CheckPermission : Java.Security.Permission * Java.Lang.Object -> unit
override this.CheckPermission : Java.Security.Permission * Java.Lang.Object -> unit

Parameters

perm
Permission
context
Object
Attributes

Remarks

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