Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

PointerInputScope

interface PointerInputScope : Density
androidx.compose.ui.input.pointer.PointerInputScope

Receiver scope for Modifier.pointerInput that permits handling pointer input.

Summary

Public methods
abstract suspend R

Suspend and install a pointer input block that can await input events and respond to them immediately.

Inherited functions
Extension functions
From androidx.compose.foundation.gestures
suspend Unit
PointerInputScope.detectDragGestures(onDragStart: (Offset) -> Unit = { }, onDragEnd: () -> Unit = { }, onDragCancel: () -> Unit = { }, onDrag: (change: PointerInputChange, dragAmount: Offset) -> Unit)

Gesture detector that waits for pointer down and touch slop in any direction and then calls onDrag for each drag event.

suspend Unit
PointerInputScope.detectDragGesturesAfterLongPress(onDragStart: (Offset) -> Unit = { }, onDragEnd: () -> Unit = { }, onDragCancel: () -> Unit = { }, onDrag: (change: PointerInputChange, dragAmount: Offset) -> Unit)

Gesture detector that waits for pointer down and long press, after which it calls onDrag for each drag event.

suspend Unit