DragAndDropSourceScope


A scope that allows for the detection of the start of a drag and drop gesture, and subsequently starting a drag and drop session.

Summary

Public functions

Unit

Starts a drag and drop session with transferData as the data to be transferred on gesture completion

android

Inherited functions

From androidx.compose.ui.unit.Density
open Int

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open Int

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open Dp

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open Dp

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open DpSize

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open Float

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open Float

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open Rect

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open Size

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open TextUnit

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open TextUnit

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
From androidx.compose.ui.unit.FontScaling
open Dp

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open TextUnit

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
From androidx.compose.ui.input.pointer.PointerInputScope
suspend R
<R : Any?> awaitPointerEventScope(block: suspend AwaitPointerEventScope.() -> R)

This function is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android

Inherited properties

From androidx.compose.ui.unit.Density
Float

This property is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
From androidx.compose.ui.unit.FontScaling
Float

This property is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
From androidx.compose.ui.input.pointer.PointerInputScope
open Size

This property is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
open Boolean

This property is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
IntSize

This property is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android
ViewConfiguration

This property is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself

android

Public functions

startTransfer

fun startTransfer(transferData: DragAndDropTransferData): Unit

Starts a drag and drop session with transferData as the data to be transferred on gesture completion