public class SearchController extends BaseController
httpCallBack| Constructor and Description |
|---|
SearchController() |
| Modifier and Type | Method and Description |
|---|---|
static SearchController |
getInstance()
Singleton pattern implementation
|
String |
searchContactList(String q)
Get list of searched contact list
|
void |
searchContactListAsync(String q,
APICallBack<String> callBack)
Get list of searched contact list
|
getClientInstance, getHttpCallBack, setClientInstance, setHttpCallBack, validateResponsepublic static SearchController getInstance()
public String searchContactList(String q) throws Throwable
q - Required parameter: Your keyword or query.Throwablepublic void searchContactListAsync(String q, APICallBack<String> callBack)
q - Required parameter: Your keyword or query.Copyright © 2017. All rights reserved.