Share via


PermissionCollection.Implies(Permission) Method

Definition

Checks to see if the specified permission is implied by the collection of Permission objects held in this PermissionCollection.

[Android.Runtime.Register("implies", "(Ljava/security/Permission;)Z", "GetImplies_Ljava_security_Permission_Handler")]
public abstract bool Implies (Java.Security.Permission? permission);
[<Android.Runtime.Register("implies", "(Ljava/security/Permission;)Z", "GetImplies_Ljava_security_Permission_Handler")>]
abstract member Implies : Java.Security.Permission -> bool

Parameters

permission
Permission

the Permission object to compare.

Returns

true if "permission" is implied by the permissions in the collection, false if not.

Attributes

Remarks

Checks to see if the specified permission is implied by the collection of Permission objects held in this PermissionCollection.

Java documentation for java.security.PermissionCollection.implies(java.security.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