public interface

CrossProcessCursor

implements Cursor
android.database.CrossProcessCursor
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From interface android.database.Cursor
Public Methods
abstract void fillWindow(int pos, CursorWindow winow)
copies cursor data into the window start at pos
abstract CursorWindow getWindow()
returns a pre-filled window, return NULL if no such window
abstract 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.
[Expand]
Inherited Methods
From interface android.database.Cursor

Public Methods

public abstract void fillWindow (int pos, CursorWindow winow)

Since: API Level 1

copies cursor data into the window start at pos

public abstract CursorWindow getWindow ()

Since: API Level 1

returns a pre-filled window, return NULL if no such window

public abstract boolean onMove (int oldPosition, int newPosition)

Since: API Level 1

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