From 654e2a667373f17e30bac7ac19063411e19c3e81 Mon Sep 17 00:00:00 2001 From: houguobiao Date: Thu, 28 Nov 2024 17:12:13 +0800 Subject: [PATCH] =?UTF-8?q?TimePicker=E7=BB=84=E4=BB=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E5=AE=8C=E5=85=A8=E8=BF=9B=E5=85=A5=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E5=8C=BA=E5=9F=9F=E4=BA=8B=E4=BB=B6=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houguobiao Change-Id: Ibf531ea445f9576a3b4173c40a31d35e8f15e113 --- arkui/ace_engine/native/native_node.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f20102e7c..5ca92b67e 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -6144,6 +6144,20 @@ typedef enum { */ NODE_TIME_PICKER_EVENT_ON_CHANGE = MAX_NODE_SCOPE_NUM * ARKUI_NODE_TIME_PICKER, + /** + * @brief Defines the event triggered when an item enters the selected area + * in the ARKUI_NODE_TIME_PICKER component. + * \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 parameters:\n + * ArkUI_NodeComponentEvent.data[0].i32: hour of the selected time. Value range: [0-23]. \n + * ArkUI_NodeComponentEvent.data[1].i32: minute of the selected time. Value range: [0-59]. \n + * + * @since 16 + */ + NODE_TIME_PICKER_EVENT_ON_DID_ENTER_SELECTED_AREA = 14001, + /** * @brief Defines the event triggered when an item is selected in the ARKUI_NODE_TEXT_PICKER component. * -- Gitee