cursorWindowSize

Maximum rows retained by a scrollable cursor at once, or PLATFORM_DEFAULT_CURSOR_WINDOW_SIZE to use the platform default.

Moving outside the current window re-runs the query to refill it. Callers requiring a stable snapshot must keep the cursor inside a transaction. Sequential processing of unbounded results should use a forward-only API.

Android defaults to UNBOUNDED_CURSOR_WINDOW_SIZE for compatibility. Other JVM runtimes default to JVM_DEFAULT_CURSOR_WINDOW_SIZE.