Android.Database.AbstractCursor: Method Members

The methods of Android.Database.AbstractCursor are listed below. For a list of all members, see the AbstractCursor Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

Close()
Closes the Cursor, releasing all of its resources and making it completely invalid.
CopyStringToBuffer(int, CharArrayBuffer)
Retrieves the requested column text and stores it in the buffer provided.
Deactivate()
Deactivates the Cursor, making all calls on it fail until ICursor.Requery is called.
FillWindow(int, CursorWindow)
Copies cursor data into the window.
GetBlob(int) : byte[]
Returns the value of the requested column as a byte array.
GetColumnIndex(string) : int
Returns the zero-based index for the given column name, or -1 if the column doesn't exist.
GetColumnIndexOrThrow(string) : int
Returns the zero-based index for the given column name, or throws Java.Lang.IllegalArgumentException if the column doesn't exist.
GetColumnName(int) : string
Returns the column name at the given zero-based column index.
abstract
GetColumnNames() : string[]
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.
abstract
GetDouble(int) : double
Returns the value of the requested column as a double.
abstract
GetFloat(int) : float
Returns the value of the requested column as a float.
abstract
GetInt(int) : int
Returns the value of the requested column as an int.
abstract
GetLong(int) : long
Returns the value of the requested column as a long.
abstract
GetShort(int) : short
Returns the value of the requested column as a short.
abstract
GetString(int) : string
Returns the value of the requested column as a String.
GetType(int) : FieldType
Returns data type of the given column's value.
abstract
IsNull(int) : bool
Returns true if the value in the indicated column is null.
Move(int) : bool
Move the cursor by a relative amount, forward or backward, from the current position.
MoveToFirst() : bool
Move the cursor to the first row.
MoveToLast() : bool
Move the cursor to the last row.
MoveToNext() : bool
Move the cursor to the next row.
MoveToPosition(int) : bool
Move the cursor to an absolute position.
MoveToPrevious() : bool
Move the cursor to the previous row.
OnMove(int, int) : bool
This function is called every time the cursor is successfully scrolled to a new position, giving the subclass a chance to update any state it may have.
RegisterContentObserver(ContentObserver)
Register an observer that is called when changes happen to the content backing this cursor.
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 ICursor.Requery, ICursor.Deactivate, or ICursor.Close.
Requery() : bool
Performs the query that created the cursor again, refreshing its contents.
Respond(Android.OS.Bundle) : Android.OS.Bundle
This is an out-of-band way for the the user of a cursor to communicate with the cursor.
SetNotificationUri(Android.Content.ContentResolver, Android.Net.Uri)
Specifies a content URI to watch for changes.
UnregisterContentObserver(ContentObserver)
Unregister an observer that has previously been registered with this cursor via ICursor.RegisterContentObserver(ContentObserver).
UnregisterDataSetObserver(DataSetObserver)
Unregister an observer that has previously been registered with this cursor via ICursor.RegisterContentObserver(ContentObserver).

Protected Methods

CheckPosition()
This function throws CursorIndexOutOfBoundsException if the cursor position is out of bounds.
GetUpdatedField(int) : Java.Lang.Object
IsFieldUpdated(int) : bool
OnChange(bool)
Subclasses must call this method when they finish committing updates to notify all observers.