diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md b/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md index 610cea86fa55077627a85f0492d8c752a5529722..2fe24e794d4518ac5c557513d1c659a2d44c61ae 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md @@ -61,7 +61,7 @@ getController(): InputMethodController | 错误码ID | 错误信息 | | -------- | ------------------------------ | -| 12800006 | Input method controller error. | +| 12800006 | input method controller error. | **示例:** @@ -120,8 +120,8 @@ switchInputMethod(target: InputMethodProperty, callback: AsyncCallback<boolea | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800005 | Configuration persisting error. | -| 12800008 | Input method manager service error. | +| 12800005 | configuration persisting error. | +| 12800008 | input method manager service error. | **示例:** @@ -170,8 +170,8 @@ switchInputMethod(target: InputMethodProperty): Promise<boolean> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800005 | Configuration persisting error. | -| 12800008 | Input method manager service error. | +| 12800005 | configuration persisting error. | +| 12800008 | input method manager service error. | **示例:** @@ -235,8 +235,8 @@ switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallb | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800005 | Configuration persisting error. | -| 12800008 | Input method manager service error. | +| 12800005 | configuration persisting error. | +| 12800008 | input method manager service error. | **示例:** @@ -296,8 +296,8 @@ switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise<boolean& | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800005 | Configuration persisting error. | -| 12800008 | Input method manager service error. | +| 12800005 | configuration persisting error. | +| 12800008 | input method manager service error. | **示例:** @@ -371,8 +371,8 @@ switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inp | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800005 | Configuration persisting error. | -| 12800008 | Input method manager service error. | +| 12800005 | configuration persisting error. | +| 12800008 | input method manager service error. | **示例:** @@ -425,8 +425,8 @@ switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inp | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800005 | Configuration persisting error. | -| 12800008 | Input method manager service error. | +| 12800005 | configuration persisting error. | +| 12800008 | input method manager service error. | **示例:** @@ -676,8 +676,8 @@ attach(showKeyboard: boolean, textConfig: TextConfig, callback: AsyncCallback< | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -730,8 +730,8 @@ attach(showKeyboard: boolean, textConfig: TextConfig): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -775,9 +775,9 @@ showTextInput(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -813,9 +813,9 @@ showTextInput(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -851,9 +851,9 @@ hideTextInput(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -891,9 +891,9 @@ hideTextInput(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -925,8 +925,8 @@ detach(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -960,8 +960,8 @@ detach(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -996,9 +996,9 @@ setCallingWindow(windowId: number, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -1045,9 +1045,9 @@ setCallingWindow(windowId: number): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -1087,9 +1087,9 @@ updateCursor(cursorInfo: CursorInfo, callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -1135,9 +1135,9 @@ updateCursor(cursorInfo: CursorInfo): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -1176,9 +1176,9 @@ changeSelection(text: string, start: number, end: number, callback: AsyncCallbac | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -1224,9 +1224,9 @@ changeSelection(text: string, start: number, end: number): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -1263,9 +1263,9 @@ updateAttribute(attribute: InputAttribute, callback: AsyncCallback<void>): | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -1309,9 +1309,9 @@ updateAttribute(attribute: InputAttribute): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | -| 12800009 | Input method client is detached. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | +| 12800009 | input method client is detached. | **示例:** @@ -1349,8 +1349,8 @@ stopInputSession(callback: AsyncCallback<boolean>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -1394,8 +1394,8 @@ stopInputSession(): Promise<boolean> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -1439,8 +1439,8 @@ showSoftKeyboard(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -1478,8 +1478,8 @@ showSoftKeyboard(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -1515,8 +1515,8 @@ hideSoftKeyboard(callback: AsyncCallback<void>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -1554,8 +1554,8 @@ hideSoftKeyboard(): Promise<void> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800003 | Input method client error. | -| 12800008 | Input method manager service error. | +| 12800003 | input method client error. | +| 12800008 | input method manager service error. | **示例:** @@ -1658,7 +1658,7 @@ on(type: 'insertText', callback: (text: string) => void): void; | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800009 | Input method client is detached. | +| 12800009 | input method client is detached. | **示例:** @@ -1713,7 +1713,7 @@ on(type: 'deleteLeft' | 'deleteRight', callback: (length: number) => void): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800009 | Input method client is detached. | +| 12800009 | input method client is detached. | **示例:** @@ -1777,7 +1777,7 @@ on(type: 'sendKeyboardStatus', callback: (keyBoardStatus: KeyboardStatus) => voi | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800009 | Input method client is detached. | +| 12800009 | input method client is detached. | **示例:** @@ -1832,7 +1832,7 @@ on(type: 'sendFunctionKey', callback: (functionKey: FunctionKey) => void): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800009 | Input method client is detached. | +| 12800009 | input method client is detached. | **示例:** @@ -1887,7 +1887,7 @@ on(type: 'moveCursor', callback: (direction: Direction) => void): void | 错误码ID | 错误信息 | | -------- | -------------------------------- | -| 12800009 | Input method client is detached. | +| 12800009 | input method client is detached. | **示例:** @@ -1942,7 +1942,7 @@ on(type: 'handleExtendAction', callback: (action: ExtendAction) => void): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800009 | Input method client is detached. | +| 12800009 | input method client is detached. | **示例:** @@ -2179,8 +2179,8 @@ listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: Async | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800001 | Package manager error. | -| 12800008 | Input method manager service error. | +| 12800001 | package manager error. | +| 12800008 | input method manager service error. | **示例:** @@ -2228,8 +2228,8 @@ listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise<Arr | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800001 | Package manager error. | -| 12800008 | Input method manager service error. | +| 12800001 | package manager error. | +| 12800008 | input method manager service error. | **示例:** @@ -2269,8 +2269,8 @@ listCurrentInputMethodSubtype(callback: AsyncCallback<Array<InputMethodSub | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800001 | Package manager error. | -| 12800008 | Input method manager service error. | +| 12800001 | package manager error. | +| 12800008 | input method manager service error. | **示例:** @@ -2308,8 +2308,8 @@ listCurrentInputMethodSubtype(): Promise<Array<InputMethodSubtype>> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800001 | Package manager error. | -| 12800008 | Input method manager service error. | +| 12800001 | package manager error. | +| 12800008 | input method manager service error. | **示例:** @@ -2348,8 +2348,8 @@ getInputMethods(enable: boolean, callback: AsyncCallback<Array<InputMethod | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800001 | Package manager error. | -| 12800008 | Input method manager service error. | +| 12800001 | package manager error. | +| 12800008 | input method manager service error. | **示例:** @@ -2389,8 +2389,8 @@ getInputMethods(enable: boolean): Promise<Array<InputMethodProperty>> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800001 | Package manager error. | -| 12800008 | Input method manager service error. | +| 12800001 | package manager error. | +| 12800008 |input method manager service error. | **返回值:** @@ -2432,7 +2432,7 @@ showOptionalInputMethods(callback: AsyncCallback<boolean>): void | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800008 | Input method manager service error. | +| 12800008 | input method manager service error. | **示例:** @@ -2470,7 +2470,7 @@ showOptionalInputMethods(): Promise<boolean> | 错误码ID | 错误信息 | | -------- | -------------------------------------- | -| 12800008 | Input method manager service error. | +| 12800008 | input method manager service error. | **示例:**