Signed-off-by:mayunteng_1<mayunteng@huawei.com>

Signed-off-by: mayunteng_1 <mayunteng@huawei.com>
Change-Id: I26d6087a79cf36c43e9dca26eb7fbad6d6d93642
This commit is contained in:
mayunteng_1 2022-02-14 06:14:55 +00:00
parent 980e115496
commit 8ed419be8b
3 changed files with 13 additions and 13 deletions

View File

@ -19,7 +19,7 @@ import { AsyncCallback } from './basic';
* The event of key input management module is configured to subscribe and unsubscribe system keys.
*
* @since 8
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
* @import import inputConsumer from '@ohos.multimodalInput.inputConsumer';
* @permission N/A
*/
@ -28,7 +28,7 @@ declare namespace inputConsumer {
/**
* Defines event of key that user want to subscribe or unsubscribe.
*
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
* @param preKeys The pre-keys that want to subscribe or unsubscribe.
* @param finalKey The post position key that want to subscribe or unsubscribe.
* @param isFinalKeyDown The final key press down or up.
@ -45,7 +45,7 @@ declare namespace inputConsumer {
* Subscribe system keys.
*
* @since 8
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
* @permission N/A
* @param type type of the keyevent about input which is to be subscribed.
* @param keyOption the key events about input which is to be subscribed.
@ -57,7 +57,7 @@ declare namespace inputConsumer {
* Subscribe system keys.
*
* @since 8
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
* @permission N/A
* @param type type of the keyevent about input which is to be subscribed.
* @param keyOption the key events about input which is to be subscribed.

View File

@ -19,7 +19,7 @@ import { AsyncCallback } from './basic';
* The input device management module is configured to obtain an ID and device information of an input device.
*
* @since 8
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
* @import import inputDevice from '@ohos.multimodalInput.inputDevice';
* @permission N/A
*/
@ -34,7 +34,7 @@ declare namespace inputDevice {
* For example, a touchscreen may report information such as x, y, and pressure,
* which indicate the x-axis coordinate, y-axis coordinate, and pressure, respectively.
*
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
* @param source Input source type of the axis. For example, if a mouse reports an x-axis event, the source of the x-axis is the mouse.
* @param axis Type of the axis. for example, the x-axis, y-axis, and pressure axis.
* @param max Maximum value of the data reported on this axis.
@ -50,7 +50,7 @@ declare namespace inputDevice {
/**
* Defines the information about an input device.
*
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
* @param name Name of the input device.
* @param sources Source type supported by the input device. For example, if a keyboard is attached with a touchpad, the device has two input sources: keyboard and touchpad.
*/
@ -65,7 +65,7 @@ declare namespace inputDevice {
* Obtains the IDs of all input devices.
*
* @since 8
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
* @permission N/A
* @param callback callback function, receive reported data
*/
@ -75,7 +75,7 @@ declare namespace inputDevice {
* Obtain the information about an input device.
*
* @since 8
* @syscap SystemCapability.MultimodalInput.MULTIMODAL_INPUT
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
* @permission N/A
* @param deviceId ID of the input device whose information is to be obtained.
* @param callback callback function, receive reported data

View File

@ -16,7 +16,7 @@
* Global Input Event Listener
* System API, available only to system processes
* @since 7
* @sysCap SystemCapability.MultimodalInput.Input.InputMonitor
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
* @import import inputMonitor from '@ohos.multimodalInput.inputMonitor';
* @permission ohos.permission.INPUT_MONITORING
* @systemapi hide for inner use
@ -25,7 +25,7 @@ declare namespace inputMonitor {
/**
* Callback function of the touch input event. If true is returned, the touch input is consumed by the monitor (the system performs the closing action).
* @since 7
* @sysCap SystemCapability.MultimodalInput.Input.InputMonitor
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
* @systemapi hide for inner use
*/
interface TouchEventReceiver {
@ -35,7 +35,7 @@ declare namespace inputMonitor {
/**
* Listening for touch input events
* @since 7
* @sysCap SystemCapability.MultimodalInput.Input.InputMonitor
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
* @systemapi hide for inner use
* @permission ohos.permission.INPUT_MONITORING
* @param type register event type
@ -46,7 +46,7 @@ declare namespace inputMonitor {
/**
* Cancels listening for touch input events
* @since 7
* @sysCap SystemCapability.MultimodalInput.Input.InputMonitor
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
* @systemapi hide for inner use
* @permission ohos.permission.INPUT_MONITORING
* @param type register event type