The members of Android.Database.AbstractCursor are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | ColumnCount | int. Return total number of columns |
[read-only] abstract | Count | int. Returns the numbers of rows in the cursor. |
[read-only] | Extras | Android.OS.Bundle. Returns a bundle of extra values. |
[read-only] | IsAfterLast | bool. Returns whether the cursor is pointing to the position after the last row. |
[read-only] | IsBeforeFirst | bool. Returns whether the cursor is pointing to the position before the first row. |
[read-only] | IsClosed | bool. return true if the cursor is closed |
[read-only] | IsFirst | bool. Returns whether the cursor is pointing to the first row. |
[read-only] | IsLast | bool. Returns whether the cursor is pointing to the last row. |
[read-only] | NotificationUri | Android.Net.Uri. Return the URI at which notifications of changes in this Cursor's data will be delivered, as previously set by ICursor.SetNotificationUri(Android.Content.ContentResolver, Android.Net.Uri). |
[read-only] | Position | int. Returns the current position of the cursor in the row set. |
[read-only] | WantsAllOnMoveCalls | bool. onMove() will only be called across processes if this method returns true. |
[read-only] | Window | CursorWindow. If the cursor is backed by a Android.Database.CursorWindow, returns a pre-filled window with the contents of the cursor, otherwise null. |
MClosed | bool. | |
MContentResolver | Android.Content.ContentResolver. | |
MCurrentRowID | Java.Lang.Long. If AbstractCursor.MRowIdColumnIndex is not -1 this contains contains the value of the column at AbstractCursor.MRowIdColumnIndex for the current row this cursor is pointing at. | |
MPos | int. | |
MRowIdColumnIndex | int. This must be set to the index of the row ID column by any subclass that wishes to support updates. | |
MUpdatedRows | IDictionary. | |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
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)Returns the value of the requested column as a byte array. | ||
GetColumnIndex(string)Returns the zero-based index for the given column name, or -1 if the column doesn't exist. | ||
GetColumnIndexOrThrow(string)Returns the zero-based index for the given column name, or throws Java.Lang.IllegalArgumentException if the column doesn't exist. | ||
GetColumnName(int)Returns the column name at the given zero-based column index. | ||
abstract | 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. | |
abstract | GetDouble(int)Returns the value of the requested column as a double. | |
abstract | GetFloat(int)Returns the value of the requested column as a float. | |
abstract | GetInt(int)Returns the value of the requested column as an int. | |
abstract | GetLong(int)Returns the value of the requested column as a long. | |
abstract | GetShort(int)Returns the value of the requested column as a short. | |
abstract | GetString(int)Returns the value of the requested column as a String. | |
GetType(int)Returns data type of the given column's value. | ||
abstract | IsNull(int)Returns true if the value in the indicated column is null. | |
Move(int)Move the cursor by a relative amount, forward or backward, from the current position. | ||
MoveToFirst()Move the cursor to the first row. | ||
MoveToLast()Move the cursor to the last row. | ||
MoveToNext()Move the cursor to the next row. | ||
MoveToPosition(int)Move the cursor to an absolute position. | ||
MoveToPrevious()Move the cursor to the previous row. | ||
OnMove(int, int)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()Performs the query that created the cursor again, refreshing its contents. | ||
Respond(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). |
CheckPosition()This function throws CursorIndexOutOfBoundsException if the cursor position is out of bounds. | ||
GetUpdatedField(int) | ||
IsFieldUpdated(int) | ||
OnChange(bool)Subclasses must call this method when they finish committing updates to notify all observers. |