SpellCheckerSession.SpellCheckerSessionListener
public
static
interface
SpellCheckerSession.SpellCheckerSessionListener
| android.view.textservice.SpellCheckerSession.SpellCheckerSessionListener |
Callback for getting results from text services
Summary
Public methods | |
|---|---|
abstract
void
|
onGetSentenceSuggestions(SentenceSuggestionsInfo[] results)
Callback for |
abstract
void
|
onGetSuggestions(SuggestionsInfo[] results)
Callback for |
Public methods
onGetSentenceSuggestions
public abstract void onGetSentenceSuggestions (SentenceSuggestionsInfo[] results)
Callback for SpellCheckerSession.getSentenceSuggestions(TextInfo[], int)
| Parameters | |
|---|---|
results |
SentenceSuggestionsInfo: an array of SentenceSuggestionsInfos.
These results are suggestions for TextInfos
queried by SpellCheckerSession.getSentenceSuggestions(TextInfo[], int). |
onGetSuggestions
public abstract void onGetSuggestions (SuggestionsInfo[] results)
Callback for SpellCheckerSession.getSuggestions(TextInfo, int)
and SpellCheckerSession.getSuggestions(TextInfo[], int, boolean)
| Parameters | |
|---|---|
results |
SuggestionsInfo: an array of SuggestionsInfos.
These results are suggestions for TextInfos queried by
SpellCheckerSession.getSuggestions(TextInfo, int) or
SpellCheckerSession.getSuggestions(TextInfo[], int, boolean) |