diff --git a/arkui/ace_engine/native/native_interface_xcomponent.h b/arkui/ace_engine/native/native_interface_xcomponent.h index 704b6654db0dd12acb133cb56e0917e62a2fc093..23bcc6da548fa93cb6104462002a051d0b7da2b5 100644 --- a/arkui/ace_engine/native/native_interface_xcomponent.h +++ b/arkui/ace_engine/native/native_interface_xcomponent.h @@ -836,6 +836,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); @@ -849,6 +851,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);