Table of Contents

Class CursorUtil.EmptyCursor

Namespace
IO.Scanbot.Sdk.Util
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/util/CursorUtil$EmptyCursor", DoNotGenerateAcw = true)]
public sealed class CursorUtil.EmptyCursor : Object, ICursor, ICloseable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
CursorUtil.EmptyCursor
Implements
Inherited Members

Constructors

EmptyCursor()

[Register(".ctor", "()V", "")]
public EmptyCursor()

Properties

A

[Register("a")]
public static CursorUtil.EmptyCursor A { get; }

Property Value

CursorUtil.EmptyCursor

ColumnCount

Return total number of columns

public int ColumnCount { get; }

Property Value

int

To be added.

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.

Count

Returns the numbers of rows in the cursor.

public int Count { get; }

Property Value

int

To be added.

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.

Extras

Returns a bundle of extra values.

public Bundle Extras { get; set; }

Property Value

Bundle

To be added.

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.

IsAfterLast

Returns whether the cursor is pointing to the position after the last row.

public bool IsAfterLast { get; }

Property Value

bool

To be added.

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.

IsBeforeFirst

Returns whether the cursor is pointing to the position before the first row.

public bool IsBeforeFirst { get; }

Property Value

bool

To be added.

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.

IsClosed

return true if the cursor is closed

public bool IsClosed { get; }

Property Value

bool

To be added.

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.

IsFirst

Returns whether the cursor is pointing to the first row.

public bool IsFirst { get; }

Property Value

bool

To be added.

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.

IsLast

Returns whether the cursor is pointing to the last row.

public bool IsLast { get; }

Property Value

bool

To be added.

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.

NotificationUri

Return the URI at which notifications of changes in this Cursor's data will be delivered, as previously set by SetNotificationUri(ContentResolver, Uri).

public Uri NotificationUri { get; }

Property Value

Uri

To be added.

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.

Position

Returns the current position of the cursor in the row set.

public int Position { get; }

Property Value

int

To be added.

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.

WantsAllOnMoveCalls

onMove() will only be called across processes if this method returns true.

public bool WantsAllOnMoveCalls { get; }

Property Value

bool

To be added.

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.

Methods

Close()

Closes the Cursor, releasing all of its resources and making it completely invalid.

[Register("close", "()V", "")]
public void Close()

Remarks

Java documentation for

android.database.Cursor.close()
.

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.

CopyStringToBuffer(int, CharArrayBuffer)

Retrieves the requested column text and stores it in the buffer provided.

[Register("copyStringToBuffer", "(ILandroid/database/CharArrayBuffer;)V", "")]
public void CopyStringToBuffer(int i, CharArrayBuffer charArrayBuffer)

Parameters

i int
charArrayBuffer CharArrayBuffer

Remarks

Java documentation for

android.database.Cursor.copyStringToBuffer(int, android.database.CharArrayBuffer)
.

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.

Deactivate()

Deactivates the Cursor, making all calls on it fail until #requery is called.

[Register("deactivate", "()V", "")]
public void Deactivate()

Remarks

Java documentation for

android.database.Cursor.deactivate()
.

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.

GetBlob(int)

Returns the value of the requested column as a byte array.

[Register("getBlob", "(I)[B", "")]
public byte[] GetBlob(int i)

Parameters

i int

Returns

byte[]

the value of that column as a byte array.

Remarks

Java documentation for

android.database.Cursor.getBlob(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.

GetColumnIndex(string)

Returns the zero-based index for the given column name, or -1 if the column doesn't exist.

[Register("getColumnIndex", "(Ljava/lang/String;)I", "")]
public int GetColumnIndex(string s)

Parameters

s string

Returns

int

the zero-based column index for the given column name, or -1 if the column name does not exist.

Remarks

Java documentation for

android.database.Cursor.getColumnIndex(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.

GetColumnIndexOrThrow(string)

Returns the zero-based index for the given column name, or throws IllegalArgumentException if the column doesn't exist.

[Register("getColumnIndexOrThrow", "(Ljava/lang/String;)I", "")]
public int GetColumnIndexOrThrow(string s)

Parameters

s string

Returns

int

the zero-based column index for the given column name

Remarks

Java documentation for

android.database.Cursor.getColumnIndexOrThrow(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.

Exceptions

IllegalArgumentException

if the column does not exist

GetColumnName(int)

Returns the column name at the given zero-based column index.

[Register("getColumnName", "(I)Ljava/lang/String;", "")]
public string GetColumnName(int i)

Parameters

i int

Returns

string

the column name for the given column index.

Remarks

Java documentation for

android.database.Cursor.getColumnName(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.

GetColumnNames()

Returns a string array holding the names of all of the columns in the result set in the order in which they were listed in the result.

[Register("getColumnNames", "()[Ljava/lang/String;", "")]
public string[] GetColumnNames()

Returns

string[]

the names of the columns returned in this query.

Remarks

Java documentation for

android.database.Cursor.getColumnNames()
.

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.

GetDouble(int)

Returns the value of the requested column as a double.

[Register("getDouble", "(I)D", "")]
public double GetDouble(int i)

Parameters

i int

Returns

double

the value of that column as a double.

Remarks

Java documentation for

android.database.Cursor.getDouble(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.

GetFloat(int)

Returns the value of the requested column as a float.

[Register("getFloat", "(I)F", "")]
public float GetFloat(int i)

Parameters

i int

Returns

float

the value of that column as a float.

Remarks

Java documentation for

android.database.Cursor.getFloat(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.

GetInt(int)

Returns the value of the requested column as an int.

[Register("getInt", "(I)I", "")]
public int GetInt(int i)

Parameters

i int

Returns

int

the value of that column as an int.

Remarks

Java documentation for

android.database.Cursor.getInt(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.

GetLong(int)

Returns the value of the requested column as a long.

[Register("getLong", "(I)J", "")]
public long GetLong(int i)

Parameters

i int

Returns

long

the value of that column as a long.

Remarks

Java documentation for

android.database.Cursor.getLong(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.

GetShort(int)

Returns the value of the requested column as a short.

[Register("getShort", "(I)S", "")]
public short GetShort(int i)

Parameters

i int

Returns

short

the value of that column as a short.

Remarks

Java documentation for

android.database.Cursor.getShort(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.

GetString(int)

Returns the value of the requested column as a String.

[Register("getString", "(I)Ljava/lang/String;", "")]
public string GetString(int i)

Parameters

i int

Returns

string

the value of that column as a String.

Remarks

Java documentation for

android.database.Cursor.getString(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.

GetType(int)

Returns data type of the given column's value.

[Register("getType", "(I)I", "")]
public FieldType GetType(int i)

Parameters

i int

Returns

FieldType

column value type

Remarks

Java documentation for

android.database.Cursor.getType(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.

IsNull(int)

Returns true if the value in the indicated column is null.

[Register("isNull", "(I)Z", "")]
public bool IsNull(int i)

Parameters

i int

Returns

bool

whether the column value is null.

Remarks

Java documentation for

android.database.Cursor.isNull(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.

Move(int)

Move the cursor by a relative amount, forward or backward, from the current position.

[Register("move", "(I)Z", "")]
public bool Move(int i)

Parameters

i int

Returns

bool

whether the requested move fully succeeded.

Remarks

Java documentation for

android.database.Cursor.move(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.

MoveToFirst()

Move the cursor to the first row.

[Register("moveToFirst", "()Z", "")]
public bool MoveToFirst()

Returns

bool

whether the move succeeded.

Remarks

Java documentation for

android.database.Cursor.moveToFirst()
.

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.

MoveToLast()

Move the cursor to the last row.

[Register("moveToLast", "()Z", "")]
public bool MoveToLast()

Returns

bool

whether the move succeeded.

Remarks

Java documentation for

android.database.Cursor.moveToLast()
.

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.

MoveToNext()

Move the cursor to the next row.

[Register("moveToNext", "()Z", "")]
public bool MoveToNext()

Returns

bool

whether the move succeeded.

Remarks

Java documentation for

android.database.Cursor.moveToNext()
.

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.

MoveToPosition(int)

Move the cursor to an absolute position.

[Register("moveToPosition", "(I)Z", "")]
public bool MoveToPosition(int i)

Parameters

i int

Returns

bool

whether the requested move fully succeeded.

Remarks

Java documentation for

android.database.Cursor.moveToPosition(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.

MoveToPrevious()

Move the cursor to the previous row.

[Register("moveToPrevious", "()Z", "")]
public bool MoveToPrevious()

Returns

bool

whether the move succeeded.

Remarks

Java documentation for

android.database.Cursor.moveToPrevious()
.

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.

RegisterContentObserver(ContentObserver)

Register an observer that is called when changes happen to the content backing this cursor.

[Register("registerContentObserver", "(Landroid/database/ContentObserver;)V", "")]
public void RegisterContentObserver(ContentObserver contentObserver)

Parameters

contentObserver ContentObserver

Remarks

Java documentation for

android.database.Cursor.registerContentObserver(android.database.ContentObserver)
.

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.

RegisterDataSetObserver(DataSetObserver)

Register an observer that is called when changes happen to the contents of the this cursors data set, for example, when the data set is changed via #requery(), #deactivate(), or #close().

[Register("registerDataSetObserver", "(Landroid/database/DataSetObserver;)V", "")]
public void RegisterDataSetObserver(DataSetObserver dataSetObserver)

Parameters

dataSetObserver DataSetObserver

Remarks

Java documentation for

android.database.Cursor.registerDataSetObserver(android.database.DataSetObserver)
.

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.

Requery()

Performs the query that created the cursor again, refreshing its contents.

[Register("requery", "()Z", "")]
public bool Requery()

Returns

bool

true if the requery succeeded, false if not, in which case the cursor becomes invalid.

Remarks

Java documentation for

android.database.Cursor.requery()
.

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.

Respond(Bundle)

This is an out-of-band way for the the user of a cursor to communicate with the cursor.

[Register("respond", "(Landroid/os/Bundle;)Landroid/os/Bundle;", "")]
public Bundle Respond(Bundle bundle)

Parameters

bundle Bundle

Returns

Bundle

extra values, or android.os.Bundle#EMPTY Bundle.EMPTY. Never null.

Remarks

Java documentation for

android.database.Cursor.respond(android.os.Bundle)
.

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.

SetNotificationUri(ContentResolver, Uri)

Register to watch a content URI for changes.

[Register("setNotificationUri", "(Landroid/content/ContentResolver;Landroid/net/Uri;)V", "")]
public void SetNotificationUri(ContentResolver contentResolver, Uri uri)

Parameters

contentResolver ContentResolver
uri Uri

The content URI to watch.

Remarks

Java documentation for

android.database.Cursor.setNotificationUri(android.content.ContentResolver, 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.

UnregisterContentObserver(ContentObserver)

Unregister an observer that has previously been registered with this cursor via #registerContentObserver.

[Register("unregisterContentObserver", "(Landroid/database/ContentObserver;)V", "")]
public void UnregisterContentObserver(ContentObserver contentObserver)

Parameters

contentObserver ContentObserver

Remarks

Java documentation for

android.database.Cursor.unregisterContentObserver(android.database.ContentObserver)
.

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.

UnregisterDataSetObserver(DataSetObserver)

Unregister an observer that has previously been registered with this cursor via #registerContentObserver.

[Register("unregisterDataSetObserver", "(Landroid/database/DataSetObserver;)V", "")]
public void UnregisterDataSetObserver(DataSetObserver dataSetObserver)

Parameters

dataSetObserver DataSetObserver

Remarks

Java documentation for

android.database.Cursor.unregisterDataSetObserver(android.database.DataSetObserver)
.

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.