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 SentenceSuggestionsInfos. These results are suggestions for TextInfos 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 SuggestionsInfos. These results are suggestions for TextInfos queried by SpellCheckerSession.getSuggestions(TextInfo, int) or SpellCheckerSession.getSuggestions(TextInfo[], int, boolean) |