Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Enumeration

DragSession

The Compose SwiftUI form of SwiftUI's DragSession.

iOS 26.0+macOS 26.0+tvOS: unavailable (no-op)watchOS: unavailable (no-op)
class Phase

Overview

This is the Kotlin form of SwiftUI DragSession.Phase: SwiftUI documentation. In Swift it reads:

enum Phase

Topics

Type properties

val dataTransferCompleted: DragSession.Phase
SwiftUI DragSession.Phase.dataTransferCompleted
val active: DragSession.Phase
SwiftUI DragSession.Phase.active
val initial: DragSession.Phase
SwiftUI DragSession.Phase.initial

Methods

fun ended(p0: DropOperation): DragSession.Phase
SwiftUI DragSession.Phase.ended(_:)
fun ending(p0: DropOperation): DragSession.Phase
SwiftUI DragSession.Phase.ending(_:) · iOS 26.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)

Types

class Phase
SwiftUI DragSession.Phase