diff --git a/arkui/ace_engine/native/libace.ndk.json b/arkui/ace_engine/native/libace.ndk.json
index d320274f4b4dc979a20b3bf46aaedbf9e9ec79a4..d34c30ea662c0617b572bb16035f5727ac120a92 100644
--- a/arkui/ace_engine/native/libace.ndk.json
+++ b/arkui/ace_engine/native/libace.ndk.json
@@ -3043,7 +3043,7 @@
"first_introduced": "20",
"name": "OH_ArkUI_DragEvent_SetDataLoadParams"
},
- {
+ {
"first_introduced": "20",
"name": "OH_ArkUI_DragAction_SetDataLoadParams"
},
@@ -3530,5 +3530,13 @@
{
"first_introduced": "20",
"name": "OH_ArkUI_NativeModule_GetNavDestinationAniParam"
+ },
+ {
+ "first_introduced": "20",
+ "name": "OH_ArkUI_NativeModule_GetDrawableDescriptorFromAniValue"
+ },
+ {
+ "first_introduced": "20",
+ "name": "OH_ArkUI_NativeModule_GetDrawableDescriptorFromResourceAniValue"
}
]
\ No newline at end of file
diff --git a/arkui/ace_engine/native/native_node_ani.h b/arkui/ace_engine/native/native_node_ani.h
index 549871cf99eafb7366eb994465f61577e18bd780..630c5ece138629a3948b4bd4b771f60e510e9961 100644
--- a/arkui/ace_engine/native/native_node_ani.h
+++ b/arkui/ace_engine/native/native_node_ani.h
@@ -104,6 +104,36 @@ int32_t OH_ArkUI_NativeModule_GetNodeContentFromAniValue(
*/
ArkUI_ErrorCode OH_ArkUI_NativeModule_GetNavDestinationAniParam(ArkUI_NodeHandle node, ani_env* env, ani_value* param);
+/**
+ * @brief Obtains a DrawableDescriptor object on the ArkTS side and maps it to an
+ * ArkUI_DrawableDescriptro object on the native side.
+ *
+ * @param env Indicates the ANI environment pointer.
+ * @param drawable Indicates the DrawableDescriptor object created on the ArkTS side.
+ * @param drawableDescriptor Indicates the pointer to the ArkUI_DrawableDescriptro object.
+ * @return Returns the error code.
+ * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful.
+ * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if a parameter error occurs.
+ * @since 20
+ */
+int32_t OH_ArkUI_NativeModule_GetDrawableDescriptorFromAniValue(
+ ani_env *env, ani_object drawable, ArkUI_DrawableDescriptor **drawableDescriptor);
+
+/**
+ * @brief Obtains a Resource object on the ArkTS side and maps it to an
+ * ArkUI_DrawableDescriptro object on the native side.
+ *
+ * @param env Indicates the ANI environment pointer.
+ * @param resource Indicates the Resource object created on the ArkTS side.
+ * @param drawableDescriptor Indicates the pointer to the ArkUI_DrawableDescriptro object.
+ * @return Returns the error code.
+ * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful.
+ * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if a parameter error occurs.
+ * @since 20
+ */
+int32_t OH_ArkUI_NativeModule_GetDrawableDescriptorFromResourceAniValue(
+ ani_env *env, ani_object resource, ArkUI_DrawableDescriptor **drawableDescriptor);
+
#ifdef __cplusplus
};
#endif