Available on crate feature
api-12 only.Structs§
- ArkUI_
Modifier KeyName - Defines an enum for modifier keys.
- ArkUI_
UIInput Event - ArkUI_
UIInput Event_ Type - Enumerates the UI input event types.
- HitTest
Mode - Enumerates the hit test modes.
- Input
Event Source Type - Mouse
Event Action - Touch
Event Action - Touch
Event Tool Type
Functions§
- OH_
ArkUI_ ⚠Axis Event_ GetHorizontal Axis Value - Obtains the value of the horizontal scroll axis for this axis event.
- OH_
ArkUI_ ⚠Axis Event_ GetPinch Axis Scale Value - Obtains the scale value of the pinch axis for this axis event.
- OH_
ArkUI_ ⚠Axis Event_ GetVertical Axis Value - Obtains the value of the vertical scroll axis for this axis event.
- OH_
ArkUI_ ⚠Mouse Event_ GetMouse Action - Get the value of the mouse action type for mouse events.
- OH_
ArkUI_ ⚠Mouse Event_ GetMouse Button - Get the value of the button type for mouse events.
- OH_
ArkUI_ ⚠Pointer Event_ GetDisplayX - Obtains the X coordinate relative to the upper left corner of the current screen from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetDisplayX ByIndex - Obtains the X coordinate of a specific touch point relative to the upper left corner of the current screen from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetDisplayY - Obtains the Y coordinate relative to the upper left corner of the current screen from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetDisplayY ByIndex - Obtains the Y coordinate of a specific touch point relative to the upper left corner of the current screen from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory DisplayX - Obtains the X coordinate of a specific touch point in a historical event relative to the upper left corner of the current screen from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory DisplayY - Obtains the Y coordinate of a specific touch point in a historical event relative to the upper left corner of the current screen from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory Event Time - Obtains the occurrence time of a historical event from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory Pointer Count - Obtains the number of touch points in a specific historical event from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory Pointer Id - Obtains the ID of a touch point in a specific historical event from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory Pressure - Obtains the pressure applied to the touchscreen in a specific historical event from a directional input event (for example, a touch event)..
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory Size - Obtains the number of historical events from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory TiltX - Obtains the angle relative to the YZ plane in a specific historical event from a directional input event (for example, a touch event). The value range is [-90, 90]. A positive value indicates a rightward tilt.
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory TiltY - Obtains the angle relative to the XZ plane in a specific historical event from a directional input event (for example, a touch event). The value range is [-90, 90]. A positive value indicates a downward tilt.
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory Touch Area Height - Obtains the height of the touch area in a specific historical event from a directional input event (for example, a touch event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory Touch Area Width - Obtains the width of the touch area in a specific historical event from a directional input event (for example, a touch event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory WindowX - Obtains the X coordinate of a specific touch point in a historical event relative to the upper left corner of the current application window from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistory WindowY - Obtains the Y coordinate of a specific touch point in a historical event relative to the upper left corner of the current application window from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistoryX - Obtains the X coordinate of a specific touch point in a historical event relative to the upper left corner of the current component from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetHistoryY - Obtains the Y coordinate of a specific touch point in a historical event relative to the upper left corner of the current component from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetPointer Count - Obtains the number of touch points from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetPointer Id - Obtains the ID of a touch point from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetPressure - Obtains the pressure applied to the touchscreen from a directional input event (for example, a touch event).
- OH_
ArkUI_ ⚠Pointer Event_ GetTiltX - Obtains the angle relative to the YZ plane from a directional input event (for example, a touch event). The value range is [-90, 90]. A positive value indicates a rightward tilt.
- OH_
ArkUI_ ⚠Pointer Event_ GetTiltY - Obtains the angle relative to the XZ plane from a directional input event (for example, a touch event). The value range is [-90, 90]. A positive value indicates a downward tilt.
- OH_
ArkUI_ ⚠Pointer Event_ GetTouch Area Height - Obtains the height of the touch area from a directional input event (for example, a touch event).
- OH_
ArkUI_ ⚠Pointer Event_ GetTouch Area Width - Obtains the width of the touch area from a directional input event (for example, a touch event).
- OH_
ArkUI_ ⚠Pointer Event_ GetWindowX - Obtains the X coordinate relative to the upper left corner of the current application window from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetWindowX ByIndex - Obtains the X coordinate of a specific touch point relative to the upper left corner of the current application window from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetWindowY - Obtains the Y coordinate relative to the upper left corner of the current application window from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetWindowY ByIndex - Obtains the Y coordinate of a specific touch point relative to the upper left corner of the current application window from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetX - Obtains the X coordinate relative to the upper left corner of the current component from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetX ByIndex - Obtains the X coordinate of a specific touch point relative to the upper left corner of the current component from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetY - Obtains the Y coordinate relative to the upper left corner of the current component from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ GetY ByIndex - Obtains the Y coordinate of a specific touch point relative to the upper left corner of the current component from a directional input event (such as a touch event, mouse event, or axis event).
- OH_
ArkUI_ ⚠Pointer Event_ SetIntercept HitTest Mode - Sets how the component behaves during hit testing.
- OH_
ArkUI_ ⚠Pointer Event_ SetStop Propagation - Sets whether to prevent event bubbling.
- OH_
ArkUI_ ⚠UIInput Event_ GetAction - Obtains the action type of this UI input event.
- OH_
ArkUI_ ⚠UIInput Event_ GetDevice Id api-14 - Obtains the ID of device that triggers UI input event.
- OH_
ArkUI_ ⚠UIInput Event_ GetEvent Time - Obtains the time when this UI input event occurs.
- OH_
ArkUI_ ⚠UIInput Event_ GetPressed Keys api-14 - Obtains the pressed status of modifier keys from UI input event. The following modifier keys are supported: Ctrl, Alt, Shift, Fn. However, the Fn key on external keyboards is not supported.
- OH_
ArkUI_ ⚠UIInput Event_ GetSource Type - Obtains the source type of this UI input event.
- OH_
ArkUI_ ⚠UIInput Event_ GetTool Type - Obtains the tool type of this UI input event.
- OH_
ArkUI_ ⚠UIInput Event_ GetType - Obtains the type of this UI input event.