diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 9cc986bc4ed941203ef3506e5356bdcf589aec7b..73bc6d431e95074779623bee2170477336f0efbe 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -4957,6 +4957,17 @@ typedef enum { * {@link ArkUI_NodeComponentEvent} does not contain parameters. */ NODE_IMAGE_ON_SVG_PLAY_FINISH, + /** + * @brief Defines image download process event. + * + * This event is triggered when downloading webpage images from page components.\n + * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is + * {@link ArkUI_NodeComponentEvent}. \n + * {@link ArkUI_NodeComponentEvent} contains two parameter:\n + * ArkUI_NodeComponentEvent.data[0].u32: the num of bytes downloaded. \n + * ArkUI_NodeComponentEvent.data[1].u32: the total number of bytes to download. \n + */ + NODE_IMAGE_ON_DOWNLOAD_PROGRESS, /** * @brief Defines the event triggered when the toggle status changes. *