diff --git a/api/@ohos.multimodalInput.inputConsumer.d.ts b/api/@ohos.multimodalInput.inputConsumer.d.ts index b7e0d8f3c92b80bca3891291a1b74b142a76cd25..bd0666174c642d70d6c2636b8b83ad7b68e1b9e1 100644 --- a/api/@ohos.multimodalInput.inputConsumer.d.ts +++ b/api/@ohos.multimodalInput.inputConsumer.d.ts @@ -20,7 +20,6 @@ import { Callback } from './basic'; * * @since 8 * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @import import inputConsumer from '@ohos.multimodalInput.inputConsumer'; * @systemapi hide for inner use */ diff --git a/api/@ohos.multimodalInput.inputDevice.d.ts b/api/@ohos.multimodalInput.inputDevice.d.ts index 2d3cc320917d95964c54880f9856073c5797dea4..01b85fda5a8a6d4d70235fba4a66fa4efa7641fc 100755 --- a/api/@ohos.multimodalInput.inputDevice.d.ts +++ b/api/@ohos.multimodalInput.inputDevice.d.ts @@ -21,7 +21,6 @@ import { KeyCode } from "./@ohos.multimodalInput.keyCode" * * @since 8 * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @import import inputDevice from '@ohos.multimodalInput.inputDevice'; */ declare namespace inputDevice { /** @@ -93,7 +92,7 @@ declare namespace inputDevice { * @since 9 * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @param type Type of the input device event, which is **change**. - * @return Callback for the input device event. + * @returns Callback for the input device event. * @throws {BusinessError} 401 - Parameter error. */ function on(type: "change", listener: Callback): void; @@ -104,7 +103,7 @@ declare namespace inputDevice { * @since 9 * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @param type Type of the input device event, which is **change**. - * @return Callback for the input device event. + * @returns Callback for the input device event. * @throws {BusinessError} 401 - Parameter error. */ function off(type: "change", listener?: Callback): void; @@ -318,10 +317,10 @@ declare namespace inputDevice { * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @param deviceId ID of the input device. * @param keys Key codes of the input device, You can query a maximum of five key codes at a time. - * @return Returns a result indicating whether the specified key codes are supported. + * @returns Returns a result indicating whether the specified key codes are supported. * @throws {BusinessError} 401 - Parameter error. */ - function supportKeys(deviceId: number, keys: Array, callback: Callback>): void; + function supportKeys(deviceId: number, keys: Array, callback: AsyncCallback>): void; /** * Checks whether the specified key codes of an input device are supported. @@ -330,7 +329,7 @@ declare namespace inputDevice { * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @param deviceId ID of the input device. * @param keys Key codes of the input device, You can query a maximum of five key codes at a time. - * @return Returns a result indicating whether the specified key codes are supported. + * @returns Returns a result indicating whether the specified key codes are supported. * @throws {BusinessError} 401 - Parameter error. */ function supportKeys(deviceId: number, keys: Array): Promise>; @@ -341,7 +340,7 @@ declare namespace inputDevice { * @since 9 * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @param deviceId ID of the specified input device. - * @return Returns the keyboard type. + * @returns Returns the keyboard type. * @throws {BusinessError} 401 - Parameter error. */ function getKeyboardType(deviceId: number, callback: AsyncCallback): void; @@ -352,7 +351,7 @@ declare namespace inputDevice { * @since 9 * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @param deviceId ID of the specified input device. - * @return Returns the keyboard type. + * @returns Returns the keyboard type. * @throws {BusinessError} 401 - Parameter error. */ function getKeyboardType(deviceId: number): Promise; diff --git a/api/@ohos.multimodalInput.inputEvent.d.ts b/api/@ohos.multimodalInput.inputEvent.d.ts index a335447db29e23e0e60934143082320bcdfd249d..79de5c419398158fb7f2eae3c7eb7ad8a6b8a141 100755 --- a/api/@ohos.multimodalInput.inputEvent.d.ts +++ b/api/@ohos.multimodalInput.inputEvent.d.ts @@ -18,7 +18,6 @@ * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import InputEvent from '@ohos.multimodalInput.inputEvent'; */ export declare interface InputEvent { /** diff --git a/api/@ohos.multimodalInput.inputEventClient.d.ts b/api/@ohos.multimodalInput.inputEventClient.d.ts index 589bb0c18c1763dc7f7431f43b9253bd81a8a9e4..39b5a5071799314c462ba3bf6dd5ce3794dd136d 100644 --- a/api/@ohos.multimodalInput.inputEventClient.d.ts +++ b/api/@ohos.multimodalInput.inputEventClient.d.ts @@ -18,7 +18,6 @@ * * @since 8 * @syscap SystemCapability.MultimodalInput.Input.InputSimulator - * @import import inputEventClient from '@ohos.multimodalInput.inputEventClient'; * @systemapi hide for inner use */ diff --git a/api/@ohos.multimodalInput.inputMonitor.d.ts b/api/@ohos.multimodalInput.inputMonitor.d.ts index f61123da732df33d02b6c81062f7a9321ac74d9f..3d16252a7195ccd152a1311e51acc39673bb7e5c 100644 --- a/api/@ohos.multimodalInput.inputMonitor.d.ts +++ b/api/@ohos.multimodalInput.inputMonitor.d.ts @@ -21,7 +21,6 @@ import { MouseEvent } from './@ohos.multimodalInput.mouseEvent'; * System API, available only to system processes * @since 7 * @syscap SystemCapability.MultimodalInput.Input.InputMonitor - * @import import inputMonitor from '@ohos.multimodalInput.inputMonitor'; * @permission ohos.permission.INPUT_MONITORING * @systemapi hide for inner use */ @@ -63,7 +62,7 @@ declare namespace inputMonitor { function on(type:"mouse", receiver:Callback):void; /** - * Cancels listening for touch input events. + * Cancel listening for touch input events. * @since 7 * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use @@ -76,7 +75,7 @@ declare namespace inputMonitor { function off(type:"touch", receiver?:TouchEventReceiver):void; /** - * Cancels listening for mouse input events. + * Cancel listening for mouse input events. * @since 9 * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use diff --git a/api/@ohos.multimodalInput.keyCode.d.ts b/api/@ohos.multimodalInput.keyCode.d.ts index 7da279b403296627084bee2500c29478cabc7f5e..f25638ee7dbad56c203ac9c5055b30743a44cc0f 100644 --- a/api/@ohos.multimodalInput.keyCode.d.ts +++ b/api/@ohos.multimodalInput.keyCode.d.ts @@ -18,7 +18,6 @@ * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core -* @import import {KeyCode} from '@ohos.multimodalInput.keyCode', */ export declare enum KeyCode { diff --git a/api/@ohos.multimodalInput.keyEvent.d.ts b/api/@ohos.multimodalInput.keyEvent.d.ts index af0acb4ad4d6963d148e76cbddaa762aa6cd605a..d51cf1af5844da24df8581808ca999be6ea32910 100755 --- a/api/@ohos.multimodalInput.keyEvent.d.ts +++ b/api/@ohos.multimodalInput.keyEvent.d.ts @@ -19,7 +19,6 @@ import { KeyCode } from "./@ohos.multimodalInput.keyCode" * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core -* @import import {Action} from '@ohos.multimodalInput.keyEvent'; */ export declare enum Action { /** @@ -43,7 +42,6 @@ export declare enum Action { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core -* @import import {Key} from '@ohos.multimodalInput.keyEvent'; */ export declare interface Key { /** @@ -67,7 +65,6 @@ export declare interface Key { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core -* @import import {KeyEvent} from '@ohos.multimodalInput.keyEvent'; */ export declare interface KeyEvent extends InputEvent { /** diff --git a/api/@ohos.multimodalInput.mouseEvent.d.ts b/api/@ohos.multimodalInput.mouseEvent.d.ts index 8598db12bfaa6d4656a9f26699b8117173b60f4e..7828872e9c85c356649a6b6206f93a674d4df978 100755 --- a/api/@ohos.multimodalInput.mouseEvent.d.ts +++ b/api/@ohos.multimodalInput.mouseEvent.d.ts @@ -20,7 +20,6 @@ import { KeyCode } from "./@ohos.multimodalInput.keyCode" * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {Action} from '@ohos.multimodalInput.mouseEvent'; */ export declare enum Action { /** @@ -64,7 +63,6 @@ export declare enum Action { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {Button} from '@ohos.multimodalInput.mouseEvent'; */ export declare enum Button { /** @@ -113,7 +111,6 @@ export declare enum Button { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {Axis} from '@ohos.multimodalInput.mouseEvent'; */ export declare enum Axis { /** @@ -137,7 +134,6 @@ export declare enum Axis { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {AxisValue} from '@ohos.multimodalInput.mouseEvent'; */ export declare interface AxisValue { /** @@ -156,7 +152,6 @@ export declare interface AxisValue { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {MouseEvent} from '@ohos.multimodalInput.mouseEvent'; */ export declare interface MouseEvent extends InputEvent { /** diff --git a/api/@ohos.multimodalInput.pointer.d.ts b/api/@ohos.multimodalInput.pointer.d.ts index 55fa1863b6d8688f50713e6f5fa12fcb75460dfc..195b6d098f006a2e0065e0e0eb66004ad532a6c9 100644 --- a/api/@ohos.multimodalInput.pointer.d.ts +++ b/api/@ohos.multimodalInput.pointer.d.ts @@ -20,7 +20,6 @@ import { AsyncCallback } from "./basic"; * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @import import pointer from '@ohos.multimodalInput.pointer'; */ declare namespace pointer { /** @@ -242,7 +241,7 @@ declare namespace pointer { * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use * @param speed Pointer moving speed. - * @return Returns the result through a promise. + * @returns Returns the result through a promise. * @throws {BusinessError} 401 - Parameter error. */ function setPointerSpeed(speed: number): Promise; @@ -262,7 +261,7 @@ declare namespace pointer { * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use - * @return Returns the result through a promise. + * @returns Returns the result through a promise. */ function getPointerSpeed(): Promise; @@ -283,7 +282,7 @@ declare namespace pointer { * @syscap SystemCapability.MultimodalInput.Input.Pointer * @param windowId Window ID. * @param pointerStyle Pointer style. - * @return Returns the result through a promise. + * @returns Returns the result through a promise. * @throws {BusinessError} 401 - Parameter error. */ function setPointerStyle(windowId: number, pointerStyle: PointerStyle): Promise; @@ -303,7 +302,7 @@ declare namespace pointer { * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Pointer * @param windowId Window ID. - * @return Returns the result through a promise. + * @returns Returns the result through a promise. * @throws {BusinessError} 401 - Parameter error. */ function getPointerStyle(windowId: number): Promise; @@ -335,7 +334,7 @@ declare namespace pointer { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @return Returns true if the pointer icon is visible; returns false otherwise. + * @returns Returns true if the pointer icon is visible; returns false otherwise. * @throws {BusinessError} 401 - Parameter error. */ function isPointerVisible(callback: AsyncCallback): void; @@ -345,7 +344,7 @@ declare namespace pointer { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @return Returns true if the pointer icon is visible; returns false otherwise. + * @returns Returns true if the pointer icon is visible; returns false otherwise. */ function isPointerVisible(): Promise; } diff --git a/api/@ohos.multimodalInput.touchEvent.d.ts b/api/@ohos.multimodalInput.touchEvent.d.ts index bf637da06e2ba73c754b62249f8d1a6d907d3e5d..5748890333f8aa26d0e0bdc91c9adb6c52c8494c 100755 --- a/api/@ohos.multimodalInput.touchEvent.d.ts +++ b/api/@ohos.multimodalInput.touchEvent.d.ts @@ -19,7 +19,6 @@ import { InputEvent } from './@ohos.multimodalInput.inputEvent' * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {Action} from '@ohos.multimodalInput.touchEvent'; */ export declare enum Action { /** @@ -48,7 +47,6 @@ export declare enum Action { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {ToolType} from '@ohos.multimodalInput.touchEvent'; */ export declare enum ToolType { /** @@ -94,7 +92,6 @@ export declare enum ToolType { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {SourceType} from '@ohos.multimodalInput.touchEvent'; */ export declare enum SourceType { /** @@ -118,7 +115,6 @@ export declare enum SourceType { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {Touch} from '@ohos.multimodalInput.touchEvent'; */ export declare interface Touch { /** @@ -217,7 +213,6 @@ export declare interface Touch { * * @since 9 * @syscap SystemCapability.MultimodalInput.Input.Core - * @import import {TouchEvent} from '@ohos.multimodalInput.touchEvent'; */ export declare interface TouchEvent extends InputEvent { /**