Available on crate feature
api-12 only.Structs§
- ArkUI_
Gesture Direction - Enumerates gesture directions.
- ArkUI_
Gesture Event - Defines the gesture event.
- ArkUI_
Gesture Event Action Type - Enumerates gesture event types.
- ArkUI_
Gesture Event Target Info - Defines a GestureEventTargetInfo object that provides information about a gesture event target.
- ArkUI_
Gesture Interrupt Info - Defines the gesture interruption information.
- ArkUI_
Gesture Interrupt Result - Enumerates gesture interruption results.
- ArkUI_
Gesture Mask - Enumerates gesture masking modes.
- ArkUI_
Gesture Priority - Enumerates gesture event modes.
- ArkUI_
Gesture Recognizer - Defines a gesture recognizer.
- ArkUI_
Gesture Recognizer State - Enumerates the gesture recognizer states.
- ArkUI_
Gesture Recognizer Type - Enumerates gesture types.
- ArkUI_
Group Gesture Mode - Enumerates gesture group modes.
- ArkUI_
Native GestureAPI_ 1 - Defines the gesture APIs.
- ArkUI_
Native GestureAPI_ 2 api-18 - Defines the gesture APIs.
- ArkUI_
Parallel Inner Gesture Event - Defines a parallel internal gesture event.
- ArkUI_
Touch Recognizer api-15 - Defines a touch recognizer.
Functions§
- OH_
ArkUI_ ⚠Gesture Event Target Info_ IsScroll Begin - Obtains whether this scroll container is scrolled to the top.
- OH_
ArkUI_ ⚠Gesture Event Target Info_ IsScroll End - Obtains whether this scroll container is scrolled to the bottom.
- OH_
ArkUI_ ⚠Gesture Event_ GetAction Type - Obtains the gesture event type.
- OH_
ArkUI_ ⚠Gesture Event_ GetRaw Input Event - Obtains gesture input.
- OH_
ArkUI_ ⚠Gesture Interrupt Info_ GetGesture Event - Obtains the pointer to the interrupted gesture event.
- OH_
ArkUI_ ⚠Gesture Interrupt Info_ GetRecognizer - Obtains the pointer to interrupted gesture recognizer.
- OH_
ArkUI_ ⚠Gesture Interrupt Info_ GetSystem Flag - Checks whether a gesture is a built-in gesture of the component.
- OH_
ArkUI_ ⚠Gesture Interrupt Info_ GetSystem Recognizer Type - Obtains the type of the system gesture to trigger.
- OH_
ArkUI_ ⚠Gesture Interrupt Info_ GetTouch Recognizers api-15 - Get the touch recognizer handles from the gesture interrupt info.
- OH_
ArkUI_ ⚠Gesture Interrupter_ GetUser Data api-18 - Obtains the custom data from a gesture interruption event.
- OH_
ArkUI_ ⚠GetGesture Bind Node Id - Obtains the ID of the component linked to a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Event Target Info - Obtains the information about a gesture event target.
- OH_
ArkUI_ ⚠GetGesture Param_ Direct Mask api-18 - Obtains the swipe direction of a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Param_ Finger Count api-18 - Obtains the number of fingers used by a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Param_ angle api-18 - Obtains the minimum angle change required for a rotation gesture to be recognized by a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Param_ distance api-18 - Obtains the allowed movement distance range for a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Param_ distance Threshold api-18 - Obtains the movement threshold for gestures to be recognized by a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Param_ duration api-18 - Obtains the minimum duration required to trigger a long press by a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Param_ limit Finger Count api-18 - Checks whether a gesture recognizer has a finger count limit.
- OH_
ArkUI_ ⚠GetGesture Param_ repeat api-18 - Checks whether a gesture recognizer supports repeated event callbacks.
- OH_
ArkUI_ ⚠GetGesture Param_ speed api-18 - Obtains the minimum swipe speed recognized by a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Recognizer Enabled - Obtains the enabled state of a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Recognizer State - Obtains the state of a gesture recognizer.
- OH_
ArkUI_ ⚠GetGesture Tag - Obtains the tag of a gesture recognizer.
- OH_
ArkUI_ ⚠GetPan Gesture Direction Mask - Obtains the direction of a pan gesture.
- OH_
ArkUI_ ⚠GetResponse Recognizers From Interrupt Info - Obtains information about a gesture response chain.
- OH_
ArkUI_ ⚠IsBuilt InGesture - Obtains whether a gesture is a built-in gesture.
- OH_
ArkUI_ ⚠IsGesture Recognizer Valid - Obtains whether a gesture recognizer is valid.
- OH_
ArkUI_ ⚠Long Press_ GetRepeat Count - Obtains the number of times that a long press gesture is triggered periodically.
- OH_
ArkUI_ ⚠PanGesture_ GetDistance ByTool Type api-19 - Obtains the movement threshold for gestures to be recognized by a gesture recognizer for a specific tool type.
- OH_
ArkUI_ ⚠PanGesture_ GetOffsetX - Obtains the relative offset of a pan gesture along the x-axis.
- OH_
ArkUI_ ⚠PanGesture_ GetOffsetY - Obtains the relative offset of a pan gesture along the y-axis.
- OH_
ArkUI_ ⚠PanGesture_ GetVelocity - Obtains the velocity of a pan gesture along the main axis.
- OH_
ArkUI_ ⚠PanGesture_ GetVelocityX - Obtains the velocity of a pan gesture along the x-axis.
- OH_
ArkUI_ ⚠PanGesture_ GetVelocityY - Obtains the velocity of a pan gesture along the y-axis.
- OH_
ArkUI_ ⚠PanGesture_ SetDistance Map api-19 - Sets the minimum movement distance thresholds for gestures to be recognized by a gesture recognizer.
- OH_
ArkUI_ ⚠Parallel Inner Gesture Event_ GetConflict Recognizers - Obtains the conflicting gesture recognizers in a parallel internal gesture event.
- OH_
ArkUI_ ⚠Parallel Inner Gesture Event_ GetCurrent Recognizer - Obtains the current gesture recognizer in a parallel internal gesture event.
- OH_
ArkUI_ ⚠Parallel Inner Gesture Event_ GetUser Data - Obtains custom data in the parallel internal gesture event.
- OH_
ArkUI_ ⚠Pinch Gesture_ GetCenterX - Obtains the X coordinate of the center of the pinch gesture, in vp, relative to the upper left corner of the current component.
- OH_
ArkUI_ ⚠Pinch Gesture_ GetCenterY - Obtains the Y coordinate of the center of the pinch gesture, in vp, relative to the upper left corner of the current component.
- OH_
ArkUI_ ⚠Pinch Gesture_ GetScale - Obtains the scale ratio of a pinch gesture.
- OH_
ArkUI_ ⚠Prevent Gesture Recognizer Begin api-20 - Prevents a gesture recognizer from participating in the current gesture recognition before all fingers are lifted. If the system has already determined the result of the gesture recognizer (regardless of success or failure), calling this API will be ineffective.
- OH_
ArkUI_ ⚠Rotation Gesture_ GetAngle - Obtains the angle information of a rotation gesture.
- OH_
ArkUI_ ⚠SetArkUI Gesture Recognizer Dispose Notify - Sets a callback function for notifying gesture recognizer destruction.
- OH_
ArkUI_ ⚠SetGesture Recognizer Enabled - Sets the enabled state of a gesture recognizer.
- OH_
ArkUI_ ⚠SetGesture Recognizer Limit Finger Count api-15 - Sets whether to enable strict finger count checking. If this feature is enabled and the actual number of touch fingers does not match the set number, the gesture recognition fails.
- OH_
ArkUI_ ⚠SetTouch Test Done Callback api-20 - Registers a callback that is executed after all gesture recognizers are collected. When the user begins touching the screen, the system performs hit testing and collects gesture recognizers based on the touch location. Subsequently, before processing any move events, the component can use this API to determine the gesture recognizers that will participate in and compete for recognition.
- OH_
ArkUI_ ⚠Swipe Gesture_ GetAngle - Obtains the angle information of the swipe gesture.
- OH_
ArkUI_ ⚠Swipe Gesture_ GetVelocity - Obtains the average velocity of all fingers used in the swipe gesture.
- OH_
ArkUI_ ⚠Touch Recognizer_ Cancel Touch api-15 - Send touch-cancel event to the touch recognizer in a gesture interruption callback.
- OH_
ArkUI_ ⚠Touch Recognizer_ GetNode Handle api-15 - Get component object of the specific touch recognizer.
Type Aliases§
- ArkUI_
Gesture Direction Mask - Defines a set of gesture directions.
- ArkUI_
Gesture Event Action Type Mask - Defines a set of gesture event types.
- ArkUI_
Gesture Recognizer Dispose Notify Callback - Defines a callback function for notifying gesture recognizer destruction.
- ArkUI_
Gesture Recognizer Handle - Defines the gesture recognizer handle.
- ArkUI_
Gesture Recognizer Handle Array - Defines the gesture recognizer handle array.
- ArkUI_
Touch Recognizer Handle api-15 - Defines a touch recognizer handle.
- ArkUI_
Touch Recognizer Handle Array api-15 - Defines an array of touch recognizer handle.