Home
last modified time | relevance | path

Searched refs:inputMethod (Results 1 – 25 of 81) sorted by relevance

1234

/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-misc.md39 |新增|NA|模块名: ohos.inputMethod<br>类名: Direction|@ohos.inputMethod.d.ts|
44 |新增|NA|模块名: ohos.inputMethod<br>类名: Range|@ohos.inputMethod.d.ts|
47 |新增|NA|模块名: ohos.inputMethod<br>类名: Movement|@ohos.inputMethod.d.ts|
49 |新增|NA|模块名: ohos.inputMethod<br>类名: TextInputType|@ohos.inputMethod.d.ts|
59 |新增|NA|模块名: ohos.inputMethod<br>类名: EnterKeyType|@ohos.inputMethod.d.ts|
68 |新增|NA|模块名: ohos.inputMethod<br>类名: KeyboardStatus|@ohos.inputMethod.d.ts|
72 |新增|NA|模块名: ohos.inputMethod<br>类名: InputAttribute|@ohos.inputMethod.d.ts|
75 |新增|NA|模块名: ohos.inputMethod<br>类名: FunctionKey|@ohos.inputMethod.d.ts|
77 |新增|NA|模块名: ohos.inputMethod<br>类名: CursorInfo|@ohos.inputMethod.d.ts|
82 |新增|NA|模块名: ohos.inputMethod<br>类名: TextConfig|@ohos.inputMethod.d.ts|
[all …]
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-misc.md39 |Added|NA|Module name: ohos.inputMethod<br>Class name: Direction|@ohos.inputMethod.d.ts|
44 |Added|NA|Module name: ohos.inputMethod<br>Class name: Range|@ohos.inputMethod.d.ts|
47 |Added|NA|Module name: ohos.inputMethod<br>Class name: Movement|@ohos.inputMethod.d.ts|
49 |Added|NA|Module name: ohos.inputMethod<br>Class name: TextInputType|@ohos.inputMethod.d.ts|
59 |Added|NA|Module name: ohos.inputMethod<br>Class name: EnterKeyType|@ohos.inputMethod.d.ts|
68 |Added|NA|Module name: ohos.inputMethod<br>Class name: KeyboardStatus|@ohos.inputMethod.d.ts|
72 |Added|NA|Module name: ohos.inputMethod<br>Class name: InputAttribute|@ohos.inputMethod.d.ts|
75 |Added|NA|Module name: ohos.inputMethod<br>Class name: FunctionKey|@ohos.inputMethod.d.ts|
77 |Added|NA|Module name: ohos.inputMethod<br>Class name: CursorInfo|@ohos.inputMethod.d.ts|
82 |Added|NA|Module name: ohos.inputMethod<br>Class name: TextConfig|@ohos.inputMethod.d.ts|
[all …]
/ohos5.0/base/inputmethod/imf/test/unittest/napi_test/src/
H A DInputMethodTest.js16 import inputMethod from '@ohos.inputMethod'
123 let num = inputMethod.MAX_TYPE_NUM;
151 let controller = inputMethod.getController();
165 let setting = inputMethod.getInputMethodSetting();
179 let setting = inputMethod.getSetting();
219 let inputMethodSetting = inputMethod.getSetting();
436 inputMethod.getSetting().off('imeChange');
440 inputMethod.getSetting().off('imeChange');
715 enterKeyType: inputMethod.EnterKeyType.NONE
749 enterKeyType: inputMethod.EnterKeyType.NONE
[all …]
H A DInputMethodWithAttachTest.js16 import inputMethod from '@ohos.inputMethod';
62 await inputMethod.switchInputMethod(prop);
69 let inputMethodCtrl = inputMethod.getController();
73 textInputType: inputMethod.TextInputType.TEXT,
74 enterKeyType: inputMethod.EnterKeyType.NONE
82 let inputMethodCtrl = inputMethod.getController();
117 let inputMethodCtrl = inputMethod.getController();
138 let inputMethodCtrl = inputMethod.getController();
158 let inputMethodCtrl = inputMethod.getController();
181 let inputMethodCtrl = inputMethod.getController();
[all …]
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-misc.md7 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts|
8 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d…
9 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts|
10 …hodController;<br>方法or属性:off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.inputMethod.d.ts|
11 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod
12 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.…
13 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts|
14 |删除|类名:InputMethodController;<br>方法or属性:off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod
37 |新增|NA|类名:TextConfig;<br>方法or属性:cursorInfo?: CursorInfo;|@ohos.inputMethod.d.ts|
38 |新增|NA|类名:TextConfig;<br>方法or属性:selection?: Range;|@ohos.inputMethod.d.ts|
[all …]
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202211/
H A Djs-apidiff-misc.md3 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_PERMISSION|NA|@ohos.inputmeth…
4 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_PARAMCHECK|NA|@ohos.inputmeth…
5 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_UNSUPPORTED|NA|@ohos.inputmet…
6 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_PACKAGEMANAGER|NA|@ohos.input…
7 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_IMENGINE|NA|@ohos.inputmethod…
8 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_IMCLIENT|NA|@ohos.inputmethod…
9 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_KEYEVENT|NA|@ohos.inputmethod…
11 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_CONTROLLER|NA|@ohos.inputmeth…
12 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_SETTINGS|NA|@ohos.inputmethod…
13 |删除|模块名: ohos.inputmethod<br>类名: inputMethod<br>方法名 or 属性名: EXCEPTION_IMMS|NA|@ohos.inputmethod.d.t…
[all …]
/ohos5.0/docs/zh-cn/application-dev/inputmethod/
H A Dswitch-inputmehod-guide.md16 import { InputMethodSubtype, inputMethod } from '@kit.IMEKit';
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); // 获取已使能的输入法列表
[all …]
H A Duse-inputmethod-in-custom-edit-box.md7 …DevEco Studio工程中新建一个ets文件,命名为自定义控件的名称,本示例中命名为CustomInput,在文件中定义一个自定义控件,并从@kit.IMEKit中导入inputMethod
10 import { inputMethod } from '@kit.IMEKit';
22 import { inputMethod } from '@kit.IMEKit';
44 import { inputMethod } from '@kit.IMEKit';
50 private inputController: inputMethod.InputMethodController = inputMethod.getController();
73 textInputType: inputMethod.TextInputType.TEXT,
74 enterKeyType: inputMethod.EnterKeyType.SEARCH
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-misc.md7 …ntroller;<br>Method or attribute name: off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts|
8 …oller;<br>Method or attribute name: off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d.ts|
9 …dController;<br>Method or attribute name: off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts|
10 …ethod or attribute name: off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.inputMethod.d.ts|
11 …ler;<br>Method or attribute name: off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod.d.ts|
12 …roller;<br>Method or attribute name: off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.ts|
13 …dController;<br>Method or attribute name: off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts|
14 …ler;<br>Method or attribute name: off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod.d.ts|
37 …ass name: TextConfig;<br>Method or attribute name: cursorInfo?: CursorInfo;|@ohos.inputMethod.d.ts|
38 |Added|NA|Class name: TextConfig;<br>Method or attribute name: selection?: Range;|@ohos.inputMethod
[all …]
/ohos5.0/docs/en/release-notes/api-diff/monthly-202211/
H A Djs-apidiff-misc.md3 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
4 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
5 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
6 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
7 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
8 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
9 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
11 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
12 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
13 |Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: EXCE…
[all …]
/ohos5.0/docs/en/application-dev/inputmethod/
H A Dswitch-inputmehod-guide.md16 import { InputMethodSubtype, inputMethod } from '@kit.IMEKit';
21 …let currentSubType = inputMethod.getCurrentInputMethodSubtype(); // Obtain the current subtype of …
24 await inputMethod.switchCurrentInputMethodSubtype(subTypes[i]);
34 import { InputMethodSubtype, inputMethodEngine, inputMethod } from '@kit.IMEKit';
58 import { inputMethod } from '@kit.IMEKit';
62 …let inputMethods = await inputMethod.getSetting().getInputMethods(true); // Obtain the list of ena…
63 … let currentInputMethod = inputMethod.getCurrentInputMethod(); // Obtain the current input method.
66 await inputMethod.switchInputMethod(inputMethods[i]);
78 import { inputMethod } from '@kit.IMEKit';
82 …let inputMethods = await inputMethod.getSetting().getInputMethods(true); // Obtain the list of ena…
[all …]
H A Duse-inputmethod-in-custom-edit-box.md7 …, **CustomInput**. Define a custom component in the file, and import **inputMethod** from @kit.IME…
10 import { inputMethod } from '@kit.IMEKit';
22 import { inputMethod } from '@kit.IMEKit';
44 import { inputMethod } from '@kit.IMEKit';
50 private inputController: inputMethod.InputMethodController = inputMethod.getController();
73 textInputType: inputMethod.TextInputType.TEXT,
74 enterKeyType: inputMethod.EnterKeyType.SEARCH
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dinput_method_manager_ohos.cpp185 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in CloseKeyboard() local
186 if (inputMethod) { in CloseKeyboard()
187 inputMethod->Close(); in CloseKeyboard()
196 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in CloseKeyboardInPipelineDestroy() local
197 if (inputMethod) { in CloseKeyboardInPipelineDestroy()
198 inputMethod->Close(); in CloseKeyboardInPipelineDestroy()
224 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in HideKeyboardAcrossProcesses() local
225 if (inputMethod) { in HideKeyboardAcrossProcesses()
226 inputMethod->RequestHideInput(); in HideKeyboardAcrossProcesses()
227 inputMethod->Close(); in HideKeyboardAcrossProcesses()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-misc.md3 |新增|NA|模块名: ohos.inputMethod<br>类名: inputMethod|@ohos.inputMethod.d.ts|
4 |新增|NA|模块名: ohos.inputMethod<br>类名: inputMethod<br>方法 or 属性: const MAX_TYPE_NUM: number|@ohos.input…
5 |新增|NA|模块名: ohos.inputMethod<br>类名: inputMethod<br>方法 or 属性: function getInputMethodSetting(): Inpu…
6 …新增|NA|模块名: ohos.inputMethod<br>类名: inputMethod<br>方法 or 属性: function getInputMethodController(): I…
7 |新增|NA|模块名: ohos.inputMethod<br>类名: inputMethod<br>方法 or 属性: function getSetting(): InputMethodSett…
8 |新增|NA|模块名: ohos.inputMethod<br>类名: inputMethod<br>方法 or 属性: function getController(): InputMethodC…
11 |新增|NA|模块名: ohos.inputMethod<br>类名: inputMethod<br>方法 or 属性: function getCurrentInputMethod(): Inpu…
14 …增|NA|模块名: ohos.inputMethod<br>类名: inputMethod<br>方法 or 属性: function getCurrentInputMethodSubtype()…
17 |新增|NA|模块名: ohos.inputMethod<br>类名: InputMethodSetting|@ohos.inputMethod.d.ts|
32 |新增|NA|模块名: ohos.inputMethod<br>类名: InputMethodController|@ohos.inputMethod.d.ts|
[all …]
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-misc.md52 |新增|NA|类名:Range;<br>方法or属性:start: number;|@ohos.inputMethod.d.ts|
53 |新增|NA|类名:Range;<br>方法or属性:end: number;|@ohos.inputMethod.d.ts|
58 |新增|NA|类名:TextInputType;<br>方法or属性:NUMBER|@ohos.inputMethod.d.ts|
59 |新增|NA|类名:TextInputType;<br>方法or属性:PHONE|@ohos.inputMethod.d.ts|
62 |新增|NA|类名:TextInputType;<br>方法or属性:URL|@ohos.inputMethod.d.ts|
65 |新增|NA|类名:EnterKeyType;<br>方法or属性:NONE|@ohos.inputMethod.d.ts|
66 |新增|NA|类名:EnterKeyType;<br>方法or属性:GO|@ohos.inputMethod.d.ts|
67 |新增|NA|类名:EnterKeyType;<br>方法or属性:SEARCH|@ohos.inputMethod.d.ts|
68 |新增|NA|类名:EnterKeyType;<br>方法or属性:SEND|@ohos.inputMethod.d.ts|
69 |新增|NA|类名:EnterKeyType;<br>方法or属性:NEXT|@ohos.inputMethod.d.ts|
[all …]
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodlist/source/
H A Dinputmethodlist.ets17 import inputMethod from '@ohos.inputMethod';
87 @State inputMethods: Array<inputMethod.InputMethodProperty> = [];
99 @State defaultInputMethod: inputMethod.InputMethodProperty | undefined = undefined;
110 this.inputMethodConfig = inputMethod.getSystemInputMethodConfigAbility();
114 this.inputMethods = await inputMethod.getSetting().getInputMethods(true);
115 this.defaultInputMethod = inputMethod.getDefaultInputMethod();
116 this.currentInputMethod = inputMethod.getCurrentInputMethod();
126 this.currentSub = inputMethod.getCurrentInputMethodSubtype();
279 }, (item: inputMethod.InputMethodProperty) => JSON.stringify(item));
292 }, (item: inputMethod.InputMethodProperty) => JSON.stringify(item));
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethod-sys.md1 # @ohos.inputMethod (输入法框架) (系统接口)
13 import { inputMethod } from '@kit.IMEKit';
16 ## inputMethod.switchInputMethod<sup>11+</sup>
57 let currentIme = inputMethod.getCurrentInputMethod();
59 inputMethod.switchInputMethod(currentIme.name).then(() => {
67 let currentImeSubType = inputMethod.getCurrentInputMethodSubtype();
69 inputMethod.switchInputMethod(currentIme.name, currentImeSubType.id).then(() => {
112 inputMethodSetting.on('imeShow', (info: Array<inputMethod.InputWindowInfo>) => {
150 inputMethodSetting.on('imeHide', (info: Array<inputMethod.InputWindowInfo>) => {
H A Djs-apis-inputmethod.md1 # @ohos.inputMethod (输入法框架)
13 import { inputMethod } from '@kit.IMEKit';
44 ## inputMethod.getController<sup>9+</sup>
72 ## inputMethod.getDefaultInputMethod<sup>11+</sup>
136 ## inputMethod.getSetting<sup>9+</sup>
164 ## inputMethod.switchInputMethod<sup>9+</sup>
220 ## inputMethod.switchInputMethod<sup>9+</sup>
336 inputMethod.switchCurrentInputMethodSubtype({
409 inputMethod.switchCurrentInputMethodSubtype({
823 let textConfig: inputMethod.TextConfig = {
[all …]
H A DReadme-CN.md6 - [@ohos.inputMethod.Panel (输入法面板)](js-apis-inputmethod-panel.md)
8 - [@ohos.inputMethod (输入法框架)(系统接口)](js-apis-inputmethod-sys.md)
9 - [@ohos.inputMethod (输入法框架)](js-apis-inputmethod.md)
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-misc.md3 |Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod|@ohos.inputMethod.d.ts|
4 …A|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: const MAX_…
5 …: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getInputMethod…
6 …hos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getInputMethodCon…
7 … name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getSettin…
8 …me: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getControlle…
11 … ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getCurrentInput…
14 …os.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getCurrentInputMet…
17 |Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting|@ohos.inputMethod.d.ts|
32 |Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController|@ohos.inputMethod.d.ts|
[all …]
/ohos5.0/base/inputmethod/imf/services/dialog/entry/src/main/ets/pages/
H A Dindex.ets16 import inputMethod from '@ohos.inputMethod';
26 private propertyMap: Map<string, inputMethod.InputMethodProperty> = new Map();
27 …@StorageLink('inputMethodList') inputMethods: Array<inputMethod.InputMethodProperty> | undefined =…
86 chooseInputMethods(prop: inputMethod.InputMethodProperty): void {
88 inputMethod.switchInputMethod(prop).then(() => {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/helper/
H A Dwindow_scene_helper.cpp157 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in IsWindowSceneCloseKeyboard() local
158 if (inputMethod) { in IsWindowSceneCloseKeyboard()
159 inputMethod->RequestHideInput(); in IsWindowSceneCloseKeyboard()
160 inputMethod->Close(); in IsWindowSceneCloseKeyboard()
179 auto inputMethod = MiscServices::InputMethodController::GetInstance(); in IsCloseKeyboard() local
180 if (inputMethod) { in IsCloseKeyboard()
181 inputMethod->RequestHideInput(); in IsCloseKeyboard()
182 inputMethod->Close(); in IsCloseKeyboard()
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-misc.md52 |Added|NA|Class name: Range;<br>Method or attribute name: start: number;|@ohos.inputMethod.d.ts|
53 |Added|NA|Class name: Range;<br>Method or attribute name: end: number;|@ohos.inputMethod.d.ts|
58 |Added|NA|Class name: TextInputType;<br>Method or attribute name: NUMBER|@ohos.inputMethod.d.ts|
59 |Added|NA|Class name: TextInputType;<br>Method or attribute name: PHONE|@ohos.inputMethod.d.ts|
62 |Added|NA|Class name: TextInputType;<br>Method or attribute name: URL|@ohos.inputMethod.d.ts|
65 |Added|NA|Class name: EnterKeyType;<br>Method or attribute name: NONE|@ohos.inputMethod.d.ts|
66 |Added|NA|Class name: EnterKeyType;<br>Method or attribute name: GO|@ohos.inputMethod.d.ts|
67 |Added|NA|Class name: EnterKeyType;<br>Method or attribute name: SEARCH|@ohos.inputMethod.d.ts|
68 |Added|NA|Class name: EnterKeyType;<br>Method or attribute name: SEND|@ohos.inputMethod.d.ts|
69 |Added|NA|Class name: EnterKeyType;<br>Method or attribute name: NEXT|@ohos.inputMethod.d.ts|
[all …]
/ohos5.0/base/inputmethod/imf/services/dialog/entry/src/main/ets/ServiceExtAbility/
H A DServiceExtAbility.ts18 import inputMethod from '@ohos.inputMethod';
115 let inputMethodList: Array<inputMethod.InputMethodProperty> = [];
117 let enableList = await inputMethod.getSetting().getInputMethods(true);
118 let disableList = await inputMethod.getSetting().getInputMethods(false);
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethod-sys.md1 # @ohos.inputMethod (Input Method Framework) (System API)
3 The **inputMethod** module is oriented to common foreground applications (third-party applications …
13 import { inputMethod } from '@kit.IMEKit';
16 ## inputMethod.switchInputMethod<sup>11+</sup>
57 let currentIme = inputMethod.getCurrentInputMethod();
59 inputMethod.switchInputMethod(currentIme.name).then(() => {
67 let currentImeSubType = inputMethod.getCurrentInputMethodSubtype();
69 inputMethod.switchInputMethod(currentIme.name, currentImeSubType.id).then(() => {
112 inputMethodSetting.on('imeShow', (info: Array<inputMethod.InputWindowInfo>) => {
150 inputMethodSetting.on('imeHide', (info: Array<inputMethod.InputWindowInfo>) => {

1234