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 78f5ac3a52a5904c1e1987b19767621f15f39d7f..c2f65f2519b6040606062ccb0b4a1a2ea8b5c3ba 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 4e402714a4d35d0f5f70109feb368c2fec91b1cc..148cdc1e8f7f36af90bab415db39969aec60e7ff 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 目标设备描述符错误