diff --git a/arkui/ace_engine/native/native_gesture.h b/arkui/ace_engine/native/native_gesture.h index f7cee1c2c3d62f83f547de3a27a841a7401e02db..a5edaea0410e0369af1f6fc538604d04de282edc 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 userData 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 9e4c31d859f43d5f68403598db38f7e3cf621dca..a13728fe50da5166a9e103e72b83ea0ff757db7d 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);