android.content
Class AsyncQueryHandler
java.lang.Object
android.os.Handler
android.content.AsyncQueryHandler
public abstract class AsyncQueryHandler
- extends Handler
Method Summary |
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)
|
Methods inherited from class android.os.Handler |
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, toString |
AsyncQueryHandler
public AsyncQueryHandler(ContentResolver cr)
createHandler
protected Handler createHandler(Looper looper)
startQuery
public void startQuery(int token,
Object cookie,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy)
cancelOperation
public final void cancelOperation(int token)
startInsert
public final void startInsert(int token,
Object cookie,
Uri uri,
ContentValues initialValues)
startUpdate
public final void startUpdate(int token,
Object cookie,
Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
startDelete
public final void startDelete(int token,
Object cookie,
Uri uri,
String selection,
String[] selectionArgs)
onQueryComplete
protected void onQueryComplete(int token,
Object cookie,
Cursor cursor)
onInsertComplete
protected void onInsertComplete(int token,
Object cookie,
Uri uri)
onUpdateComplete
protected void onUpdateComplete(int token,
Object cookie,
int result)
onDeleteComplete
protected void onDeleteComplete(int token,
Object cookie,
int result)
handleMessage
public void handleMessage(Message msg)
- Overrides:
handleMessage
in class Handler
Copyright © 2008-2012. All Rights Reserved.