Most visited

Recently visited

Added in API level 14

SpellCheckerSession.SpellCheckerSessionListener

public static interface SpellCheckerSession.SpellCheckerSessionListener

android.view.textservice.SpellCheckerSession.SpellCheckerSessionListener


从文本服务获取结果的回调

Summary

Public methods

abstract void onGetSentenceSuggestions(SentenceSuggestionsInfo[] results)

回拨 getSentenceSuggestions(TextInfo[], int)

abstract void onGetSuggestions(SuggestionsInfo[] results)

回拨 getSuggestions(TextInfo, int)getSuggestions(TextInfo[], int, boolean)

Public methods

onGetSentenceSuggestions

Added in API level 16
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).

onGetSuggestions

Added in API level 14
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)

Hooray!