Android.Test.Mock.MockCursor: Method Members

The methods of Android.Test.Mock.MockCursor are listed below. For a list of all members, see the MockCursor Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AbortUpdates()
Documentation for this section has not yet been entered.
Close()
Closes the Cursor, releasing all of its resources and making it completely invalid.
CommitUpdates() : bool
Documentation for this section has not yet been entered.
CommitUpdates(IDictionary<Java.Lang.Long, IDictionary<string, Java.Lang.Object>>) : bool
Documentation for this section has not yet been entered.
CopyStringToBuffer(int, Android.Database.CharArrayBuffer)
Retrieves the requested column text and stores it in the buffer provided.
Deactivate()
Deactivates the Cursor, making all calls on it fail until Android.Database.ICursor.Requery is called.
DeleteRow() : bool
Documentation for this section has not yet been entered.
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.
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.
GetDouble(int) : double
Returns the value of the requested column as a double.
GetFloat(int) : float
Returns the value of the requested column as a float.
GetInt(int) : int
Returns the value of the requested column as an int.
GetLong(int) : long
Returns the value of the requested column as a long.
GetShort(int) : short
Returns the value of the requested column as a short.
GetString(int) : string
Returns the value of the requested column as a String.
GetType(int) : Android.Database.FieldType
Returns data type of the given column's value.
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.
RegisterContentObserver(Android.Database.ContentObserver)
Register an observer that is called when changes happen to the content backing this cursor.
RegisterDataSetObserver(Android.Database.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 Android.Database.ICursor.Requery, Android.Database.ICursor.Deactivate, or Android.Database.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)
Register to watch a content URI for changes.
SupportsUpdates() : bool
Documentation for this section has not yet been entered.
UnregisterContentObserver(Android.Database.ContentObserver)
Unregister an observer that has previously been registered with this cursor via Android.Database.ICursor.RegisterContentObserver(Android.Database.ContentObserver).
UnregisterDataSetObserver(Android.Database.DataSetObserver)
Unregister an observer that has previously been registered with this cursor via Android.Database.ICursor.RegisterContentObserver(Android.Database.ContentObserver).
UpdateBlob(int, byte[]) : bool
Documentation for this section has not yet been entered.
UpdateDouble(int, double) : bool
Documentation for this section has not yet been entered.
UpdateFloat(int, float) : bool
Documentation for this section has not yet been entered.
UpdateInt(int, int) : bool
Documentation for this section has not yet been entered.
UpdateLong(int, long) : bool
Documentation for this section has not yet been entered.
UpdateShort(int, short) : bool
Documentation for this section has not yet been entered.
UpdateString(int, string) : bool
Documentation for this section has not yet been entered.
UpdateToNull(int) : bool
Documentation for this section has not yet been entered.