Settings.Secure.DefaultInputMethod Field

Definition

Stores android.view.inputmethod.InputMethodInfo#getId() of the input method service that is currently selected.

[Android.Runtime.Register("DEFAULT_INPUT_METHOD")]
public const string DefaultInputMethod;
[<Android.Runtime.Register("DEFAULT_INPUT_METHOD")>]
val mutable DefaultInputMethod : string

Field Value

Attributes

Remarks

Stores android.view.inputmethod.InputMethodInfo#getId() of the input method service that is currently selected.

Although the name #DEFAULT_INPUT_METHOD implies that there is a concept of default input method, in reality this setting is no more or less than the <strong>currently selected</strong> input method. This setting can be updated at any time as a result of user-initiated and system-initiated input method switching.

Use ComponentName#unflattenFromString(String) to parse the stored value.

Java documentation for android.provider.Settings.Secure.DEFAULT_INPUT_METHOD.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to