diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 7ac8d9289c023316889b0bc1289a0913b645b493..a2e0d4e28710c6f4db9bce3f0a54f4c00ad34d2c 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -4651,10 +4651,12 @@ typedef enum { * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].f32: the front margin. The unit is vp. The default value is 0.0\n - * \n + * .value[1]?.i32: whether to ignore blanks, the default value is 0. + * The value 1 means to ignore blank areas, and 0 means the opposite. \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].f32: the front margin, the unit is vp. \n - * + * .value[1].i32: whether to ignore blank areas. The value 1 means to ignore blank areas, and 0 means + * the opposite. \n */ NODE_SWIPER_PREV_MARGIN, @@ -4664,9 +4666,12 @@ typedef enum { * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].f32: the back margin. The unit is vp. The default value is 0.0\n - * \n + * .value[1]?.i32: whether to ignore blanks, the default value is 0. + * The value 1 means to ignore blank areas, and 0 means the opposite. \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].f32: the back margin, the unit is vp. \n + * .value[1].i32: whether to ignore blank areas. The value 1 means to ignore blank areas, and 0 means + * the opposite. \n */ NODE_SWIPER_NEXT_MARGIN, diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index 47380a9b12956a0f2d10e74f0948bc406f657b75..3e4c07f7750447a3fac383eed10405e7eec95262 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -1902,6 +1902,18 @@ typedef enum { ARKUI_ANIMATION_FILL_MODE_BOTH, } ArkUI_AnimationFillMode; +/** + * @brief Defines the state type for the accessibility checkbox. + * + * @since 12 + */ +typedef enum { + /** The Checkbox unchecked. */ + ARKUI_ACCESSIBILITY_UNCHECKED = 0, + /** The Checkbox checked. */ + ARKUI_ACCESSIBILITY_CHECKED, +} ArkUI_AccessibilityCheckedState; + /** * @brief Define accessible action types. *