diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 7f36c1a48f2f0073591f60e6e050a8462bc6f475..545219770573616f78afdc0fb1a5c792991676e2 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -12410,6 +12410,15 @@ declare type DataLoadParams = import('../api/@ohos.data.unifiedDataChannel').def * @since 14 */ declare enum DragResult { + /** + * If the drag is not finished and the result is not set by receiver, return DragResult.UNKNOWN. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + UNKNOWN = -1, /** * If the drag is successful, return DragResult.DRAG_SUCCESSFUL. * diff --git a/api/arkui/component/common.static.d.ets b/api/arkui/component/common.static.d.ets index 404022f5a9bca955ce1a1d996703bc5ebb5fd4db..7b3d3c01d137483fa85f507d1eb18bdb77fa88b0 100644 --- a/api/arkui/component/common.static.d.ets +++ b/api/arkui/component/common.static.d.ets @@ -4883,6 +4883,13 @@ export type UniformDataType = uniformTypeDescriptor.UniformDataType; * @since 20 */ export declare enum DragResult { + /** + * If the drag is not finished and the result is not set by receiver, return DragResult.UNKNOWN. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + UNKNOWN = -1, /** * If the drag is successful, return DragResult.DRAG_SUCCESSFUL. *