From b7543f98079b2f079bfea4a84a2dfcceac1f2bda Mon Sep 17 00:00:00 2001 From: bdi007 Date: Fri, 1 Aug 2025 14:55:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=8E=A5=E5=8F=A3=E5=85=A5?= =?UTF-8?q?=E5=8F=82&&=E8=BF=94=E5=9B=9E=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: bdi007 --- arkui/ace_engine/native/native_gesture.h | 3 +++ arkui/ace_engine/native/ui_input_event.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arkui/ace_engine/native/native_gesture.h b/arkui/ace_engine/native/native_gesture.h index f7cee1c2c..1f036a0d4 100644 --- a/arkui/ace_engine/native/native_gesture.h +++ b/arkui/ace_engine/native/native_gesture.h @@ -314,6 +314,9 @@ typedef ArkUI_TouchRecognizerHandle* ArkUI_TouchRecognizerHandleArray; /** * @brief Defines a callback function for notifying gesture recognizer destruction. + * + * @param recognizer Indicates the pointer to a gesture recognizer. + * @param Indicates the custom data. * @since 12 */ typedef void (*ArkUI_GestureRecognizerDisposeNotifyCallback)(ArkUI_GestureRecognizer* recognizer, void* userData); diff --git a/arkui/ace_engine/native/ui_input_event.h b/arkui/ace_engine/native/ui_input_event.h index 9e4c31d85..a13728fe5 100644 --- a/arkui/ace_engine/native/ui_input_event.h +++ b/arkui/ace_engine/native/ui_input_event.h @@ -309,7 +309,7 @@ int32_t OH_ArkUI_UIInputEvent_GetType(const ArkUI_UIInputEvent* event); * 2. For key events, use {@link OH_ArkUI_KeyEvent_GetType} instead. * * @param event Pointer to the current UI input event. - * @return Returns the action type of the current UI input event; returns 0 if any parameter error occurs. + * @return Returns the action type of the current UI input event; returns -1 if any parameter error occurs. * @since 12 */ int32_t OH_ArkUI_UIInputEvent_GetAction(const ArkUI_UIInputEvent* event); -- Gitee