Lines Matching refs:inputMethod
16 import { InputMethodSubtype, inputMethod } from '@kit.IMEKit';
20 … let subTypes = await inputMethod.getSetting().listCurrentInputMethodSubtype(); // 获取当前输入法的所有子类型
21 let currentSubType = inputMethod.getCurrentInputMethodSubtype(); // 获取当前输入法当前的子类型
24 await inputMethod.switchCurrentInputMethodSubtype(subTypes[i]);
34 import { InputMethodSubtype, inputMethodEngine, inputMethod } from '@kit.IMEKit';
60 import { inputMethod } from '@kit.IMEKit';
64 let inputMethods = await inputMethod.getSetting().getInputMethods(true); // 获取已使能的输入法列表
65 let currentInputMethod = inputMethod.getCurrentInputMethod(); // 获取当前输入法
68 await inputMethod.switchInputMethod(inputMethods[i]);
80 import { inputMethod } from '@kit.IMEKit';
84 let inputMethods = await inputMethod.getSetting().getInputMethods(true); // 获取已使能的输入法列表
85 let currentInputMethod = inputMethod.getCurrentInputMethod(); // 获取当前输入法
88 …let subTypes = await inputMethod.getSetting().listInputMethodSubtype(inputMethods[i]); // 获取目标输入法的…
89 …await inputMethod.switchCurrentInputMethodAndSubtype(inputMethods[i], subTypes[0]); // 本示例默认切换到获取的…