From 1a7c83fc7ecaf9b9ddfcfa162d35c458b2d482a1 Mon Sep 17 00:00:00 2001 From: mayunteng_1 Date: Tue, 11 Oct 2022 17:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=AE=E9=BC=A0=E7=A9=BF=E8=B6=8A=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: mayunteng_1 Change-Id: Ife06d4689e26e5cfe23547a2e5c691f82ef41754 --- .../reference/apis/js-apis-cooperate.md | 14 ++++++++++++++ .../errorcodes/errorcodes-multimodalinput.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-cooperate.md b/zh-cn/application-dev/reference/apis/js-apis-cooperate.md index 78f5ac3a52..c2f65f2519 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-cooperate.md +++ b/zh-cn/application-dev/reference/apis/js-apis-cooperate.md @@ -100,7 +100,14 @@ start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCal | srcInputDeviceId | number | 是 | 键鼠穿越待穿越外设标识符。 | | callback | AsyncCallback\ | 是 | 异步回调函数。当键鼠穿越启动成功,err为undefined,否则为错误对象。| +**错误码:** +以下错误码的详细介绍请参见[ohos.multimodalinput错误码](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/errorcodes/errorcode-multimodalinput.md)。 + +| 错误码ID | 错误信息 | +| -------- | ---------------------------------------- | +| 4400001 | Incorrect descriptor for the target device. | +| 4400002 | Failed to operate the input device. | **示例**: @@ -141,7 +148,14 @@ start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise\ | ---------------------- | ------------------------------- | | Promise\ | Promise实例,用于异步获取结果。 | +**错误码:** + +以下错误码的详细介绍请参见[ohos.multimodalinput错误码](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/errorcodes/errorcode-multimodalinput.md)。 +| 错误码ID | 错误信息 | +| -------- | ---------------------------------------- | +| 4400001 | Incorrect descriptor for the target device. | +| 4400002 | Failed to operate the input device. | **示例**: diff --git a/zh-cn/application-dev/reference/errorcodes/errorcodes-multimodalinput.md b/zh-cn/application-dev/reference/errorcodes/errorcodes-multimodalinput.md index 4e402714a4..148cdc1e8f 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcodes-multimodalinput.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcodes-multimodalinput.md @@ -1,4 +1,4 @@ -# 多模输入子系统错误码 +# 键鼠穿越管理错误码 ## 4400001 目标设备描述符错误 -- GitLab