# Print output for @column tags ?> SpellCheckerSession.SpellCheckerSessionParams - Android SDK | Android Developers

Most visited

Recently visited

SpellCheckerSession.SpellCheckerSessionParams

public static class SpellCheckerSession.SpellCheckerSessionParams
extends Object

java.lang.Object
   ↳ android.view.textservice.SpellCheckerSession.SpellCheckerSessionParams


Parameters used to create a SpellCheckerSession.

Summary

Nested classes

class SpellCheckerSession.SpellCheckerSessionParams.Builder

Builder of SpellCheckerSessionParams

Public methods

Bundle getExtras()

Returns a bundle containing extra parameters for the spell checker.

Locale getLocale()

Returns the locale in which the spell checker should operate.

int getSupportedAttributes()

Returns a bitmask of SuggestionsInfo attributes that the spell checker can set in SuggestionsInfo it returns.

boolean shouldReferToSpellCheckerLanguageSettings()

Returns true if the user's spell checker language settings should be used to determine the spell checker locale.

Inherited methods

Public methods

getExtras

public Bundle getExtras ()

Returns a bundle containing extra parameters for the spell checker.

This bundle can be used to pass implementation-specific parameters to the SpellCheckerService implementation.

Returns
Bundle This value cannot be null.

See also:

getLocale

public Locale getLocale ()

Returns the locale in which the spell checker should operate.

Returns
Locale This value may be null.

See also:

getSupportedAttributes

public int getSupportedAttributes ()

Returns a bitmask of SuggestionsInfo attributes that the spell checker can set in SuggestionsInfo it returns.

Returns
int Value is either 0 or a combination of SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY, SuggestionsInfo.RESULT_ATTR_LOOKS_LIKE_TYPO, SuggestionsInfo.RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS, SuggestionsInfo.RESULT_ATTR_LOOKS_LIKE_GRAMMAR_ERROR, and SuggestionsInfo.RESULT_ATTR_DONT_SHOW_UI_FOR_SUGGESTIONS

See also:

shouldReferToSpellCheckerLanguageSettings

public boolean shouldReferToSpellCheckerLanguageSettings ()

Returns true if the user's spell checker language settings should be used to determine the spell checker locale.

Returns
boolean