共用方式為


PolicySpi.EngineImplies(ProtectionDomain, Permission) Method

Definition

Check whether the policy has granted a Permission to a ProtectionDomain.

[Android.Runtime.Register("engineImplies", "(Ljava/security/ProtectionDomain;Ljava/security/Permission;)Z", "GetEngineImplies_Ljava_security_ProtectionDomain_Ljava_security_Permission_Handler")]
protected abstract bool EngineImplies (Java.Security.ProtectionDomain? domain, Java.Security.Permission? permission);
[<Android.Runtime.Register("engineImplies", "(Ljava/security/ProtectionDomain;Ljava/security/Permission;)Z", "GetEngineImplies_Ljava_security_ProtectionDomain_Ljava_security_Permission_Handler")>]
abstract member EngineImplies : Java.Security.ProtectionDomain * Java.Security.Permission -> bool

Parameters

domain
ProtectionDomain

the ProtectionDomain to check.

permission
Permission

check whether this permission is granted to the specified domain.

Returns

boolean true if the permission is granted to the domain.

Attributes

Remarks

Check whether the policy has granted a Permission to a ProtectionDomain.

Java documentation for java.security.PolicySpi.engineImplies(java.security.ProtectionDomain, 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