다음을 통해 공유


Identity.IdentityEquals(Identity) Method

Definition

Caution

deprecated

Tests for equality between the specified identity and this identity.

[Android.Runtime.Register("identityEquals", "(Ljava/security/Identity;)Z", "GetIdentityEquals_Ljava_security_Identity_Handler")]
[System.Obsolete("deprecated")]
protected virtual bool IdentityEquals (Java.Security.Identity? identity);
[<Android.Runtime.Register("identityEquals", "(Ljava/security/Identity;)Z", "GetIdentityEquals_Ljava_security_Identity_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member IdentityEquals : Java.Security.Identity -> bool
override this.IdentityEquals : Java.Security.Identity -> bool

Parameters

identity
Identity

the identity to test for equality with this identity.

Returns

true if the identities are considered equal, false otherwise.

Attributes

Remarks

Tests for equality between the specified identity and this identity. This method should be overriden by subclasses to test for equality. The default behavior is to return true if the names and public keys are equal.

Java documentation for java.security.Identity.identityEquals(java.security.Identity).

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