From 42f877c6ded3a423c2ac9fd3b3a30072bde3dfac Mon Sep 17 00:00:00 2001 From: yyuanche Date: Fri, 12 Apr 2024 09:20:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90NDK=E3=80=91C-API=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=90=8D=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9=20Signed-off-by:?= =?UTF-8?q?=20yyuanche=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/native_sdk/ace/native_node.h | 3 ++- zh-cn/native_sdk/ace/native_type.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/zh-cn/native_sdk/ace/native_node.h b/zh-cn/native_sdk/ace/native_node.h index 014d5edd..1e04fba6 100644 --- a/zh-cn/native_sdk/ace/native_node.h +++ b/zh-cn/native_sdk/ace/native_node.h @@ -3875,7 +3875,7 @@ typedef enum { * 事件回调发生时,事件参数{@link ArkUI_NodeEvent}对象中的联合体类型为{@link ArkUI_NodeComponentEvent}。\n * {@link ArkUI_NodeComponentEvent}中包含2个参数: \n * ArkUI_NodeComponentEvent.data[0].f32: 每帧滚动的偏移量,List的内容向上滚动时偏移量为正,向下滚动时偏移量为负. \n - * ArkUI_NodeComponentEvent.data[1].f32: 当前滑动状态. \n + * ArkUI_NodeComponentEvent.data[1].i32: 当前滑动状态. \n */ NODE_ON_WILL_SCROLL = MAX_NODE_SCOPE_NUM * ARKUI_NODE_WATER_FLOW, /** @@ -4230,6 +4230,7 @@ int32_t OH_ArkUI_NodeAdapterEvent_SetItem(ArkUI_NodeAdapterEvent* event, ArkUI_N * @brief 设置生成的组件标识。 * * @param event 适配器事件对象。 +* @param id 设置返回的组件标识。 * @return 0 - 成功。 * 401 - 函数参数异常。 * @since 12 diff --git a/zh-cn/native_sdk/ace/native_type.h b/zh-cn/native_sdk/ace/native_type.h index c4f94771..6d0416bb 100644 --- a/zh-cn/native_sdk/ace/native_type.h +++ b/zh-cn/native_sdk/ace/native_type.h @@ -1565,7 +1565,7 @@ void OH_ArkUI_WaterFlowSectionOption_SetItemCount(ArkUI_WaterFlowSectionOption* /** * @brief 通过FlowItem分组配置信息获取对应索引下的FlowItem数量。 * -* @param constraint FlowItem分组配置信息。 +* @param option FlowItem分组配置信息。 * @param index FlowItem索引值。 * @return 分组中FlowItem数量。 * @since 12 -- Gitee