Intent.FilterEquals(Intent) Method

Definition

Determine if two intents are the same for the purposes of intent resolution (filtering).

[Android.Runtime.Register("filterEquals", "(Landroid/content/Intent;)Z", "GetFilterEquals_Landroid_content_Intent_Handler")]
public virtual bool FilterEquals (Android.Content.Intent? other);
[<Android.Runtime.Register("filterEquals", "(Landroid/content/Intent;)Z", "GetFilterEquals_Landroid_content_Intent_Handler")>]
abstract member FilterEquals : Android.Content.Intent -> bool
override this.FilterEquals : Android.Content.Intent -> bool

Parameters

other
Intent

The other Intent to compare against.

Returns

Returns true if action, data, type, class, and categories are the same.

Attributes

Remarks

Determine if two intents are the same for the purposes of intent resolution (filtering). That is, if their action, data, type, identity, class, and categories are the same. This does <em>not</em> compare any extra data included in the intents. Note that technically when actually matching against an IntentFilter the identifier is ignored, while here it is directly compared for equality like the other fields.

Java documentation for android.content.Intent.filterEquals(android.content.Intent).

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