diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 624843e754ac73ee462995fb52e3f7a77a3c5334..61d93ed4c9ede113576dee546250b91ad7a91eb8 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -9973,16 +9973,16 @@ int32_t OH_ArkUI_NodeUtils_GetNodeUniqueId(ArkUI_NodeHandle node, int32_t* uniqu /** * @brief Sets the inverse color algorithm for components and instances. * - * @param uiContext Indicates the context in which the inverse color feature should take effect. If the value is null, - * the feature applies to the entire application process. + * @param uiContext Indicates the context in which the inverse color feature should take effect. + * If the value is null, the feature applies to the entire application process. * @param forceDark Indicates whether the inverse color feature is enabled. - * @param nodeType Indicates the component type for which to enable the inverse color feature. If the value is null, - * enabling the feature for all components. + * @param nodeType Indicates the component type for which to enable the inverse color feature. + * If the value is ARKUI_NODE_UNDEFINED, enabling the feature for all components. * @param colorInvertFunc Indicates the user-defined inverse color algorithm. * @return Returns the error code. * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful. - * Returns {@link ERROR_CODE_CAPI_INIT_ERROR} if CAPI init error. - Returns {@link ARKUI_ERROR_CODE_FORCE_DARK_CONFIG_INVALID} if force dark config is invalid. + * Returns {@link ARKUI_ERROR_CODE_CAPI_INIT_ERROR} if CAPI init error. + * Returns {@link ARKUI_ERROR_CODE_FORCE_DARK_CONFIG_INVALID} if force dark config is invalid. * @since 20 */ int32_t OH_ArkUI_SetForceDarkConfig(ArkUI_ContextHandle uiContext, bool forceDark, ArkUI_NodeType nodeType,