diff --git a/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-extension-ability.md b/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-extension-ability.md index ad38e53723ebbfe2413aa0e4004ebae5f6ba0972..2a7c8ee916505a531dd61b21cde5f0f243acc5e6 100644 --- a/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-extension-ability.md +++ b/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-extension-ability.md @@ -13,7 +13,15 @@ import { InputMethodExtensionAbility } from '@kit.IMEKit'; ``` -## 属性 +## InputMethodExtensionAbility + +输入法Extension ability类。 + +**系统能力:** SystemCapability.MiscServices.InputMethodFramework + +### context + +输入法Extension ability的上下文信息。 **系统能力:** SystemCapability.MiscServices.InputMethodFramework @@ -21,7 +29,7 @@ import { InputMethodExtensionAbility } from '@kit.IMEKit'; | -------- | -------- | -------- | -------- | -------- | | context | [InputMethodExtensionContext](js-apis-inputmethod-extension-context.md) | 否 | 否 | InputMethodExtension的上下文环境,继承于ExtensionContext。 | -## InputMethodExtensionAbility.onCreate +### onCreate onCreate(want: Want): void @@ -47,7 +55,7 @@ class InputMethodExt extends InputMethodExtensionAbility { } ``` -## InputMethodExtensionAbility.onDestroy +### onDestroy onDestroy(): void diff --git a/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-subtype.md b/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-subtype.md index 16bfdc22b2a391275d89e6b7d52c25b6d407f2c8..69c3a2bde85673abe18059c388fd960ac6bee2d9 100644 --- a/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-subtype.md +++ b/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-subtype.md @@ -12,9 +12,9 @@ import { InputMethodSubtype } from '@kit.IMEKit'; ``` -## 属性 +## InputMethodSubtype -属性值。 +输入法子类型属性。 **系统能力:** SystemCapability.MiscServices.InputMethodFramework diff --git a/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-sys.md b/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-sys.md index ff00273df5e45d1c7bfcd0411907d106e1553b2e..b1e444ef4d21c1b4e230a7ad84f833738b7fa7cb 100644 --- a/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-sys.md +++ b/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod-sys.md @@ -47,7 +47,7 @@ switchInputMethod(bundleName: string, subtypeId?: string): Promise<void> | 202 | not system application. | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | | 12800005 | configuration persistence error. | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -239,7 +239,7 @@ isPanelShown(panelInfo: PanelInfo): boolean | -------- | ----------------------------------- | | 202 | not system application. | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** diff --git a/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod.md b/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod.md index 089f32729559cffb2a45e3cf7a850c7fe143617f..9ec44dc26ab2efc9608fea41bd9006b019bf372a 100644 --- a/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod.md +++ b/zh-cn/application-dev/reference/apis-ime-kit/js-apis-inputmethod.md @@ -75,7 +75,7 @@ getController(): InputMethodController | 错误码ID | 错误信息 | | -------- | ------------------------------ | -| 12800006 | input method controller error. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -103,7 +103,7 @@ getDefaultInputMethod(): InputMethodProperty | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -135,7 +135,7 @@ getSystemInputMethodConfigAbility(): ElementName | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -167,7 +167,7 @@ getSetting(): InputMethodSetting | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800007 | setter error. | +| 12800007 | input method setter error. Possible cause: create InputmethodSetting object failed. | **示例:** @@ -202,7 +202,7 @@ switchInputMethod(target: InputMethodProperty, callback: AsyncCallback<boolea | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | | 12800005 | configuration persistence error. | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -262,7 +262,7 @@ switchInputMethod(target: InputMethodProperty): Promise<boolean> | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | | 12800005 | configuration persistence error. | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -338,7 +338,7 @@ switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallb | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | | 12800005 | configuration persistence error. | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -411,7 +411,7 @@ switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise<boolean& | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | | 12800005 | configuration persistence error. | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -497,7 +497,7 @@ switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inp | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | | 12800005 | configuration persistence error. | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -561,7 +561,7 @@ switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inp | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | | 12800005 | configuration persistence error. | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -961,8 +961,8 @@ attach(showKeyboard: boolean, textConfig: TextConfig, callback: AsyncCallback< | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -1020,8 +1020,8 @@ attach(showKeyboard: boolean, textConfig: TextConfig): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -1078,8 +1078,8 @@ attach(showKeyboard: boolean, textConfig: TextConfig, requestKeyboardReason: Req | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -1171,8 +1171,8 @@ showTextInput(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1213,8 +1213,8 @@ showTextInput(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1259,8 +1259,8 @@ showTextInput(requestKeyboardReason: RequestKeyboardReason): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1303,8 +1303,8 @@ hideTextInput(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1347,8 +1347,8 @@ hideTextInput(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1383,8 +1383,8 @@ detach(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -1420,8 +1420,8 @@ detach(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -1461,8 +1461,8 @@ setCallingWindow(windowId: number, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1515,8 +1515,8 @@ setCallingWindow(windowId: number): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1558,8 +1558,8 @@ updateCursor(cursorInfo: CursorInfo, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1608,8 +1608,8 @@ updateCursor(cursorInfo: CursorInfo): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1653,8 +1653,8 @@ changeSelection(text: string, start: number, end: number, callback: AsyncCallbac | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1704,8 +1704,8 @@ changeSelection(text: string, start: number, end: number): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1746,8 +1746,8 @@ updateAttribute(attribute: InputAttribute, callback: AsyncCallback<void>): | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1796,8 +1796,8 @@ updateAttribute(attribute: InputAttribute): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800009 | input method client detached. | **示例:** @@ -1841,8 +1841,8 @@ stopInputSession(callback: AsyncCallback<boolean>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -1890,8 +1890,8 @@ stopInputSession(): Promise<boolean> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -1940,8 +1940,8 @@ showSoftKeyboard(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 201 | permissions check fails. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -1984,8 +1984,8 @@ showSoftKeyboard(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 201 | permissions check fails. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -2026,8 +2026,8 @@ hideSoftKeyboard(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 201 | permissions check fails. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -2070,8 +2070,8 @@ hideSoftKeyboard(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | | 201 | permissions check fails. | -| 12800003 | input method client error. | -| 12800008 | input method manager service error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | **示例:** @@ -2119,7 +2119,7 @@ sendMessage(msgId: string, msgParam?: ArrayBuffer): Promise): | 错误码ID | 错误信息 | | ---------- | ----------------------------- | | 401 | parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. | -| 12800004 | not an input method. | +| 12800004 | not an input method application. | **示例:** @@ -947,7 +947,7 @@ createPanel(ctx: BaseContext, info: PanelInfo): Promise\ | 错误码ID | 错误信息 | | ---------- | ----------------------------- | | 401 | parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. | -| 12800004 | not an input method. | +| 12800004 | not an input method application. | **示例:** @@ -1856,7 +1856,7 @@ getDisplayId(): Promise\ | 错误码ID | 错误信息 | | -------- | ------------------------------------------------------- | -| 12800002 | input method engine error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | | 12800013 | window manager service error. | **示例:** @@ -2406,7 +2406,7 @@ setImmersiveMode(mode: ImmersiveMode): void | 错误码ID | 错误信息 | | -------- | ------------------------------------------------------- | | 401 | parameter error. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. | -| 12800002 | input method engine error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | | 12800013 | window manager service error. | **示例:** @@ -2515,7 +2515,7 @@ hide(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -2551,7 +2551,7 @@ hide(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------- | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -2648,7 +2648,7 @@ exitCurrentInputType(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | ---------------------------------------------- | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800010 | not the preconfigured default input method. | **示例:** @@ -2685,7 +2685,7 @@ exitCurrentInputType(): Promise<void> | 错误码ID | 错误信息 | | -------- | ---------------------------------------------- | -| 12800008 | input method manager service error. | +| 12800008 | input method manager service error. Possible cause: a system error, such as null pointer, IPC exception. | | 12800010 | not the preconfigured default input method. | **示例:** @@ -2890,7 +2890,7 @@ sendKeyFunction(action:number, callback: AsyncCallback<boolean>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -2942,7 +2942,7 @@ sendKeyFunction(action: number): Promise<boolean> | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -2987,8 +2987,8 @@ getForward(length:number, callback: AsyncCallback<string>): void | 错误码ID | 错误信息 | | -------- | ------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -3036,8 +3036,8 @@ getForward(length:number): Promise<string> | 错误码ID | 错误信息 | | -------- | ------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -3083,8 +3083,8 @@ getForwardSync(length:number): string | 错误码ID | 错误信息 | | -------- | ------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | -| 12800006 | input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -3120,8 +3120,8 @@ getBackward(length:number, callback: AsyncCallback<string>): void | 错误码ID | 错误信息 | | -------- | ------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -3169,8 +3169,8 @@ getBackward(length:number): Promise<string> | 错误码ID | 错误信息 | | -------- | ------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -3216,8 +3216,8 @@ getBackwardSync(length:number): string | 错误码ID | 错误信息 | | -------- | ------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | -| 12800006 | input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -3253,8 +3253,8 @@ deleteForward(length:number, callback: AsyncCallback<boolean>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800002 | Input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3306,8 +3306,8 @@ deleteForward(length:number): Promise<boolean> | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800002 | Input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3351,8 +3351,8 @@ deleteForwardSync(length:number): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800002 | input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3388,8 +3388,8 @@ deleteBackward(length:number, callback: AsyncCallback<boolean>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800002 | Input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3441,8 +3441,8 @@ deleteBackward(length:number): Promise<boolean> | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800002 | Input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3482,8 +3482,8 @@ deleteBackwardSync(length:number): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800002 | input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3519,8 +3519,8 @@ insertText(text:string, callback: AsyncCallback<boolean>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800002 | Input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3567,8 +3567,8 @@ insertText(text:string): Promise<boolean> | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800002 | Input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3611,8 +3611,8 @@ insertTextSync(text: string): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800002 | input method engine error. | -| 12800003 | input method client error. | +| 12800002 | input method engine error. Possible causes: 1.input method panel not created. 2.the input method application does not subscribe to related events. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3645,7 +3645,7 @@ getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3682,7 +3682,7 @@ getEditorAttribute(): Promise<EditorAttribute> | 错误码ID | 错误信息 | | -------- | -------------------------- | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3721,7 +3721,7 @@ getEditorAttributeSync(): EditorAttribute | 错误码ID | 错误信息 | | -------- | -------------------------- | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3757,7 +3757,7 @@ moveCursor(direction: number, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3804,7 +3804,7 @@ moveCursor(direction: number): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3843,7 +3843,7 @@ moveCursorSync(direction: number): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3878,7 +3878,7 @@ selectByRange(range: Range, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3926,7 +3926,7 @@ selectByRange(range: Range): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -3966,7 +3966,7 @@ selectByRangeSync(range: Range): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -4002,7 +4002,7 @@ selectByMovement(movement: Movement, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -4050,7 +4050,7 @@ selectByMovement(movement: Movement): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -4090,7 +4090,7 @@ selectByMovementSync(movement: Movement): void | 错误码ID | 错误信息 | | -------- | -------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | **示例:** @@ -4124,8 +4124,8 @@ getTextIndexAtCursor(callback: AsyncCallback<number>): void | 错误码ID | 错误信息 | | -------- | ------------------------------ | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -4161,8 +4161,8 @@ getTextIndexAtCursor(): Promise<number> | 错误码ID | 错误信息 | | -------- | ------------------------------ | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -4196,8 +4196,8 @@ getTextIndexAtCursorSync(): number | 错误码ID | 错误信息 | | -------- | ------------------------------ | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -4236,8 +4236,8 @@ sendExtendAction(action: ExtendAction, callback: AsyncCallback<void>): voi | 错误码ID | 错误信息 | | -------- | ------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -4288,8 +4288,8 @@ sendExtendAction(action: ExtendAction): Promise<void> | 错误码ID | 错误信息 | | -------- | ------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. | -| 12800003 | input method client error. | -| 12800006 | Input method controller error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | +| 12800006 | input method controller error. Possible cause: create InputmethodController object failed. | **示例:** @@ -4339,7 +4339,7 @@ sendPrivateCommand(commandData: Record<string, CommandDataType>): Promise& | 错误码ID | 错误信息 | | -------- | ---------------------------------------------- | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | | 12800010 | not the preconfigured default input method. | **示例:** @@ -4393,7 +4393,7 @@ getCallingWindowInfo(): Promise<WindowInfo> | 错误码ID | 错误信息 | | -------- | --------------------------------- | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | | 12800012 | the input method panel does not exist. | | 12800013 | window manager service error. | @@ -4442,7 +4442,7 @@ setPreviewText(text: string, range: Range): Promise<void> | 错误码ID | 错误信息 | | -------- | ------------------------------------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | | 12800011 | text preview not supported. | **示例:** @@ -4484,7 +4484,7 @@ setPreviewTextSync(text: string, range: Range): void | 错误码ID | 错误信息 | | -------- | ------------------------------------------------------------ | | 401 | parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | | 12800011 | text preview not supported. | **示例:** @@ -4523,7 +4523,7 @@ finishTextPreview(): Promise<void> | 错误码ID | 错误信息 | | -------- | ------------------------------ | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | | 12800011 | text preview not supported. | **示例:** @@ -4560,7 +4560,7 @@ finishTextPreviewSync(): void | 错误码ID | 错误信息 | | -------- | ------------------------------ | -| 12800003 | input method client error. | +| 12800003 | input method client error. Possible causes: 1.the edit box is not focused. 2.no edit box is bound to current input method application. | | 12800011 | text preview not supported. | **示例:** @@ -4608,7 +4608,7 @@ sendMessage(msgId: string, msgParam?: ArrayBuffer): Promise