Freigeben über


UriMatcher Constructors

Definition

Overloads

UriMatcher(Int32)

Creates the root node of the URI tree.

UriMatcher(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

UriMatcher(Int32)

Creates the root node of the URI tree.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public UriMatcher (int code);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Content.UriMatcher : int -> Android.Content.UriMatcher

Parameters

code
Int32

the code to match for the root URI

Attributes

Remarks

Creates the root node of the URI tree.

Java documentation for android.content.UriMatcher.UriMatcher(int).

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

UriMatcher(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected UriMatcher (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.UriMatcher : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.UriMatcher

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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