diff --git a/arkui/ace_engine/native/libace.ndk.json b/arkui/ace_engine/native/libace.ndk.json index 3c739a283d083bc3ec54e71cbce89094a70bce10..c80fb73134ea6566e647f3526f238cb3ec540fbd 100644 --- a/arkui/ace_engine/native/libace.ndk.json +++ b/arkui/ace_engine/native/libace.ndk.json @@ -4050,17 +4050,5 @@ { "first_introduced": "20", "name": "OH_ArkUI_RenderNodeUtils_DisposeRenderNodeClipOption" - }, - { - "first_introduced": "20", - "name": "OH_ArkUI_PostAsyncUITask" - }, - { - "first_introduced": "20", - "name": "OH_ArkUI_PostUITask" - }, - { - "first_introduced": "20", - "name": "OH_ArkUI_PostUITaskAndWait" } ] \ No newline at end of file diff --git a/arkui/ace_engine/native/native_interface.h b/arkui/ace_engine/native/native_interface.h index 4c3405779511912c2b8b668c24e7ba5990028b62..64cae7e06ea74db39542281356b42f0bcb425b82 100644 --- a/arkui/ace_engine/native/native_interface.h +++ b/arkui/ace_engine/native/native_interface.h @@ -57,12 +57,6 @@ typedef enum { ARKUI_NATIVE_GESTURE, /** API related to animations. For details, see the struct definition in .*/ ARKUI_NATIVE_ANIMATE, - /** - * API related to supported multi thread UI components. - * For details, see the struct definition in . - * @since 20 - */ - ARKUI_MULTI_THREAD_NATIVE_NODE, } ArkUI_NativeAPIVariantKind; /** diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 5feb3bc7bb8c2d98ffab6e697be16cedb2a83ec7..07a9708d9ffbd61a1e64c015457a9a7c9f1eb42e 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -10000,46 +10000,6 @@ int32_t OH_ArkUI_NodeUtils_GetNodeUniqueId(ArkUI_NodeHandle node, int32_t* uniqu int32_t OH_ArkUI_SetForceDarkConfig(ArkUI_ContextHandle uiContext, bool forceDark, ArkUI_NodeType nodeType, uint32_t (*colorInvertFunc)(uint32_t color)); -/** - * @brief Post UI task to background threads. - * - * @param context UIContext pointer of the page where the UI task located. - * @param asyncUITaskData Parameter of asyncUITask and onFinish. - * @param asyncUITask Function executed by a background thread. - * @param onFinish Function executed by UI thread after async UI task is executed. - * @return Returns the result code. - * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful. - * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if context or asyncUITask is nullptr. - * @since 20 - */ -int32_t OH_ArkUI_PostAsyncUITask(ArkUI_ContextHandle context, void* asyncUITaskData, - void (*asyncUITask)(void* asyncUITaskData), void (*onFinish)(void* asyncUITaskData)); - -/** - * @brief Post UI task to UI thread. - * - * @param context UIContext pointer of the page where the UI task located. - * @param taskData Parameter of task. - * @param task Function executed by UI thread. - * @return Returns the result code. - * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful. - * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if context or task is nullptr. - * @since 20 - */ -int32_t OH_ArkUI_PostUITask(ArkUI_ContextHandle context, void* taskData, void (*task)(void* taskData)); - -/** - * @brief Post UI task to UI thread and wait until UI task finished. - * - * @param context UIContext pointer of the page where the UI task located. - * @param taskData Parameter of task. - * @param task Function executed by UI thread. - * @return Returns the result code. - * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful. - * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if context or task is nullptr. - * @since 20 - */ -int32_t OH_ArkUI_PostUITaskAndWait(ArkUI_ContextHandle context, void* taskData, void (*task)(void* taskData)); #ifdef __cplusplus }; #endif diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index 3bfa0c36dc25d8298fcc4a207a499250e009a8f4..5898260f8d5c9c2ee6d016a75e0aa82997fa4707 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -2266,11 +2266,6 @@ typedef enum { * @since 15 */ ARKUI_ERROR_CODE_NODE_NOT_ON_MAIN_TREE = 106203, - /** - * @error The node is running on invalid thread. - * @since 20 - */ - ARKUI_ERROR_CODE_NODE_ON_INVALID_THREAD = 106204, /** * @error Force dark config is invalid. * @since 20