Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
12e88735
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
12e88735
编写于
5月 19, 2023
作者:
N
ningning
提交者:
Gitee
5月 19, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update zh-cn/application-dev/reference/apis/js-apis-inputmethod.md.
Signed-off-by:
N
ningning
<
3248127340@qq.com
>
上级
8bfd4983
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
89 addition
and
89 deletion
+89
-89
zh-cn/application-dev/reference/apis/js-apis-inputmethod.md
zh-cn/application-dev/reference/apis/js-apis-inputmethod.md
+89
-89
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-inputmethod.md
浏览文件 @
12e88735
...
...
@@ -61,7 +61,7 @@ getController(): InputMethodController
| 错误码ID | 错误信息 |
| -------- | ------------------------------ |
| 12800006 |
I
nput method controller error. |
| 12800006 |
i
nput method controller error. |
**示例:**
...
...
@@ -120,8 +120,8 @@ switchInputMethod(target: InputMethodProperty, callback: AsyncCallback<boolea
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 |
C
onfiguration persisting error. |
| 12800008 |
I
nput method manager service error. |
| 12800005 |
c
onfiguration persisting error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -170,8 +170,8 @@ switchInputMethod(target: InputMethodProperty): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 |
C
onfiguration persisting error. |
| 12800008 |
I
nput method manager service error. |
| 12800005 |
c
onfiguration persisting error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -235,8 +235,8 @@ switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallb
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 |
C
onfiguration persisting error. |
| 12800008 |
I
nput method manager service error. |
| 12800005 |
c
onfiguration persisting error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -296,8 +296,8 @@ switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise<boolean&
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 |
C
onfiguration persisting error. |
| 12800008 |
I
nput method manager service error. |
| 12800005 |
c
onfiguration persisting error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -371,8 +371,8 @@ switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inp
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 |
C
onfiguration persisting error. |
| 12800008 |
I
nput method manager service error. |
| 12800005 |
c
onfiguration persisting error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -425,8 +425,8 @@ switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inp
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800005 |
C
onfiguration persisting error. |
| 12800008 |
I
nput method manager service error. |
| 12800005 |
c
onfiguration persisting error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -676,8 +676,8 @@ attach(showKeyboard: boolean, textConfig: TextConfig, callback: AsyncCallback<
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -730,8 +730,8 @@ attach(showKeyboard: boolean, textConfig: TextConfig): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -775,9 +775,9 @@ showTextInput(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -813,9 +813,9 @@ showTextInput(): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -851,9 +851,9 @@ hideTextInput(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -891,9 +891,9 @@ hideTextInput(): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -925,8 +925,8 @@ detach(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -960,8 +960,8 @@ detach(): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -996,9 +996,9 @@ setCallingWindow(windowId: number, callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1045,9 +1045,9 @@ setCallingWindow(windowId: number): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1087,9 +1087,9 @@ updateCursor(cursorInfo: CursorInfo, callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1135,9 +1135,9 @@ updateCursor(cursorInfo: CursorInfo): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1176,9 +1176,9 @@ changeSelection(text: string, start: number, end: number, callback: AsyncCallbac
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1224,9 +1224,9 @@ changeSelection(text: string, start: number, end: number): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1263,9 +1263,9 @@ updateAttribute(attribute: InputAttribute, callback: AsyncCallback<void>):
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1309,9 +1309,9 @@ updateAttribute(attribute: InputAttribute): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800009 |
I
nput method client is detached. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1349,8 +1349,8 @@ stopInputSession(callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -1394,8 +1394,8 @@ stopInputSession(): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -1439,8 +1439,8 @@ showSoftKeyboard(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -1478,8 +1478,8 @@ showSoftKeyboard(): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -1515,8 +1515,8 @@ hideSoftKeyboard(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -1554,8 +1554,8 @@ hideSoftKeyboard(): Promise<void>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800003 |
I
nput method client error. |
| 12800008 |
I
nput method manager service error. |
| 12800003 |
i
nput method client error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -1658,7 +1658,7 @@ on(type: 'insertText', callback: (text: string) => void): void;
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800009 |
I
nput method client is detached. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1713,7 +1713,7 @@ on(type: 'deleteLeft' | 'deleteRight', callback: (length: number) => void): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800009 |
I
nput method client is detached. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1777,7 +1777,7 @@ on(type: 'sendKeyboardStatus', callback: (keyBoardStatus: KeyboardStatus) => voi
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800009 |
I
nput method client is detached. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1832,7 +1832,7 @@ on(type: 'sendFunctionKey', callback: (functionKey: FunctionKey) => void): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800009 |
I
nput method client is detached. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1887,7 +1887,7 @@ on(type: 'moveCursor', callback: (direction: Direction) => void): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------- |
| 12800009 |
I
nput method client is detached. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -1942,7 +1942,7 @@ on(type: 'handleExtendAction', callback: (action: ExtendAction) => void): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800009 |
I
nput method client is detached. |
| 12800009 |
i
nput method client is detached. |
**示例:**
...
...
@@ -2179,8 +2179,8 @@ listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: Async
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 |
P
ackage manager error. |
| 12800008 |
I
nput method manager service error. |
| 12800001 |
p
ackage manager error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -2228,8 +2228,8 @@ listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise<Arr
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 |
P
ackage manager error. |
| 12800008 |
I
nput method manager service error. |
| 12800001 |
p
ackage manager error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -2269,8 +2269,8 @@ listCurrentInputMethodSubtype(callback: AsyncCallback<Array<InputMethodSub
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 |
P
ackage manager error. |
| 12800008 |
I
nput method manager service error. |
| 12800001 |
p
ackage manager error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -2308,8 +2308,8 @@ listCurrentInputMethodSubtype(): Promise<Array<InputMethodSubtype>>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 |
P
ackage manager error. |
| 12800008 |
I
nput method manager service error. |
| 12800001 |
p
ackage manager error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -2348,8 +2348,8 @@ getInputMethods(enable: boolean, callback: AsyncCallback<Array<InputMethod
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 |
P
ackage manager error. |
| 12800008 |
I
nput method manager service error. |
| 12800001 |
p
ackage manager error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -2389,8 +2389,8 @@ getInputMethods(enable: boolean): Promise<Array<InputMethodProperty>>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800001 |
P
ackage manager error. |
| 12800008 |
I
nput method manager service error. |
| 12800001 |
p
ackage manager error. |
| 12800008 |
i
nput method manager service error. |
**返回值:**
...
...
@@ -2432,7 +2432,7 @@ showOptionalInputMethods(callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800008 |
I
nput method manager service error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -2470,7 +2470,7 @@ showOptionalInputMethods(): Promise<boolean>
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800008 |
I
nput method manager service error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录