mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 22:24:20 +00:00
update api/@ohos.multimodalInput.inputConsumer.d.ts.
Signed-off-by: pengyuan <lipengyuan4@huawei.com>
This commit is contained in:
parent
34ba55e6a9
commit
1b23af5354
11
api/@ohos.multimodalInput.inputConsumer.d.ts
vendored
11
api/@ohos.multimodalInput.inputConsumer.d.ts
vendored
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Huawei Device Co., Ltd.
|
||||
* Copyright (C) 2021-2023 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@ -131,10 +131,11 @@ declare namespace inputConsumer {
|
||||
/**
|
||||
* Sets whether shield key event interception, only support shield key event.
|
||||
*
|
||||
* @permission ohos.permission.INPUT_DISPATCHING_CONTROL
|
||||
* @param { ShieldMode } shieldMode - Accroding the shield mode select shield key event range.
|
||||
* @param { boolean } isShield - Indicates whether key event handler chain is shield. The value <b>true</b> indicates
|
||||
* all key events derictly dispatch to window, if the value <b>false</b> indicates not shield key event interception,
|
||||
* handle by the chain.
|
||||
* @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.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
|
||||
@ -146,8 +147,10 @@ declare namespace inputConsumer {
|
||||
/**
|
||||
* Gets shield event interception status corresponding to shield mode
|
||||
*
|
||||
* @permission ohos.permission.INPUT_DISPATCHING_CONTROL
|
||||
* @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.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
|
||||
|
Loading…
Reference in New Issue
Block a user