Reference:Android.database.sqlite.SQLiteCursorDriver
From Triled Wiki
android.database.sqlite
public interface android.database.sqlite.SQLiteCursorDriver
| android.database.sqlite.SQLiteCursorDriver | SQLiteClosable |
A driver for SQLiteCursors that is used to create them and gets notified by the cursors it creates on significant events in their lifetimes.
Contents |
[edit] Summary
[edit] Public Methods
| void | cursorClosed () | ||||
| Called by a SQLiteCursor when it it closed to destroy this object as well. | |||||
| void | cursorDeactivated () | ||||
| Called by a SQLiteCursor when it is released. | |||||
| int | cursorRequeried (Cursor cursor) | ||||
| Called by a SQLiteCursor when it is requeryed. | |||||
| Cursor | query (CursorFactory factory, String[ ] bindArgs) | ||||
| Executes the query returning a Cursor over the result set. | |||||
| void | setBindArguments (String[ ] bindArgs) | ||||
| Set new bind arguments. | |||||
[edit] Methods inherited from interface android.database.sqlite.SQLiteClosable
[edit] Details
[edit] Public Methods
[edit] public void cursorClosed()
Called by a SQLiteCursor when it it closed to destroy this object as well.
[edit] public void cursorDeactivated()
Called by a SQLiteCursor when it is released.
[edit] public int cursorRequeried(Cursor cursor)
Called by a SQLiteCursor when it is requeryed.
Returns
- The new count value.
[edit] public Cursor query(CursorFactory factory, String[ ] bindArgs)
Executes the query returning a Cursor over the result set.
Parameters
| factory | The CursorFactory to use when creating the Cursors, or null if standard SQLiteCursors should be returned. |
|---|
Returns
- a Cursor over the result set
[edit] public void setBindArguments(String[ ] bindArgs)
Set new bind arguments. These will take effect in cursorRequeried().
Parameters
| bindArgs | the new arguments |
|---|
[edit] References
- Original documentation page for Android SDK build m5-rc15e - 14 apr 2008 17:27
