diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 819a17790bdfcc3d3d095546d5434696e747130e..daf1b6439e9656d9f245b352a12e9ded57bc5a3e 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -12373,6 +12373,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 2d46189546237a81745a22f30cb9e79fcd7e1e0d..216fa22754b9467982c162dba99b944e1075fef8 100644 --- a/api/arkui/component/common.static.d.ets +++ b/api/arkui/component/common.static.d.ets @@ -4919,6 +4919,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. *