Share via


MatrixCursor Constructors

Definition

Overloads

MatrixCursor(String[])

Constructs a new cursor.

MatrixCursor(IntPtr, JniHandleOwnership)

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

MatrixCursor(String[], Int32)

Constructs a new cursor with the given initial capacity.

MatrixCursor(String[])

Constructs a new cursor.

[Android.Runtime.Register(".ctor", "([Ljava/lang/String;)V", "")]
public MatrixCursor (string[]? columnNames);
[<Android.Runtime.Register(".ctor", "([Ljava/lang/String;)V", "")>]
new Android.Database.MatrixCursor : string[] -> Android.Database.MatrixCursor

Parameters

columnNames
String[]

names of the columns, the ordering of which determines column ordering elsewhere in this cursor

Attributes

Remarks

Constructs a new cursor.

Java documentation for android.database.MatrixCursor.MatrixCursor(java.lang.String[]).

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

MatrixCursor(IntPtr, JniHandleOwnership)

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

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

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

MatrixCursor(String[], Int32)

Constructs a new cursor with the given initial capacity.

[Android.Runtime.Register(".ctor", "([Ljava/lang/String;I)V", "")]
public MatrixCursor (string[]? columnNames, int initialCapacity);
[<Android.Runtime.Register(".ctor", "([Ljava/lang/String;I)V", "")>]
new Android.Database.MatrixCursor : string[] * int -> Android.Database.MatrixCursor

Parameters

columnNames
String[]

names of the columns, the ordering of which determines column ordering elsewhere in this cursor

initialCapacity
Int32

in rows

Attributes

Remarks

Constructs a new cursor with the given initial capacity.

Java documentation for android.database.MatrixCursor.MatrixCursor(java.lang.String[], 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