InputMethodSubtype.InputMethodSubtypeBuilder


public static class InputMethodSubtype.InputMethodSubtypeBuilder
extends Object

java.lang.Object
   ↳ android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder


InputMethodSubtypeBuilder is a builder class of InputMethodSubtype. This class is designed to be used with InputMethodManager.setAdditionalInputMethodSubtypes(String, InputMethodSubtype). The developer needs to be aware of what each parameter means.

Summary

Public constructors

InputMethodSubtypeBuilder()

Public methods

InputMethodSubtype build()
InputMethodSubtype.InputMethodSubtypeBuilder setIsAsciiCapable(boolean isAsciiCapable)
InputMethodSubtype.InputMethodSubtypeBuilder setIsAuxiliary(boolean isAuxiliary)
InputMethodSubtype.InputMethodSubtypeBuilder setLanguageTag(String languageTag)
InputMethodSubtype.InputMethodSubtypeBuilder setLayoutLabelNonLocalized(CharSequence layoutLabelNonLocalized)

Sets the non-localized layout label.

InputMethodSubtype.InputMethodSubtypeBuilder setLayoutLabelResource(int layoutLabelResId)

Sets the layout label string resource identifier.

InputMethodSubtype.InputMethodSubtypeBuilder setOverridesImplicitlyEnabledSubtype(boolean overridesImplicitlyEnabledSubtype)
InputMethodSubtype.InputMethodSubtypeBuilder setPhysicalKeyboardHint(ULocale languageTag, String layoutType)

Sets the physical keyboard hint information, such as language and layout.

InputMethodSubtype.InputMethodSubtypeBuilder setSubtypeExtraValue(String subtypeExtraValue)
InputMethodSubtype.InputMethodSubtypeBuilder setSubtypeIconResId(int subtypeIconResId)
InputMethodSubtype.InputMethodSubtypeBuilder setSubtypeId(int subtypeId)
InputMethodSubtype.InputMethodSubtypeBuilder setSubtypeLocale(String subtypeLocale)
InputMethodSubtype.InputMethodSubtypeBuilder setSubtypeMode(String subtypeMode)
InputMethodSubtype.InputMethodSubtypeBuilder setSubtypeNameOverride(CharSequence nameOverride)

Sets the untranslatable name of the subtype.

InputMethodSubtype.InputMethodSubtypeBuilder setSubtypeNameResId(int subtypeNameResId)
InputMethodSubtype.InputMethodSubtypeBuilder setSubtypeShortLabel(CharSequence subtypeShortLabel)

Sets the short label of the subtype.

Inherited methods