From 96fe35d705f35aaf8e0e81d65c3843b68d4899c8 Mon Sep 17 00:00:00 2001 From: zhanghang Date: Mon, 17 Feb 2025 20:48:35 +0800 Subject: [PATCH] support dialog new api:change 16 to 15 Signed-off-by: zhanghang --- arkui/ace_engine/native/native_dialog.h | 8 ++++---- arkui/ace_engine/native/native_type.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arkui/ace_engine/native/native_dialog.h b/arkui/ace_engine/native/native_dialog.h index 159d65422..e3cc589c3 100644 --- a/arkui/ace_engine/native/native_dialog.h +++ b/arkui/ace_engine/native/native_dialog.h @@ -63,7 +63,7 @@ typedef enum { /** * @brief Enumerates the level mode. * -* @since 16 +* @since 15 */ typedef enum { /** overlay mode. */ @@ -313,7 +313,7 @@ typedef struct { * @brief Provides the custom dialog box APIs for the native side. * * @version 2 - * @since 16 + * @since 15 */ typedef struct { ArkUI_NativeDialogAPI_1 nativeDialogAPI1; @@ -328,7 +328,7 @@ typedef struct { * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful. * Returns {@link ARKUI_ERROR_CODE_CAPI_INIT_ERROR} if the CAPI init error. * Returns {@link ARKUI_ERROR_CODE_PARAM_INVALID} if a parameter error occurs. - * @since 16 + * @since 15 */ int32_t (*setKeyboardAvoidDistance)(ArkUI_NativeDialogHandle handle, float distance, ArkUI_LengthMetricUnit unit); @@ -341,7 +341,7 @@ typedef struct { * @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 16 + * @since 15 */ int32_t (*setLevelMode)(ArkUI_NativeDialogHandle handle, ArkUI_LevelMode levelMode); diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index 62ebc22b1..dd4f290a3 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -2516,7 +2516,7 @@ typedef enum { /** * @brief defines the enumerated value of the customDialog's keyboard avoid mode. * - * @since 16 + * @since 15 */ typedef enum { /** Defines avoid keyboard when keyboard shows. */ @@ -2528,7 +2528,7 @@ typedef enum { /** * @brief defines the enumerated value of area in hover mode. * - * @since 16 + * @since 15 */ typedef enum { /** Layout top half screen when the phone in hover mode. */ -- Gitee