added in API level 14

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 getSentenceSuggestions(TextInfo[], int)

abstract void onGetSuggestions(SuggestionsInfo[] results)

Callback for getSuggestions(TextInfo, int) and getSuggestions(TextInfo[], int, boolean)

Public methods

onGetSentenceSuggestions

added in API level 16
void onGetSentenceSuggestions (SentenceSuggestionsInfo[] results)

Callback for 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)

Callback for getSuggestions(TextInfo, int) and 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)