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

abstract void onGetSuggestions(SuggestionsInfo[] results)

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

Public methods

onGetSentenceSuggestions

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

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