Skip to content

Most visited

Recently visited

navigation
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)
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.