<div class='sourceset sourceset-common'>Common</div>

```kotlin
@ExperimentalFoundationApi
    
    value class Source internal constructor(private val value: Int)
```

Defines the type of operation that a [TransferableContent](/jetpack-compose/androidx.compose.foundation/foundation/classes/TransferableContent) originates from.

## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val Keyboard = Source(0)
```

Indicates that the [TransferableContent](/jetpack-compose/androidx.compose.foundation/foundation/classes/TransferableContent) originates from the soft keyboard (also
known as input method editor or IME)

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val DragAndDrop = Source(1)
```

Indicates that the [TransferableContent](/jetpack-compose/androidx.compose.foundation/foundation/classes/TransferableContent) was passed on by the system drag and drop.

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val Clipboard = Source(2)
```

Indicates that the [TransferableContent](/jetpack-compose/androidx.compose.foundation/foundation/classes/TransferableContent) comes from the clipboard via paste. (e.g.
"Paste" action in the floating action menu or "Ctrl+V" key combination)