IAclEntry.CheckPermission(IPermission) Method

Definition

Checks if the specified permission is part of the permission set in this entry.

[Android.Runtime.Register("checkPermission", "(Ljava/security/acl/Permission;)Z", "GetCheckPermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool CheckPermission (Java.Security.Acl.IPermission? permission);
[<Android.Runtime.Register("checkPermission", "(Ljava/security/acl/Permission;)Z", "GetCheckPermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CheckPermission : Java.Security.Acl.IPermission -> bool

Parameters

permission
IPermission

the permission to be checked for.

Returns

true if the permission is part of the permission set in this entry, false otherwise.

Attributes

Remarks

Checks if the specified permission is part of the permission set in this entry.

Java documentation for java.security.acl.AclEntry.checkPermission(java.security.acl.Permission).

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