SpellCheckerSessionParams
open class SpellCheckerSessionParams
kotlin.Any | |
↳ | android.view.textservice.SpellCheckerSession.SpellCheckerSessionParams |
Parameters used to create a SpellCheckerSession
.
Summary
Nested classes | |
---|---|
Builder of |
Public methods | |
---|---|
open Bundle |
Returns a bundle containing extra parameters for the spell checker. |
open Locale? |
Returns the locale in which the spell checker should operate. |
open Int |
Returns a bitmask of |
open Boolean |
Returns true if the user's spell checker language settings should be used to determine the spell checker locale. |
Public methods
getExtras
open fun getExtras(): Bundle
Returns a bundle containing extra parameters for the spell checker.
This bundle can be used to pass implementation-specific parameters to the android.service.textservice.SpellCheckerService
implementation.
Return | |
---|---|
Bundle |
This value cannot be null . |
getLocale
open fun getLocale(): Locale?
Returns the locale in which the spell checker should operate.
Return | |
---|---|
Locale? |
This value may be null . |
getSupportedAttributes
open fun getSupportedAttributes(): Int
Returns a bitmask of SuggestionsInfo
attributes that the spell checker can set in SuggestionsInfo
it returns.
shouldReferToSpellCheckerLanguageSettings
open fun shouldReferToSpellCheckerLanguageSettings(): Boolean
Returns true if the user's spell checker language settings should be used to determine the spell checker locale.