Added in API level 14

SpellCheckerSessionListener


interface SpellCheckerSessionListener
android.view.textservice.SpellCheckerSession.SpellCheckerSessionListener

Callback for getting results from text services

Summary

Public methods
abstract Unit

Callback for SpellCheckerSession#getSentenceSuggestions(TextInfo[], int)

abstract Unit

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

Public methods

onGetSentenceSuggestions

Added in API level 16
abstract fun onGetSentenceSuggestions(results: Array<SentenceSuggestionsInfo!>!): Unit

Callback for SpellCheckerSession#getSentenceSuggestions(TextInfo[], int)

Parameters
results Array<SentenceSuggestionsInfo!>!: an array of SentenceSuggestionsInfos. These results are suggestions for TextInfos queried by SpellCheckerSession#getSentenceSuggestions(TextInfo[], int).