interface SQLiteCursorDriver

A driver for SQLiteCursors that is used to create them and gets notified by the cursors it creates on significant events in their lifetimes.

Summary

Public methods
abstract Unit

Called by a SQLiteCursor when it it closed to destroy this object as well.

abstract Unit

Called by a SQLiteCursor when it is released.

abstract Unit

Called by a SQLiteCursor when it is requeried.

abstract Cursor!

query(factory: SQLiteDatabase.CursorFactory!, bindArgs: Array<String!>!)

Executes the query returning a Cursor over the result set.

abstract Unit

Set new bind arguments.

Public methods

cursorClosed

abstract fun cursorClosed(): Unit

Called by a SQLiteCursor when it it closed to destroy this object as well.

cursorDeactivated

abstract fun cursorDeactivated(): Unit

Called by a SQLiteCursor when it is released.

cursorRequeried

abstract fun cursorRequeried(cursor: Cursor!): Unit

Called by a SQLiteCursor when it is requeried.

setBindArguments

abstract fun setBindArguments(bindArgs: Array<String!>!): Unit

Set new bind arguments. These will take effect in cursorRequeried().

Parameters
bindArgs Array<String!>!: the new arguments

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.