update api/@ohos.multimodalInput.inputConsumer.d.ts.

Signed-off-by: pengyuan <lipengyuan4@huawei.com>
This commit is contained in:
pengyuan 2023-11-02 14:24:17 +00:00 committed by Gitee
parent 1b23af5354
commit 034a427ab2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -131,7 +131,7 @@ declare namespace inputConsumer {
/**
* Sets whether shield key event interception, only support shield key event.
*
* @permission ohos.permission.INPUT_DISPATCHING_CONTROL
* @permission ohos.permission.INPUT_CONTROL_DISPATCHING
* @param { ShieldMode } shieldMode - Accroding the shield mode select shield key event range.
* @param { boolean } isShield - Indicates whether control key event dispatch. The value <b>true</b> indicates
* all key events derictly dispatch to window, if the value <b>false</b> indicates not shiled shortcut key.
@ -147,7 +147,7 @@ declare namespace inputConsumer {
/**
* Gets shield event interception status corresponding to shield mode
*
* @permission ohos.permission.INPUT_DISPATCHING_CONTROL
* @permission ohos.permission.INPUT_CONTROL_DISPATCHING
* @param { ShieldMode } shieldMode - Accroding the shield mode select shield key event range.
* @returns { boolean } Returns true if shield event interception, returns false otherwise.
* @throws { BusinessError } 201 - Permission denied.