public static interface SpellCheckerSession.SpellCheckerSessionListener
| android.view.textservice.SpellCheckerSession.SpellCheckerSessionListener |
从文本服务获取结果的回调
公共方法(Public methods) |
|
|---|---|
abstract void |
onGetSentenceSuggestions(SentenceSuggestionsInfo[] results) |
abstract void |
onGetSuggestions(SuggestionsInfo[] results) 回拨 |
void onGetSentenceSuggestions (SentenceSuggestionsInfo[] results)
回调 getSentenceSuggestions(TextInfo[], int)
| 参数(Parameters) | |
|---|---|
results |
SentenceSuggestionsInfo: an array of SentenceSuggestionsInfos. These results are suggestions for TextInfos queried by getSentenceSuggestions(TextInfo[], int). |
void onGetSuggestions (SuggestionsInfo[] results)
回拨 getSuggestions(TextInfo, int)和 getSuggestions(TextInfo[], int, boolean)
| 参数(Parameters) | |
|---|---|
results |
SuggestionsInfo: an array of SuggestionsInfos. These results are suggestions for TextInfos queried by getSuggestions(TextInfo, int) or getSuggestions(TextInfo[], int, boolean) |