Sdílet prostřednictvím


ICrossProcessCursor Interface

Definition

A cross process cursor is an extension of a Cursor that also supports usage from remote processes.

[Android.Runtime.Register("android/database/CrossProcessCursor", "", "Android.Database.ICrossProcessCursorInvoker")]
public interface ICrossProcessCursor : Android.Database.ICursor, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/database/CrossProcessCursor", "", "Android.Database.ICrossProcessCursorInvoker")>]
type ICrossProcessCursor = interface
    interface ICursor
    interface ICloseable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Derived
Attributes
Implements

Remarks

A cross process cursor is an extension of a Cursor that also supports usage from remote processes.

The contents of a cross process cursor are marshalled to the remote process by filling CursorWindow objects using #fillWindow. As an optimization, the cursor can provide a pre-filled window to use via #getWindow thereby obviating the need to copy the data to yet another cursor window.

Java documentation for android.database.CrossProcessCursor.

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.

Properties

ColumnCount

Return total number of columns

(Inherited from ICursor)
Count

Returns the numbers of rows in the cursor.

(Inherited from ICursor)
Extras

Returns a bundle of extra values.

(Inherited from ICursor)
Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
IsAfterLast

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

(Inherited from ICursor)
IsBeforeFirst

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

(Inherited from ICursor)
IsClosed

return true if the cursor is closed

(Inherited from ICursor)
IsFirst

Returns whether the cursor is pointing to the first row.

(Inherited from ICursor)
IsLast

Returns whether the cursor is pointing to the last row.

(Inherited from ICursor)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
NotificationUri

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

(Inherited from ICursor)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)
Position

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

(Inherited from ICursor)
WantsAllOnMoveCalls

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

(Inherited from ICursor)
Window

Returns a pre-filled window that contains the data within this cursor.

Methods

Close()

Closes this stream and releases any system resources associated with it.

(Inherited from ICloseable)
CopyStringToBuffer(Int32, CharArrayBuffer)

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

(Inherited from ICursor)
Deactivate()
Obsolete.

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

(Inherited from ICursor)
Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
FillWindow(Int32, CursorWindow)

Copies cursor data into the window.

Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
GetBlob(Int32)

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

(Inherited from ICursor)
GetColumnIndex(String)

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

(Inherited from ICursor)
GetColumnIndexOrThrow(String)

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

(Inherited from ICursor)
GetColumnName(Int32)

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

(Inherited from ICursor)
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.

(Inherited from ICursor)
GetDouble(Int32)

Returns the value of the requested column as a double.

(Inherited from ICursor)
GetFloat(Int32)

Returns the value of the requested column as a float.

(Inherited from ICursor)
GetInt(Int32)

Returns the value of the requested column as an int.

(Inherited from ICursor)
GetLong(Int32)

Returns the value of the requested column as a long.

(Inherited from ICursor)
GetShort(Int32)

Returns the value of the requested column as a short.

(Inherited from ICursor)
GetString(Int32)

Returns the value of the requested column as a String.

(Inherited from ICursor)
GetType(Int32)

Returns data type of the given column's value.

(Inherited from ICursor)
IsNull(Int32)

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

(Inherited from ICursor)
Move(Int32)

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

(Inherited from ICursor)
MoveToFirst()

Move the cursor to the first row.

(Inherited from ICursor)
MoveToLast()

Move the cursor to the last row.

(Inherited from ICursor)
MoveToNext()

Move the cursor to the next row.

(Inherited from ICursor)
MoveToPosition(Int32)

Move the cursor to an absolute position.

(Inherited from ICursor)
MoveToPrevious()

Move the cursor to the previous row.

(Inherited from ICursor)
OnMove(Int32, Int32)

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.

(Inherited from ICursor)
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().

(Inherited from ICursor)
Requery()
Obsolete.

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

(Inherited from ICursor)
Respond(Bundle)

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

(Inherited from ICursor)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetNotificationUri(ContentResolver, Uri)

Register to watch a content URI for changes.

(Inherited from ICursor)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
UnregisterContentObserver(ContentObserver)

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

(Inherited from ICursor)
UnregisterDataSetObserver(DataSetObserver)

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

(Inherited from ICursor)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to