From cf035b50b4c30af0f57fb87aa4f7421e0ec6824d Mon Sep 17 00:00:00 2001 From: zhanghang Date: Thu, 8 May 2025 16:28:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhanghang --- arkui/ace_engine/native/libace.ndk.json | 78 +++++++++++----------- arkui/ace_engine/native/native_dialog.h | 86 ++++++++++++------------- arkui/ace_engine/native/native_type.h | 20 +++--- 3 files changed, 92 insertions(+), 92 deletions(-) diff --git a/arkui/ace_engine/native/libace.ndk.json b/arkui/ace_engine/native/libace.ndk.json index 308b9963a..7ec34624e 100644 --- a/arkui/ace_engine/native/libace.ndk.json +++ b/arkui/ace_engine/native/libace.ndk.json @@ -3072,107 +3072,107 @@ "name": "OH_ArkUI_NodeUtils_GetPositionToParent" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_CreateOptions" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_DisposeOptions" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetLevelMode" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetLevelUniqueId" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetImmersiveMode" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_OpenDialog" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_UpdateDialog" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_CloseDialog" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetBackgroundColor" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetCornerRadius" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetBorderWidth" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetBorderColor" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetBorderStyle" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetWidth" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetHeight" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetShadow" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetCustomShadow" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetBackgroundBlurStyle" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetAlignment" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetModalMode" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetAutoCancel" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetSubwindowMode" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetMask" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetKeyboardAvoidMode" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetHoverModeEnabled" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_SetHoverModeArea" }, { @@ -3184,55 +3184,55 @@ "name": "OH_ArkUI_CustomDialog_SetBackgroundEffect" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_RegisterOnWillDismissCallback" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_RegisterOnWillAppearCallback" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_RegisterOnDidAppearCallback" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_RegisterOnWillDisappearCallback" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_CustomDialog_RegisterOnDidDisappearCallback" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_TextPickerRangeContentArray_Create" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_TextPickerRangeContentArray_SetIconAtIndex" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_TextPickerRangeContentArray_SetTextAtIndex" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_TextPickerRangeContentArray_Destroy" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_TextCascadePickerRangeContentArray_Create" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_TextCascadePickerRangeContentArray_SetTextAtIndex" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_TextCascadePickerRangeContentArray_SetChildAtIndex" }, { - "first_introduced": "18", + "first_introduced": "19", "name": "OH_ArkUI_TextCascadePickerRangeContentArray_Destroy" }, { diff --git a/arkui/ace_engine/native/native_dialog.h b/arkui/ace_engine/native/native_dialog.h index a9967b8e6..0f6f20879 100644 --- a/arkui/ace_engine/native/native_dialog.h +++ b/arkui/ace_engine/native/native_dialog.h @@ -102,7 +102,7 @@ typedef struct ArkUI_DialogDismissEvent ArkUI_DialogDismissEvent; /** * @brief Defines a struct for the content object of a custom dialog box. * - * @since 18 + * @since 19 */ typedef struct ArkUI_CustomDialogOptions ArkUI_CustomDialogOptions; @@ -486,7 +486,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setBorderWidth)( ArkUI_NativeDialogHandle handle, float top, float right, float bottom, float left, ArkUI_LengthMetricUnit unit); @@ -503,7 +503,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setBorderColor)( ArkUI_NativeDialogHandle handle, uint32_t top, uint32_t right, uint32_t bottom, uint32_t left); @@ -520,7 +520,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setBorderStyle)( ArkUI_NativeDialogHandle handle, int32_t top, int32_t right, int32_t bottom, int32_t left); @@ -535,7 +535,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setWidth)(ArkUI_NativeDialogHandle handle, float width, ArkUI_LengthMetricUnit unit); @@ -549,7 +549,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setHeight)(ArkUI_NativeDialogHandle handle, float height, ArkUI_LengthMetricUnit unit); @@ -562,7 +562,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setShadow)(ArkUI_NativeDialogHandle handle, ArkUI_ShadowStyle shadow); @@ -575,7 +575,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setCustomShadow)(ArkUI_NativeDialogHandle handle, const ArkUI_AttributeItem* customShadow); @@ -588,7 +588,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setBackgroundBlurStyle)(ArkUI_NativeDialogHandle handle, ArkUI_BlurStyle blurStyle); @@ -601,7 +601,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 occur.. - * @since 18 + * @since 19 */ int32_t (*setKeyboardAvoidMode)(ArkUI_NativeDialogHandle handle, ArkUI_KeyboardAvoidMode keyboardAvoidMode); @@ -614,7 +614,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 occur.. - * @since 18 + * @since 19 */ int32_t (*enableHoverMode)(ArkUI_NativeDialogHandle handle, bool enableHoverMode); @@ -627,7 +627,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 occur. - * @since 18 + * @since 19 */ int32_t (*setHoverModeArea)(ArkUI_NativeDialogHandle handle, ArkUI_HoverModeAreaType hoverModeAreaType); @@ -736,7 +736,7 @@ int32_t OH_ArkUI_DialogDismissEvent_GetDismissReason(ArkUI_DialogDismissEvent* e * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_OpenDialog(ArkUI_CustomDialogOptions* options, void (*callback)(int32_t dialogId)); @@ -748,7 +748,7 @@ int32_t OH_ArkUI_CustomDialog_OpenDialog(ArkUI_CustomDialogOptions* options, voi * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_UpdateDialog(ArkUI_CustomDialogOptions* options, void (*callback)(int32_t dialogId)); @@ -759,7 +759,7 @@ int32_t OH_ArkUI_CustomDialog_UpdateDialog(ArkUI_CustomDialogOptions* options, v * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_CloseDialog(int32_t dialogId); @@ -768,7 +768,7 @@ int32_t OH_ArkUI_CustomDialog_CloseDialog(int32_t dialogId); * * @param content Content of the custom dialog box. * @return Returns the pointer to the custom dialog box options. - * @since 18 + * @since 19 */ ArkUI_CustomDialogOptions* OH_ArkUI_CustomDialog_CreateOptions(ArkUI_NodeHandle content); @@ -776,7 +776,7 @@ ArkUI_CustomDialogOptions* OH_ArkUI_CustomDialog_CreateOptions(ArkUI_NodeHandle * @brief Destroys the custom dialog box options. * * @param options The pointer to the custom dialog box options. - * @since 18 + * @since 19 */ void OH_ArkUI_CustomDialog_DisposeOptions(ArkUI_CustomDialogOptions* options); @@ -789,7 +789,7 @@ void OH_ArkUI_CustomDialog_DisposeOptions(ArkUI_CustomDialogOptions* options); * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetLevelMode(ArkUI_CustomDialogOptions* options, ArkUI_LevelMode levelMode); @@ -801,7 +801,7 @@ int32_t OH_ArkUI_CustomDialog_SetLevelMode(ArkUI_CustomDialogOptions* options, A * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetLevelUniqueId(ArkUI_CustomDialogOptions* options, int32_t uniqueId); @@ -814,7 +814,7 @@ int32_t OH_ArkUI_CustomDialog_SetLevelUniqueId(ArkUI_CustomDialogOptions* option * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetImmersiveMode(ArkUI_CustomDialogOptions* options, ArkUI_ImmersiveMode immersiveMode); @@ -826,7 +826,7 @@ int32_t OH_ArkUI_CustomDialog_SetImmersiveMode(ArkUI_CustomDialogOptions* option * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetBackgroundColor(ArkUI_CustomDialogOptions* options, uint32_t backgroundColor); @@ -841,7 +841,7 @@ int32_t OH_ArkUI_CustomDialog_SetBackgroundColor(ArkUI_CustomDialogOptions* opti * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetCornerRadius( ArkUI_CustomDialogOptions* options, float topLeft, float topRight, float bottomLeft, float bottomRight); @@ -858,7 +858,7 @@ int32_t OH_ArkUI_CustomDialog_SetCornerRadius( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetBorderWidth( ArkUI_CustomDialogOptions* options, float top, float right, float bottom, float left, ArkUI_LengthMetricUnit unit); @@ -874,7 +874,7 @@ int32_t OH_ArkUI_CustomDialog_SetBorderWidth( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetBorderColor( ArkUI_CustomDialogOptions* options, uint32_t top, uint32_t right, uint32_t bottom, uint32_t left); @@ -890,7 +890,7 @@ int32_t OH_ArkUI_CustomDialog_SetBorderColor( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetBorderStyle( ArkUI_CustomDialogOptions* options, int32_t top, int32_t right, int32_t bottom, int32_t left); @@ -904,7 +904,7 @@ int32_t OH_ArkUI_CustomDialog_SetBorderStyle( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetWidth(ArkUI_CustomDialogOptions* options, float width, ArkUI_LengthMetricUnit unit); @@ -917,7 +917,7 @@ int32_t OH_ArkUI_CustomDialog_SetWidth(ArkUI_CustomDialogOptions* options, float * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetHeight(ArkUI_CustomDialogOptions* options, float height, ArkUI_LengthMetricUnit unit); @@ -929,7 +929,7 @@ int32_t OH_ArkUI_CustomDialog_SetHeight(ArkUI_CustomDialogOptions* options, floa * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetShadow(ArkUI_CustomDialogOptions* options, ArkUI_ShadowStyle shadow); @@ -941,7 +941,7 @@ int32_t OH_ArkUI_CustomDialog_SetShadow(ArkUI_CustomDialogOptions* options, ArkU * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetCustomShadow( ArkUI_CustomDialogOptions* options, const ArkUI_AttributeItem* customShadow); @@ -954,7 +954,7 @@ int32_t OH_ArkUI_CustomDialog_SetCustomShadow( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetBackgroundBlurStyle(ArkUI_CustomDialogOptions* options, ArkUI_BlurStyle blurStyle); @@ -968,7 +968,7 @@ int32_t OH_ArkUI_CustomDialog_SetBackgroundBlurStyle(ArkUI_CustomDialogOptions* * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetAlignment( ArkUI_CustomDialogOptions* options, int32_t alignment, float offsetX, float offsetY); @@ -982,7 +982,7 @@ int32_t OH_ArkUI_CustomDialog_SetAlignment( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetModalMode(ArkUI_CustomDialogOptions* options, bool isModal); @@ -995,7 +995,7 @@ int32_t OH_ArkUI_CustomDialog_SetModalMode(ArkUI_CustomDialogOptions* options, b * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetAutoCancel(ArkUI_CustomDialogOptions* options, bool autoCancel); @@ -1009,7 +1009,7 @@ int32_t OH_ArkUI_CustomDialog_SetAutoCancel(ArkUI_CustomDialogOptions* options, * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetSubwindowMode(ArkUI_CustomDialogOptions* options, bool showInSubwindow); @@ -1023,7 +1023,7 @@ int32_t OH_ArkUI_CustomDialog_SetSubwindowMode(ArkUI_CustomDialogOptions* option * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetMask( ArkUI_CustomDialogOptions* options, uint32_t maskColor, const ArkUI_Rect* maskRect); @@ -1036,7 +1036,7 @@ int32_t OH_ArkUI_CustomDialog_SetMask( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetKeyboardAvoidMode( ArkUI_CustomDialogOptions* options, ArkUI_KeyboardAvoidMode keyboardAvoidMode); @@ -1049,7 +1049,7 @@ int32_t OH_ArkUI_CustomDialog_SetKeyboardAvoidMode( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetHoverModeEnabled(ArkUI_CustomDialogOptions* options, bool enabled); @@ -1061,7 +1061,7 @@ int32_t OH_ArkUI_CustomDialog_SetHoverModeEnabled(ArkUI_CustomDialogOptions* opt * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_SetHoverModeArea( ArkUI_CustomDialogOptions* options, ArkUI_HoverModeAreaType hoverModeAreaType); @@ -1075,7 +1075,7 @@ int32_t OH_ArkUI_CustomDialog_SetHoverModeArea( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_RegisterOnWillDismissCallback( ArkUI_CustomDialogOptions* options, void* userData, void (*callback)(ArkUI_DialogDismissEvent* event)); @@ -1089,7 +1089,7 @@ int32_t OH_ArkUI_CustomDialog_RegisterOnWillDismissCallback( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_RegisterOnWillAppearCallback( ArkUI_CustomDialogOptions* options, void* userData, void (*callback)(void* userData)); @@ -1103,7 +1103,7 @@ int32_t OH_ArkUI_CustomDialog_RegisterOnWillAppearCallback( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_RegisterOnDidAppearCallback( ArkUI_CustomDialogOptions* options, void* userData, void (*callback)(void* userData)); @@ -1117,7 +1117,7 @@ int32_t OH_ArkUI_CustomDialog_RegisterOnDidAppearCallback( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_RegisterOnWillDisappearCallback( ArkUI_CustomDialogOptions* options, void* userData, void (*callback)(void* userData)); @@ -1131,7 +1131,7 @@ int32_t OH_ArkUI_CustomDialog_RegisterOnWillDisappearCallback( * @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 18 + * @since 19 */ int32_t OH_ArkUI_CustomDialog_RegisterOnDidDisappearCallback( ArkUI_CustomDialogOptions* options, void* userData, void (*callback)(void* userData)); diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index 2aabe73d2..c8694d5f8 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -2608,14 +2608,14 @@ typedef struct ArkUI_SnapshotOptions ArkUI_SnapshotOptions; /** * @brief TextPicker single column selector, supports mixing text and images. * - * @since 18 + * @since 19 */ typedef struct ArkUI_TextPickerRangeContentArray ArkUI_TextPickerRangeContentArray; /** * @brief TextPicker multi column selector, supports mixing text and images. * - * @since 18 + * @since 19 */ typedef struct ArkUI_TextCascadePickerRangeContentArray ArkUI_TextCascadePickerRangeContentArray; @@ -5056,7 +5056,7 @@ int32_t OH_ArkUI_VisibleAreaEventOptions_GetExpectedUpdateInterval(ArkUI_Visible * *@param length The length of the picker array. *@return Returns a TextPickerRangeContent instance. - *@since 18 + *@since 19 */ ArkUI_TextPickerRangeContentArray* OH_ArkUI_TextPickerRangeContentArray_Create(int32_t length); @@ -5066,7 +5066,7 @@ ArkUI_TextPickerRangeContentArray* OH_ArkUI_TextPickerRangeContentArray_Create(i *@param handle The TextPickerRangeContent instance for obtaining information. *@param icon Icon addreass. *@param index The index position of the value to be obtained. - *@since 18 + *@since 19 */ void OH_ArkUI_TextPickerRangeContentArray_SetIconAtIndex( ArkUI_TextPickerRangeContentArray* handle, char* icon, int32_t index); @@ -5077,7 +5077,7 @@ void OH_ArkUI_TextPickerRangeContentArray_SetIconAtIndex( *@param handle The TextPickerRangeContent instance for obtaining information. *@param text Text content *@param index The index position of the value to be obtained. - *@since 18 + *@since 19 */ void OH_ArkUI_TextPickerRangeContentArray_SetTextAtIndex( ArkUI_TextPickerRangeContentArray* handle, char* text, int32_t index); @@ -5086,7 +5086,7 @@ void OH_ArkUI_TextPickerRangeContentArray_SetTextAtIndex( *@brief Destroy the TextPickerRangeContent instance. * *@param handle The TextPickerRangeContent instance for obtaining information. - *@since 18 + *@since 19 */ void OH_ArkUI_TextPickerRangeContentArray_Destroy(ArkUI_TextPickerRangeContentArray* handle); @@ -5095,7 +5095,7 @@ void OH_ArkUI_TextPickerRangeContentArray_Destroy(ArkUI_TextPickerRangeContentAr * *@param length The length of the picker array. *@return Returns a TextCascadePickerRangeContent instance. - *@since 18 + *@since 19 */ ArkUI_TextCascadePickerRangeContentArray* OH_ArkUI_TextCascadePickerRangeContentArray_Create(int32_t length); @@ -5105,7 +5105,7 @@ ArkUI_TextCascadePickerRangeContentArray* OH_ArkUI_TextCascadePickerRangeContent *@param handle The TextCascadePickerRangeContent instance for obtaining information. *@param text text content *@param index The index position of the value to be obtained. - *@since 18 + *@since 19 */ void OH_ArkUI_TextCascadePickerRangeContentArray_SetTextAtIndex( ArkUI_TextCascadePickerRangeContentArray* handle, char* text, int32_t index); @@ -5116,7 +5116,7 @@ void OH_ArkUI_TextCascadePickerRangeContentArray_SetTextAtIndex( *@param handle The TextCascadePickerRangeContent instance for obtaining information. *@param child The child instance. *@param index The index position of the value to be obtained. - *@since 18 + *@since 19 */ void OH_ArkUI_TextCascadePickerRangeContentArray_SetChildAtIndex( ArkUI_TextCascadePickerRangeContentArray* handle, ArkUI_TextCascadePickerRangeContentArray* child, int32_t index); @@ -5125,7 +5125,7 @@ void OH_ArkUI_TextCascadePickerRangeContentArray_SetChildAtIndex( *@brief Destroy the TextCascadePickerRangeContent instance. * *@param handle The TextCascadePickerRangeContent instance for obtaining information. - *@since 18 + *@since 19 */ void OH_ArkUI_TextCascadePickerRangeContentArray_Destroy(ArkUI_TextCascadePickerRangeContentArray* handle); #ifdef __cplusplus -- Gitee