Class CursorUtil.EmptyCursor
[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
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
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
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
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
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
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
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
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
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
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
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
Methods
Close()
Closes the Cursor, releasing all of its resources and making it completely invalid.
[Register("close", "()V", "")]
public void Close()
Remarks
.
android.database.Cursor.close()
Portions of this page are modifications based on work created and shared by the
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
intcharArrayBuffer
CharArrayBuffer
Remarks
Portions of this page are modifications based on work created and shared by the
Deactivate()
Deactivates the Cursor, making all calls on it fail until #requery
is called.
[Register("deactivate", "()V", "")]
public void Deactivate()
Remarks
.
android.database.Cursor.deactivate()
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getBlob(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getColumnIndex(java.lang.String)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getColumnIndexOrThrow(java.lang.String)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getColumnName(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getColumnNames()
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getDouble(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getFloat(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getInt(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getLong(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getShort(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getString(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.getType(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.isNull(int)
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.move(int)
Portions of this page are modifications based on work created and shared by the
MoveToFirst()
Move the cursor to the first row.
[Register("moveToFirst", "()Z", "")]
public bool MoveToFirst()
Returns
- bool
whether the move succeeded.
Remarks
.
android.database.Cursor.moveToFirst()
Portions of this page are modifications based on work created and shared by the
MoveToLast()
Move the cursor to the last row.
[Register("moveToLast", "()Z", "")]
public bool MoveToLast()
Returns
- bool
whether the move succeeded.
Remarks
.
android.database.Cursor.moveToLast()
Portions of this page are modifications based on work created and shared by the
MoveToNext()
Move the cursor to the next row.
[Register("moveToNext", "()Z", "")]
public bool MoveToNext()
Returns
- bool
whether the move succeeded.
Remarks
.
android.database.Cursor.moveToNext()
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.moveToPosition(int)
Portions of this page are modifications based on work created and shared by the
MoveToPrevious()
Move the cursor to the previous row.
[Register("moveToPrevious", "()Z", "")]
public bool MoveToPrevious()
Returns
- bool
whether the move succeeded.
Remarks
.
android.database.Cursor.moveToPrevious()
Portions of this page are modifications based on work created and shared by the
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
Portions of this page are modifications based on work created and shared by the
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
Portions of this page are modifications based on work created and shared by the
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
.
android.database.Cursor.requery()
Portions of this page are modifications based on work created and shared by the
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
. Nevernull
.
Remarks
.
android.database.Cursor.respond(android.os.Bundle)
Portions of this page are modifications based on work created and shared by the
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
ContentResolveruri
UriThe content URI to watch.
Remarks
Portions of this page are modifications based on work created and shared by the
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
Portions of this page are modifications based on work created and shared by the
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
Portions of this page are modifications based on work created and shared by the