Build 1.0_r1(from source)

android.database
Interface CrossProcessCursor

All Superinterfaces:
Cursor
All Known Implementing Classes:
AbstractCursor, AbstractWindowedCursor, BulkCursorToCursorAdaptor, MatrixCursor, MergeCursor, SQLiteCursor

public interface CrossProcessCursor
extends Cursor


Method Summary
 void fillWindow(int pos, CursorWindow winow)
          copies cursor data into the window start at pos
 CursorWindow getWindow()
          returns a pre-filled window, return NULL if no such window
 boolean onMove(int oldPosition, int newPosition)
          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.
 
Methods inherited from interface android.database.Cursor
abortUpdates, close, commitUpdates, commitUpdates, copyStringToBuffer, deactivate, deleteRow, getBlob, getColumnCount, getColumnIndex, getColumnIndexOrThrow, getColumnName, getColumnNames, getCount, getDouble, getExtras, getFloat, getInt, getLong, getPosition, getShort, getString, getWantsAllOnMoveCalls, hasUpdates, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isNull, move, moveToFirst, moveToLast, moveToNext, moveToPosition, moveToPrevious, registerContentObserver, registerDataSetObserver, requery, respond, setNotificationUri, supportsUpdates, unregisterContentObserver, unregisterDataSetObserver, updateBlob, updateDouble, updateFloat, updateInt, updateLong, updateShort, updateString, updateToNull
 

Method Detail

getWindow

CursorWindow getWindow()
returns a pre-filled window, return NULL if no such window


fillWindow

void fillWindow(int pos,
                CursorWindow winow)
copies cursor data into the window start at pos


onMove

boolean onMove(int oldPosition,
               int newPosition)
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. If it returns false the move function will also do so and the cursor will scroll to the beforeFirst position.

Parameters:
oldPosition - the position that we're moving from
newPosition - the position that we're moving to
Returns:
true if the move is successful, false otherwise

Build 1.0_r1(from source)

Please submit a feedback, bug or feature