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 SentenceSuggestionsInfo s. These results are suggestions for TextInfo s queried by getSentenceSuggestions(TextInfo[], int) . |
void onGetSuggestions (SuggestionsInfo[] results)
回拨 getSuggestions(TextInfo, int)
和 getSuggestions(TextInfo[], int, boolean)
Parameters | |
---|---|
results |
SuggestionsInfo : an array of SuggestionsInfo s. These results are suggestions for TextInfo s queried by getSuggestions(TextInfo, int) or getSuggestions(TextInfo[], int, boolean) |