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 |
onGetSentenceSuggestions(results: Array<SentenceSuggestionsInfo!>!) Callback for |
abstract Unit |
onGetSuggestions(results: Array<SuggestionsInfo!>!) Callback for |
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 SentenceSuggestionsInfo s. These results are suggestions for TextInfo s queried by SpellCheckerSession.getSentenceSuggestions(TextInfo[], int) . |
onGetSuggestions
Added in API level 14
abstract fun onGetSuggestions(results: Array<SuggestionsInfo!>!): Unit
Callback for SpellCheckerSession.getSuggestions(TextInfo, int)
and SpellCheckerSession.getSuggestions(TextInfo[], int, boolean)
Parameters | |
---|---|
results |
Array<SuggestionsInfo!>!: an array of SuggestionsInfo s. These results are suggestions for TextInfo s queried by SpellCheckerSession.getSuggestions(TextInfo, int) or SpellCheckerSession.getSuggestions(TextInfo[], int, boolean) |