Permission.Implies(Permission) 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.
[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 to check against.
Returns
true if the specified permission is implied by this object, false if not.
- Attributes
Remarks
Checks if the specified permission's actions are "implied by" this object's actions. This must be implemented by subclasses of Permission, as they are the only ones that can impose semantics on a Permission object. The implies method is used by the AccessController to determine whether a requested permission is implied by another permission that is known to be valid in the current execution context.
Java reference for java.security.Permission.implies.
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.