UriMatcher.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.
Try to match against the path in a url.
[Android.Runtime.Register("match", "(Landroid/net/Uri;)I", "GetMatch_Landroid_net_Uri_Handler")]
public virtual int Match (Android.Net.Uri? uri);
[<Android.Runtime.Register("match", "(Landroid/net/Uri;)I", "GetMatch_Landroid_net_Uri_Handler")>]
abstract member Match : Android.Net.Uri -> int
override this.Match : Android.Net.Uri -> int
Parameters
- uri
- Uri
The url whose path we will match against.
Returns
The code for the matched node (added using addURI), or -1 if there is no matched node.
- Attributes
Remarks
Try to match against the path in a url.
Java documentation for android.content.UriMatcher.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.