CursorWindow Constructors

Definition

Overloads

CursorWindow(Boolean)
Obsolete.

Creates a new empty cursor window.

CursorWindow(String)

Creates a new empty cursor window and gives it a name.

CursorWindow(IntPtr, JniHandleOwnership)

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

CursorWindow(String, Int64)

Creates a new empty cursor window and gives it a name.

CursorWindow(Boolean)

Caution

deprecated

Creates a new empty cursor window.

[Android.Runtime.Register(".ctor", "(Z)V", "")]
[System.Obsolete("deprecated")]
public CursorWindow (bool localWindow);
[<Android.Runtime.Register(".ctor", "(Z)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Database.CursorWindow : bool -> Android.Database.CursorWindow

Parameters

localWindow
Boolean

True if this window will be used in this process only, false if it might be sent to another processes. This argument is ignored.

Attributes

Remarks

Java documentation for android.database.CursorWindow.CursorWindow(boolean).

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

CursorWindow(String)

Creates a new empty cursor window and gives it a name.

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

Parameters

name
String

The name of the cursor window, or null if none.

Attributes

Remarks

Java documentation for android.database.CursorWindow.CursorWindow(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

CursorWindow(IntPtr, JniHandleOwnership)

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

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

Parameters

javaReference
IntPtr

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

CursorWindow(String, Int64)

Creates a new empty cursor window and gives it a name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;J)V", "", ApiSince=28)]
public CursorWindow (string? name, long windowSizeBytes);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;J)V", "", ApiSince=28)>]
new Android.Database.CursorWindow : string * int64 -> Android.Database.CursorWindow

Parameters

name
String

The name of the cursor window, or null if none.

windowSizeBytes
Int64

Size of cursor window in bytes. <p><strong>Note:</strong> Memory is dynamically allocated as data rows are added to the window. Depending on the amount of data stored, the actual amount of memory allocated can be lower than specified size, but cannot exceed it.

Attributes

Remarks

Java documentation for android.database.CursorWindow.CursorWindow(java.lang.String, long).

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