diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 0c3c6eb2cd30f514c35593cf7f440c6e59cd1472..4d03de172a5f877fd57bba7d617215663fc6e6c0 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -4051,13 +4051,16 @@ typedef struct { * * @param node Indicates the target node. * @param eventType Indicates the type of event to register. - * @param eventId Indicates the custom event ID, which is passed in the callback of {@link ArkUI_NodeEvent} + * @param eventId Indicates the custom event ID, which is passed in the callback of <@link ArkUI_NodeEvent> * when the event is triggered. + * @param extraParam Indicates the custom event parameter, which is passed in the callback of + * <@link ArkUI_NodeEvent> when the event is triggered. * @return Returns 0 if success. * Returns 401 if a parameter exception occurs. * Returns 106102 if the dynamic implementation library of the native API was not found. */ - int32_t (*registerNodeEvent)(ArkUI_NodeHandle node, ArkUI_NodeEventType eventType, int32_t eventId); + int32_t (*registerNodeEvent)( + ArkUI_NodeHandle node, ArkUI_NodeEventType eventType, int32_t eventId, void* extraParam); /** * @brief Unregisters an event for the specified node. diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index 3cdd51892d77a368512bef878877983ff09a4488..990440584d533c518ab172d386085598e038aafe 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -571,7 +571,7 @@ typedef enum { * @since 12 */ typedef enum { - /** The value can be changed to yes or no based on the component. */ + /** Whether the component can be identified by the accessibility service is dependent on the component. */ ARKUI_ACCESSIBILITY_MODE_AUTO = 0, /** The component can be identified by the accessibility service. */ ARKUI_ACCESSIBILITY_MODE_ENABLED,