UriRelativeFilter.MatchData(Uri) Method

Definition

Match this URI filter against an Intent's data.

[Android.Runtime.Register("matchData", "(Landroid/net/Uri;)Z", "", ApiSince=35)]
public bool MatchData (Android.Net.Uri data);
[<Android.Runtime.Register("matchData", "(Landroid/net/Uri;)Z", "", ApiSince=35)>]
member this.MatchData : Android.Net.Uri -> bool

Parameters

data
Uri

The full data string to match against, as supplied in Intent.data.

Returns

true if there is a match.

Attributes

Remarks

Match this URI filter against an Intent's data. QUERY filters can match against any key value pair in the query string. PATH and FRAGMENT filters must match the entire string.

Java documentation for android.content.UriRelativeFilter.matchData(android.net.Uri).

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