Settings.Secure.EnabledInputMethods 字段

定义

当前已启用的输入方法列表。

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

字段值

属性

注解

当前已启用的输入方法列表。 这是一个字符串,其中包含所有已启用的输入方法的 ID,每个 ID 用“:”分隔。

格式,如“ime0;subtype0;subtype1;subtype2:ime1:ime2;子类型0“,其中 imeId 为 ComponentName,子类型为 int32。

注意:此设置不可读到面向 API 级别 34 或更高版本的应用。 请改用 android.view.inputmethod.InputMethodManager#getEnabledInputMethodList()

适用于 . 的 android.provider.Settings.Secure.ENABLED_INPUT_METHODSJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于