Språk

UnresolvedPermission.Equals(Object) Method

Definition

Checks two UnresolvedPermission objects for equality.

[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")]
public override bool Equals(Java.Lang.Object? obj);
[<Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")>]
override this.Equals : Java.Lang.Object -> bool

Parameters

obj
Object

the object we are testing for equality with this object.

Returns

true if obj is an UnresolvedPermission, and has the same type (class) name, permission name, actions, and certificates as this object.

Attributes

Remarks

Checks two UnresolvedPermission objects for equality. Checks that obj is an UnresolvedPermission, and has the same type (class) name, permission name, actions, and certificates as this object. To determine certificate equality, this method only compares actual signer certificates. Supporting certificate chains are not taken into consideration by this method.

Java reference for java.security.UnresolvedPermission.equals.

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