public abstract class AsyncQueryHandler extends Handler
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AsyncQueryHandler.WorkerArgs |
protected class |
AsyncQueryHandler.WorkerHandler |
Handler.Callback| Constructor and Description |
|---|
AsyncQueryHandler(ContentResolver cr) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelOperation(int token) |
protected Handler |
createHandler(Looper looper) |
void |
handleMessage(Message msg) |
protected void |
onDeleteComplete(int token,
Object cookie,
int result) |
protected void |
onInsertComplete(int token,
Object cookie,
Uri uri) |
protected void |
onQueryComplete(int token,
Object cookie,
Cursor cursor) |
protected void |
onUpdateComplete(int token,
Object cookie,
int result) |
void |
startDelete(int token,
Object cookie,
Uri uri,
String selection,
String[] selectionArgs) |
void |
startInsert(int token,
Object cookie,
Uri uri,
ContentValues initialValues) |
void |
startQuery(int token,
Object cookie,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy) |
void |
startUpdate(int token,
Object cookie,
Uri uri,
ContentValues values,
String selection,
String[] selectionArgs) |
dispatchMessage, dump, getLooper, getMessageName, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toStringpublic AsyncQueryHandler(ContentResolver cr)
public void startQuery(int token,
Object cookie,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy)
public final void cancelOperation(int token)
public final void startInsert(int token,
Object cookie,
Uri uri,
ContentValues initialValues)
public final void startUpdate(int token,
Object cookie,
Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
public final void startDelete(int token,
Object cookie,
Uri uri,
String selection,
String[] selectionArgs)
protected void onUpdateComplete(int token,
Object cookie,
int result)
protected void onDeleteComplete(int token,
Object cookie,
int result)
public void handleMessage(Message msg)
handleMessage in class HandlerCopyright © 2008-2013. All Rights Reserved.