public class BasicApiCompatibility extends Object implements ApiCompatibility
ApiCompatibility.CancellationHook
Constructor and Description |
---|
BasicApiCompatibility() |
Modifier and Type | Method and Description |
---|---|
ApiCompatibility.CancellationHook |
createCancellationHook()
Return a cancellation hook object that will be passed to the
ApiCompatibility.rawQuery(SQLiteDatabase, String, String[], CancellationHook) . |
android.database.Cursor |
rawQuery(android.database.sqlite.SQLiteDatabase db,
String sql,
String[] selectionArgs,
ApiCompatibility.CancellationHook cancellationHook)
Perform a raw query on a database with an optional cancellation-hook.
|
public android.database.Cursor rawQuery(android.database.sqlite.SQLiteDatabase db, String sql, String[] selectionArgs, ApiCompatibility.CancellationHook cancellationHook)
ApiCompatibility
rawQuery
in interface ApiCompatibility
public ApiCompatibility.CancellationHook createCancellationHook()
ApiCompatibility
ApiCompatibility.rawQuery(SQLiteDatabase, String, String[], CancellationHook)
. If not supported then this will return
null.createCancellationHook
in interface ApiCompatibility
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.