Deprecated
Maintained for binary compatibility. Use version with PointerEventPass instead.
Source set: Common
Added in 1.11.0-rc01
Deprecated in 1.11.0-rc01
suspend fun AwaitPointerEventScope.awaitFirstDown(
requireUnconsumed: Boolean = true
): PointerInputChange
Source set: Common
Added in 1.11.0-rc01
Deprecated in 1.11.0-rc01
suspend fun AwaitPointerEventScope.awaitFirstDown(
requireUnconsumed: Boolean = true,
pass: PointerEventPass = PointerEventPass.Main,
): PointerInputChange
Reads events until the first down is received in the given pass. If requireUnconsumed is true and the first down is already consumed in the pass, that gesture is ignored.