From 99f2010bb30cc9b7965aa59cabdb8cd856012185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E5=87=AF?= Date: Mon, 30 Jun 2025 16:16:31 +0800 Subject: [PATCH] Add description of abandoned interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永凯 --- .../arkui/ace_engine/native/native_interface_xcomponent.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zh-cn/native_sdk/arkui/ace_engine/native/native_interface_xcomponent.h b/zh-cn/native_sdk/arkui/ace_engine/native/native_interface_xcomponent.h index d0aedb7d..4d5e2fa6 100644 --- a/zh-cn/native_sdk/arkui/ace_engine/native/native_interface_xcomponent.h +++ b/zh-cn/native_sdk/arkui/ace_engine/native/native_interface_xcomponent.h @@ -876,6 +876,8 @@ int32_t OH_NativeXComponent_UnregisterOnFrameCallback(OH_NativeXComponent* compo * 返回 {@link ARKUI_ERROR_CODE_PARAM_INVALID} - 参数异常。 * * @since 12 + * @deprecated since 20 + * @useinstead {@link OH_ArkUI_NodeContent_AddNode} */ int32_t OH_NativeXComponent_AttachNativeRootNode(OH_NativeXComponent* component, ArkUI_NodeHandle root); @@ -889,6 +891,8 @@ int32_t OH_NativeXComponent_AttachNativeRootNode(OH_NativeXComponent* component, * 返回 {@link ARKUI_ERROR_CODE_PARAM_INVALID} - 参数异常。 * * @since 12 + * @deprecated since 20 + * @useinstead {@link OH_ArkUI_NodeContent_RemoveNode} */ int32_t OH_NativeXComponent_DetachNativeRootNode(OH_NativeXComponent* component, ArkUI_NodeHandle root); -- Gitee