From 4a9edebe0144fdc80c0462f1afaf828aa93314ec Mon Sep 17 00:00:00 2001 From: "guojing.325@qq.com" Date: Sun, 5 May 2024 16:13:39 +0800 Subject: [PATCH] NDK-CAPI : add NODE_IMAGE_ON_DOWNLOAD_PROGRESS Signed-off-by: guojing.325@qq.com --- arkui/ace_engine/native/native_node.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 9cc986bc4..73bc6d431 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. * -- Gitee