From 345a1df4651a3e66c51e298763f5e8e27f9f1735 Mon Sep 17 00:00:00 2001 From: mayunteng_1 Date: Wed, 21 Dec 2022 10:07:09 +0800 Subject: [PATCH] Signed-off-by: mayunteng_1 Change-Id: If50529361ca04a96f305777b9c61a1a099126d6b --- .../changelogs-multimodalinput.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md index 5cf5ee1992..34a5ee4634 100755 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md @@ -2,8 +2,8 @@ ## cl.multimodalinput.1 API错误信息返回方式变更 -如下接口使用业务逻辑返回值表示错误信息,不符合OpenHarmony接口错误码规范。从API9开始作以下变更, - 设备管理:三方接口,@ohos.multimodalInput.inputDevice.d.ts +如下原有接口使用业务逻辑返回值表示错误信息,不符合OpenHarmony接口错误码规范。从API9开始作以下变更, +设备管理:三方接口,@ohos.multimodalInput.inputDevice.d.ts 按键订阅:系统接口,@ohos.multimodalInput.inputConsumer.d.ts @@ -46,10 +46,10 @@ - **function** getDeviceInfo(deviceId: **number**): Promise; 以下接口增加错误码处理: - - **function** supportKeys(deviceId: **number**, keys: Array, callback: AsyncCallback>): **void**; - - **function** supportKeys(deviceId: **number**, keys: Array): Promise>; - - **function** getKeyboardType(deviceId: **number**, callback: AsyncCallback): **void**; > - - **function** getKeyboardType(deviceId: **number**): Promise; + - **function** supportKeys(deviceId: **number**, keys: Array, callback: AsyncCallback>): **void**; + - **function** supportKeys(deviceId: **number**, keys: Array): Promise>; + - **function** getKeyboardType(deviceId: **number**, callback: AsyncCallback): **void**; > + - **function** getKeyboardType(deviceId: **number**): Promise; - **function** setPointerSpeed(speed: **number**, callback: AsyncCallback<**void**>): **void**; - **function** setPointerSpeed(speed: **number**): Promise<**void**>; - **function** getPointerSpeed(callback: AsyncCallback<**number**>): **void**; -- GitLab