Modifier and Type | Class and Description |
---|---|
static interface |
CallerInfoAsyncQuery.OnQueryCompleteListener
Interface for a CallerInfoAsyncQueryHandler result return.
|
static class |
CallerInfoAsyncQuery.QueryPoolException
Simple exception used to communicate problems with the query pool.
|
Modifier and Type | Method and Description |
---|---|
void |
addQueryListener(int token,
CallerInfoAsyncQuery.OnQueryCompleteListener listener,
Object cookie)
Method to add listeners to a currently running query
|
static CallerInfoAsyncQuery |
startQuery(int token,
Context context,
String number,
CallerInfoAsyncQuery.OnQueryCompleteListener listener,
Object cookie)
Factory method to start the query based on a number.
|
static CallerInfoAsyncQuery |
startQuery(int token,
Context context,
String number,
CallerInfoAsyncQuery.OnQueryCompleteListener listener,
Object cookie,
int subId)
Factory method to start the query based on a number with specific subscription.
|
static CallerInfoAsyncQuery |
startQuery(int token,
Context context,
Uri contactRef,
CallerInfoAsyncQuery.OnQueryCompleteListener listener,
Object cookie)
Factory method to start query with a Uri query spec
|
public static CallerInfoAsyncQuery startQuery(int token, Context context, Uri contactRef, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie)
public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie)
public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie, int subId)
public void addQueryListener(int token, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie)