Common
@ExperimentalFoundationApi
value class Source internal constructor(private val value: Int)
Defines the type of operation that a TransferableContent originates from.
Companion Object
Properties
Common
val Keyboard = Source(0)
Indicates that the TransferableContent originates from the soft keyboard (also known as input method editor or IME)
Common
val DragAndDrop = Source(1)
Indicates that the TransferableContent was passed on by the system drag and drop.
Common
val Clipboard = Source(2)
Indicates that the TransferableContent comes from the clipboard via paste. (e.g. "Paste" action in the floating action menu or "Ctrl+V" key combination)