diff --git a/api/@ohos.multimodalInput.gestureEvent.d.ts b/api/@ohos.multimodalInput.gestureEvent.d.ts index 254168695ae3670e55c8f6ba9ada86abe6395451..d492d4604864c6f817820e4a745e1b3f549fe34a 100644 --- a/api/@ohos.multimodalInput.gestureEvent.d.ts +++ b/api/@ohos.multimodalInput.gestureEvent.d.ts @@ -42,12 +42,12 @@ export declare interface Pinch { /** * scale - * @type { number } + * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - scale: number; + scale: double; } /** @@ -72,12 +72,12 @@ export declare interface Rotate { /** * Rotate angle * - * @type { number } + * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - angle: number; + angle: double; } /** @@ -100,21 +100,21 @@ export declare interface ThreeFingersSwipe { /** * Coordinate x - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - x: number; + x: int; /** * Coordinate y - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - y: number; + y: int; } /** @@ -137,21 +137,21 @@ export declare interface FourFingersSwipe { /** * Coordinate x - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - x: number; + x: int; /** * Coordinate y - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - y: number; + y: int; } /** @@ -176,23 +176,23 @@ export declare interface SwipeInward { /** * Coordinate x - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - x: number; + x: int; /** * Coordinate y - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - y: number; + y: int; } /** diff --git a/api/@ohos.multimodalInput.inputDevice.d.ts b/api/@ohos.multimodalInput.inputDevice.d.ts index de79427030cc5421034e199c107f77cf1fcfe495..4d9b4ad0604db7908f8bb063d4d176898d006a96 100644 --- a/api/@ohos.multimodalInput.inputDevice.d.ts +++ b/api/@ohos.multimodalInput.inputDevice.d.ts @@ -74,14 +74,16 @@ declare namespace inputDevice { /** * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ enum KeyboardType { /** * None * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ NONE = 0, @@ -89,7 +91,8 @@ declare namespace inputDevice { * Unknown key * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ UNKNOWN = 1, @@ -97,7 +100,8 @@ declare namespace inputDevice { * Alphabetical keyboard * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ ALPHABETIC_KEYBOARD = 2, @@ -105,7 +109,8 @@ declare namespace inputDevice { * Digital keyboard * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ DIGITAL_KEYBOARD = 3, @@ -113,7 +118,8 @@ declare namespace inputDevice { * Stylus * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ HANDWRITING_PEN = 4, @@ -121,7 +127,8 @@ declare namespace inputDevice { * Remote control * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ REMOTE_CONTROL = 5 } @@ -131,14 +138,16 @@ declare namespace inputDevice { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ enum FunctionKey { /** * CapsLock key. Enabling or disabling the CapsLock key is allowed only for input keyboard extensions. * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ CAPS_LOCK = 1 } @@ -165,12 +174,12 @@ declare namespace inputDevice { /** * ID of the input device for the reported input device event. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - deviceId: number; + deviceId: int; } /** @@ -233,52 +242,52 @@ declare namespace inputDevice { /** * Maximum value of the data reported on this axis. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'8', '1.2':'20'} * @arkts 1.1&1.2 */ - max: number; + max: int; /** * Minimum value of the data reported on this axis. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'8', '1.2':'20'} * @arkts 1.1&1.2 */ - min: number; + min: int; /** * Fuzz value of the data reported on this axis. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - fuzz: number; + fuzz: int; /** * Flat value of the data reported on this axis. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - flat: number; + flat: int; /** * Resolution value of the data reported on this axis. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - resolution: number; + resolution: int; } /** @@ -293,12 +302,12 @@ declare namespace inputDevice { /** * Id of the input device. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'8', '1.2':'20'} * @arkts 1.1&1.2 */ - id: number; + id: int; /** * Name of the input device. @@ -334,42 +343,42 @@ declare namespace inputDevice { /** * Bus of the input device. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - bus: number; + bus: int; /** * Product of the input device. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - product: number; + product: int; /** * Vendor of the input device. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - vendor: number; + vendor: int; /** * Version of the input device. * - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - version: number; + version: int; /** * Physical path of the input device. diff --git a/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts b/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts index b0ae78993a0a609754d534c0ed954861bf050619..e6270c46565347f4c7810f1544d0da462b446da7 100644 --- a/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts +++ b/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts @@ -28,7 +28,6 @@ import { AsyncCallback } from "./@ohos.base"; * @since 9 */ - declare namespace inputDeviceCooperate { /** * Enumerates mouse traversal events. diff --git a/api/@ohos.multimodalInput.inputEvent.d.ts b/api/@ohos.multimodalInput.inputEvent.d.ts index 526adc0e24369d85151feb4009b3d29a3977e3a9..784ef1f92036cdcc044dcee6ed1893ad04c171db 100644 --- a/api/@ohos.multimodalInput.inputEvent.d.ts +++ b/api/@ohos.multimodalInput.inputEvent.d.ts @@ -23,8 +23,7 @@ * * @interface InputEvent * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ /** * InputEvent @@ -38,10 +37,9 @@ export declare interface InputEvent { /** * Unique event ID generated by the server - * @type { int } + * @type { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ /** * Unique event ID generated by the server @@ -55,10 +53,9 @@ export declare interface InputEvent { /** * ID of the device that reports the input event - * @type { int } + * @type { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ /** * ID of the device that reports the input event @@ -72,10 +69,9 @@ export declare interface InputEvent { /** * Occurrence time of the input event - * @type { int } + * @type { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ /** * Occurrence time of the input event @@ -89,10 +85,9 @@ export declare interface InputEvent { /** * ID of the target screen - * @type { int } + * @type { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ /** * ID of the target screen @@ -106,10 +101,9 @@ export declare interface InputEvent { /** * ID of the target window - * @type { int } + * @type { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ /** * ID of the target window diff --git a/api/@ohos.multimodalInput.inputEventClient.d.ts b/api/@ohos.multimodalInput.inputEventClient.d.ts index fc4b4d1811a0659e0d4c8891e30cf71b847b33ad..ed7486904a7a52a62760e9418b00ce78afd2f1ce 100644 --- a/api/@ohos.multimodalInput.inputEventClient.d.ts +++ b/api/@ohos.multimodalInput.inputEventClient.d.ts @@ -101,7 +101,8 @@ declare namespace inputEventClient { * @interface TouchEventData * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ interface TouchEventData { /** @@ -110,7 +111,8 @@ declare namespace inputEventClient { * @type { TouchEvent } * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ touchEvent: TouchEvent; } diff --git a/api/@ohos.multimodalInput.inputMonitor.d.ts b/api/@ohos.multimodalInput.inputMonitor.d.ts index e0ddd4572d8774893605f0e63df7442a117ff119..cfaff18a177ec349bd3e838af77463ae385a0d8a 100644 --- a/api/@ohos.multimodalInput.inputMonitor.d.ts +++ b/api/@ohos.multimodalInput.inputMonitor.d.ts @@ -45,7 +45,8 @@ declare namespace inputMonitor { * @interface TouchEventReceiver * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 7 + * @since arkts {'1.1':'7', '1.2':'20'} + * @arkts 1.1&1.2 */ interface TouchEventReceiver { /** diff --git a/api/@ohos.multimodalInput.intentionCode.d.ts b/api/@ohos.multimodalInput.intentionCode.d.ts index ee127fa5db0eb42d848113e48c0b91c0d5c85f5c..cb47f8ec168b9e84926fc4ca5d3932a698eaebde 100644 --- a/api/@ohos.multimodalInput.intentionCode.d.ts +++ b/api/@ohos.multimodalInput.intentionCode.d.ts @@ -23,8 +23,7 @@ * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * IntentionCode @@ -40,8 +39,7 @@ export declare enum IntentionCode { * INTENTION_UNKNOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_UNKNOWN @@ -57,8 +55,7 @@ export declare enum IntentionCode { * INTENTION_UP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_UP @@ -74,8 +71,7 @@ export declare enum IntentionCode { * INTENTION_DOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_DOWN @@ -91,8 +87,7 @@ export declare enum IntentionCode { * INTENTION_LEFT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_LEFT @@ -108,8 +103,7 @@ export declare enum IntentionCode { * INTENTION_RIGHT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_RIGHT @@ -125,8 +119,7 @@ export declare enum IntentionCode { * INTENTION_SELECT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_SELECT @@ -142,8 +135,7 @@ export declare enum IntentionCode { * INTENTION_ESCAPE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_ESCAPE @@ -159,8 +151,7 @@ export declare enum IntentionCode { * INTENTION_BACK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_BACK @@ -176,8 +167,7 @@ export declare enum IntentionCode { * INTENTION_FORWARD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_FORWARD @@ -193,8 +183,7 @@ export declare enum IntentionCode { * INTENTION_MENU * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_MENU @@ -210,8 +199,7 @@ export declare enum IntentionCode { * INTENTION_PAGE_UP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_PAGE_UP @@ -227,8 +215,7 @@ export declare enum IntentionCode { * INTENTION_PAGE_DOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_PAGE_DOWN @@ -244,8 +231,7 @@ export declare enum IntentionCode { * INTENTION_ZOOM_OUT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_ZOOM_OUT @@ -261,8 +247,7 @@ export declare enum IntentionCode { * INTENTION_ZOOM_IN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ /** * INTENTION_ZOOM_IN diff --git a/api/@ohos.multimodalInput.keyCode.d.ts b/api/@ohos.multimodalInput.keyCode.d.ts index 25874dafe8e50e303bf2419a6a321194cff49272..6d9a01c1e0662380f8fd9b1782b2db2abb6fc8c5 100644 --- a/api/@ohos.multimodalInput.keyCode.d.ts +++ b/api/@ohos.multimodalInput.keyCode.d.ts @@ -92,7 +92,7 @@ export declare enum KeyCode { * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 1.1&1.2 */ KEYCODE_MEDIA_PLAY_PAUSE = 10, @@ -108,7 +108,7 @@ export declare enum KeyCode { * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 1.1&1.2 */ KEYCODE_MEDIA_STOP = 11, @@ -124,7 +124,7 @@ export declare enum KeyCode { * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 1.1&1.2 */ KEYCODE_MEDIA_NEXT = 12, @@ -140,7 +140,7 @@ export declare enum KeyCode { * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 1.1&1.2 */ KEYCODE_MEDIA_PREVIOUS = 13, @@ -156,7 +156,7 @@ export declare enum KeyCode { * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 1.1&1.2 */ KEYCODE_MEDIA_REWIND = 14, @@ -172,7 +172,7 @@ export declare enum KeyCode { * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 1.1&1.2 */ KEYCODE_MEDIA_FAST_FORWARD = 15, @@ -1017,8 +1017,7 @@ export declare enum KeyCode { * KEYCODE_MEDIA_PLAY * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ /** * KEYCODE_MEDIA_PLAY @@ -1026,7 +1025,7 @@ export declare enum KeyCode { * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 1.1&1.2 */ KEYCODE_MEDIA_PLAY = 2085, @@ -1034,8 +1033,7 @@ export declare enum KeyCode { * KEYCODE_MEDIA_PAUSE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ /** * KEYCODE_MEDIA_PAUSE @@ -1043,7 +1041,7 @@ export declare enum KeyCode { * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @arkts 1.1&1.2 */ KEYCODE_MEDIA_PAUSE = 2086, diff --git a/api/@ohos.multimodalInput.mouseEvent.d.ts b/api/@ohos.multimodalInput.mouseEvent.d.ts index f1728d31420b37698c29738475107e12003fac5e..3ad44af0f1d771992efaa8f6725aac7dd6773c06 100644 --- a/api/@ohos.multimodalInput.mouseEvent.d.ts +++ b/api/@ohos.multimodalInput.mouseEvent.d.ts @@ -256,12 +256,12 @@ export declare interface AxisValue { /** * Axis value - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - value: number; + value: int; } /** @@ -331,58 +331,58 @@ export declare interface MouseEvent extends InputEvent { /** * X coordinate of the mouse pointer on the screen - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - screenX: number; + screenX: int; /** * Y coordinate of the mouse pointer on the screen - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - screenY: number; + screenY: int; /** * X coordinate of the mouse pointer in the window - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - windowX: number; + windowX: int; /** * Y coordinate of the mouse pointer in the window - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - windowY: number; + windowY: int; /** * X axis offset relative to the previous reported mouse pointer position. When the mouse pointer is at * the edge of the screen, the value may be less than the difference of the X coordinate reported twice. - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - rawDeltaX: number; + rawDeltaX: int; /** * Y axis offset relative to the previous reported mouse pointer position - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - rawDeltaY: number; + rawDeltaY: int; /** * Button that is currently pressed or released diff --git a/api/@ohos.multimodalInput.shortKey.d.ts b/api/@ohos.multimodalInput.shortKey.d.ts index 8aa54864f0d5b359ffa4235b5c3b7ef6bce65fdb..133f86c943a7b4d5604e4a28132fdaa708ffbfea 100644 --- a/api/@ohos.multimodalInput.shortKey.d.ts +++ b/api/@ohos.multimodalInput.shortKey.d.ts @@ -66,7 +66,8 @@ export default shortKey; * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ export declare enum FingerprintAction { /** @@ -74,7 +75,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ DOWN = 0, @@ -83,7 +85,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ UP = 1, @@ -92,7 +95,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ SLIDE = 2, @@ -101,7 +105,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ RETOUCH = 3, @@ -110,7 +115,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ CLICK = 4, } @@ -121,7 +127,8 @@ export declare enum FingerprintAction { * @interface FingerprintEvent * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ export declare interface FingerprintEvent { /** @@ -130,7 +137,8 @@ export declare interface FingerprintEvent { * @type { FingerprintAction } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ action: FingerprintAction; @@ -144,12 +152,13 @@ export declare interface FingerprintEvent { * and the horizontal rightward direction stands for the positive direction of the X axis. * This way, a rectangular coordinate system is constructed. * - * @type { number } + * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ - distanceX: number; + distanceX: double; /** * This value indicates the sliding percentage of the fingerprint key on the Y axis, @@ -161,10 +170,11 @@ export declare interface FingerprintEvent { * and the horizontal rightward direction stands for the positive direction of the X axis. * This way, a rectangular coordinate system is constructed. * - * @type { number } + * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ - distanceY: number; + distanceY: double; } \ No newline at end of file diff --git a/api/@ohos.multimodalInput.touchEvent.d.ts b/api/@ohos.multimodalInput.touchEvent.d.ts index 1ecef64bebf5724af99a9f9a9b3554095a5e4454..83b125be8cfba55aef7baeda7be0de3c0da91250 100644 --- a/api/@ohos.multimodalInput.touchEvent.d.ts +++ b/api/@ohos.multimodalInput.touchEvent.d.ts @@ -232,156 +232,156 @@ export declare enum FixedMode { export declare interface Touch { /** * Pointer identifier - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - id: number; + id: int; /** * Time stamp when touch is pressed - * @type { number } + * @type { long } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - pressedTime: number; + pressedTime: long; /** * X coordinate of the touch position on the screen - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - screenX: number; + screenX: int; /** * Y coordinate of the touch position on the screen - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - screenY: number; + screenY: int; /** * X coordinate of the touch position in the window - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - windowX: number; + windowX: int; /** * Y coordinate of the touch position in the window - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - windowY: number; + windowY: int; /** * Pressure value. The value range is [0.0, 1.0]. The value 0.0 indicates that the pressure is not supported. - * @type { number } + * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - pressure: number; + pressure: double; /** * Width of the contact area when touch is pressed - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - width: number; + width: int; /** * Height of the contact area when touch is pressed - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - height: number; + height: int; /** * Angle relative to the YZ plane. The value range is [-90, 90]. A positive value indicates a rightward tilt. - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - tiltX: number; + tiltX: int; /** * Angle relative to the XZ plane. The value range is [-90, 90]. A positive value indicates a downward tilt. - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - tiltY: number; + tiltY: int; /** * Center point X of the tool area - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - toolX: number; + toolX: int; /** * Center point Y of the tool area - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - toolY: number; + toolY: int; /** * Width of the tool area - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - toolWidth: number; + toolWidth: int; /** * Height of the tool area - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - toolHeight: number; + toolHeight: int; /** * X coordinate of the input device - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - rawX: number; + rawX: int; /** * Y coordinate of the input device - * @type { number } + * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - rawY: number; + rawY: int; /** * Tool type @@ -394,23 +394,23 @@ export declare interface Touch { /** * fixedDisplayX - Corrected value of the screen x coordinate. - * @type { number } + * @type { ?int } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. * @since arkts {'1.1':'19', '1.2':'20'} * @arkts 1.1&1.2 */ - fixedDisplayX?: number; + fixedDisplayX?: int; /** * fixedDisplayY - Corrected value of the screen y coordinate. - * @type { number } + * @type { ?int } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. * @since arkts {'1.1':'19', '1.2':'20'} * @arkts 1.1&1.2 */ - fixedDisplayY?: number; + fixedDisplayY?: int; } /**