diff --git a/zh-cn/native_sdk/arkui/ace_engine/native/native_gesture.h b/zh-cn/native_sdk/arkui/ace_engine/native/native_gesture.h index 949d1ea8b3a28b64e66e54929a738363ea9b06b8..971b8c5ea1bc8fc82d08fe859001331eb2741e41 100644 --- a/zh-cn/native_sdk/arkui/ace_engine/native/native_gesture.h +++ b/zh-cn/native_sdk/arkui/ace_engine/native/native_gesture.h @@ -207,17 +207,19 @@ typedef enum { /** 手势组合。*/ GROUP_GESTURE, - /** 点击手势。 + /** + * 通过onClick注册的点击手势。 * * @since 20 */ - CLICK, + CLICK_GESTURE, - /** 拖拽手势。 + /** + * 用于拖放的拖拽手势。 * * @since 20 */ - DRAG, + DRAG_DROP, } ArkUI_GestureRecognizerType; /** @@ -869,9 +871,9 @@ ArkUI_ErrorCode OH_ArkUI_PanGesture_GetDistanceByToolType( * @param node 需要设置手势收集完成回调的节点句柄。 * @param userData 用户自定义数据。 * @param touchTestDone 手势收集完成的回调函数。 - - event:手势的基本信息。 - - recognizers:手势识别器数组。 - - count:手势识别器个数。 + * - event:手势的基本信息。 + * - recognizers:手势识别器数组。 + * - count:手势识别器个数。 * @return 错误码。 * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} 成功。 * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} 参数错误。