IntentFilter.AuthorityEntry.Match(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determine whether this AuthorityEntry matches the given data Uri.
[Android.Runtime.Register("match", "(Landroid/net/Uri;)I", "")]
public Android.Content.MatchResults Match (Android.Net.Uri? data);
[<Android.Runtime.Register("match", "(Landroid/net/Uri;)I", "")>]
member this.Match : Android.Net.Uri -> Android.Content.MatchResults
Parameters
- data
- Uri
The Uri to match.
Returns
Returns either IntentFilter#NO_MATCH_DATA
,
IntentFilter#MATCH_CATEGORY_PORT
, or
IntentFilter#MATCH_CATEGORY_HOST
.
- Attributes
Remarks
Determine whether this AuthorityEntry matches the given data Uri. <em>Note that this comparison is case-sensitive, unlike formal RFC host names. You thus should always normalize to lower-case.</em>
Java documentation for android.content.IntentFilter.AuthorityEntry.match(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.