diff --git a/arkui/ace_engine/native/native_interface_xcomponent.h b/arkui/ace_engine/native/native_interface_xcomponent.h index 851520486679499a38d2f774d4c45995fa4fc5c7..218fb6ebc99b8412bc2328649e8a93e3ee41acfb 100644 --- a/arkui/ace_engine/native/native_interface_xcomponent.h +++ b/arkui/ace_engine/native/native_interface_xcomponent.h @@ -731,6 +731,8 @@ int32_t OH_NativeXComponent_UnregisterOnFrameCallback(OH_NativeXComponent* compo * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if a parameter error occurs. * * @since 12 + * @deprecated since 20 + * @useinstead OH_ArkUI_NodeContent_AddNode */ int32_t OH_NativeXComponent_AttachNativeRootNode(OH_NativeXComponent* component, ArkUI_NodeHandle root); @@ -744,6 +746,8 @@ int32_t OH_NativeXComponent_AttachNativeRootNode(OH_NativeXComponent* component, * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if a parameter error occurs. * * @since 12 + * @deprecated since 20 + * @useinstead OH_ArkUI_NodeContent_RemoveNode */ int32_t OH_NativeXComponent_DetachNativeRootNode(OH_NativeXComponent* component, ArkUI_NodeHandle root);