From 881589acfbe1fc11eac77d4e0abc00c97d91a40e Mon Sep 17 00:00:00 2001 From: liyi0309 Date: Fri, 29 Nov 2024 11:24:53 +0800 Subject: [PATCH] support enableHapticFeedback Signed-off-by: liyi0309 --- arkui/ace_engine/native/native_node.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f20102e7c..ef859dede 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3565,6 +3565,19 @@ typedef enum { * */ NODE_DATE_PICKER_SELECTED_TEXT_STYLE, + + /** + * @brief Enable or disable haptic feedback. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: The value false means to disable haptic feedback.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: The value false means to disable haptic feedback.\n + * + * @since 16 + */ + NODE_DATE_PICKER_ENABLE_HAPTIC_FEEDBACK, /** * @brief Defines the time of the selected item. in the timer picker. * This attribute can be set, reset, and obtained as required through APIs. -- Gitee