Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
f12253eb
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看板
未验证
提交
f12253eb
编写于
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
>
上级
c9875e60
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
40 addition
and
40 deletion
+40
-40
zh-cn/application-dev/reference/apis/js-apis-inputmethod.md
zh-cn/application-dev/reference/apis/js-apis-inputmethod.md
+40
-40
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-inputmethod.md
浏览文件 @
f12253eb
...
...
@@ -60,7 +60,7 @@ getController(): InputMethodController
| 错误码ID | 错误信息 |
| -------- | ------------------------------ |
| 12800006 |
I
nput method controller error. |
| 12800006 |
i
nput method controller error. |
**示例:**
...
...
@@ -88,7 +88,7 @@ getSetting(): InputMethodSetting
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800007 |
I
nput method settings extension error. |
| 12800007 |
i
nput method settings extension error. |
**示例:**
...
...
@@ -119,8 +119,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. |
**示例:**
...
...
@@ -176,8 +176,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. |
**示例:**
...
...
@@ -248,8 +248,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. |
**示例:**
...
...
@@ -309,8 +309,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. |
**示例:**
...
...
@@ -384,8 +384,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. |
**示例:**
...
...
@@ -438,8 +438,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. |
**示例:**
...
...
@@ -533,8 +533,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. |
**示例:**
...
...
@@ -576,8 +576,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. |
**示例:**
...
...
@@ -619,8 +619,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. |
**示例:**
...
...
@@ -656,8 +656,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. |
**示例:**
...
...
@@ -691,8 +691,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. |
**示例:**
...
...
@@ -728,8 +728,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. |
**示例:**
...
...
@@ -876,8 +876,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. |
**示例:**
...
...
@@ -928,8 +928,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. |
**示例:**
...
...
@@ -972,8 +972,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. |
**示例:**
...
...
@@ -1011,8 +1011,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. |
**示例:**
...
...
@@ -1049,8 +1049,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. |
**示例:**
...
...
@@ -1088,8 +1088,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. |
**返回值:**
...
...
@@ -1131,7 +1131,7 @@ showOptionalInputMethods(callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 |
| -------- | -------------------------------------- |
| 12800008 |
I
nput method manager service error. |
| 12800008 |
i
nput method manager service error. |
**示例:**
...
...
@@ -1169,7 +1169,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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录