public class SuggestSearch
extends java.lang.Object
构造器和说明 |
---|
SuggestSearch() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy()
销毁保存的变量及监听事件
|
static SuggestSearch |
getInstance()
获取SuggestSearch单例对象
|
void |
requestSuggestion(SuggestSearchOption option)
联想搜索
|
void |
setOnSuggestSearchResultListener(OnSuggestSearchResultListener listener)
设置联想搜索接口回调
|
public static SuggestSearch getInstance()
public void requestSuggestion(SuggestSearchOption option)
option
- 联想检索参数对象public void setOnSuggestSearchResultListener(OnSuggestSearchResultListener listener)
listener
- 联想检索回调监听事件public void destroy()