Udostępnij za pośrednictwem


Policy.GetPermissions Method

Definition

Overloads

GetPermissions(CodeSource)
GetPermissions(ProtectionDomain)

GetPermissions(CodeSource)

[Android.Runtime.Register("getPermissions", "(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;", "GetGetPermissions_Ljava_security_CodeSource_Handler")]
public virtual Java.Security.PermissionCollection? GetPermissions (Java.Security.CodeSource? codesource);
[<Android.Runtime.Register("getPermissions", "(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;", "GetGetPermissions_Ljava_security_CodeSource_Handler")>]
abstract member GetPermissions : Java.Security.CodeSource -> Java.Security.PermissionCollection
override this.GetPermissions : Java.Security.CodeSource -> Java.Security.PermissionCollection

Parameters

codesource
CodeSource

Returns

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

GetPermissions(ProtectionDomain)

[Android.Runtime.Register("getPermissions", "(Ljava/security/ProtectionDomain;)Ljava/security/PermissionCollection;", "GetGetPermissions_Ljava_security_ProtectionDomain_Handler")]
public virtual Java.Security.PermissionCollection? GetPermissions (Java.Security.ProtectionDomain? domain);
[<Android.Runtime.Register("getPermissions", "(Ljava/security/ProtectionDomain;)Ljava/security/PermissionCollection;", "GetGetPermissions_Ljava_security_ProtectionDomain_Handler")>]
abstract member GetPermissions : Java.Security.ProtectionDomain -> Java.Security.PermissionCollection
override this.GetPermissions : Java.Security.ProtectionDomain -> Java.Security.PermissionCollection

Parameters

Returns

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