IndirectTouchEvent
Interface
Common
@ExperimentalIndirectTouchTypeApi
sealed interface IndirectTouchEvent
Represents a touch event that did not result from contact with a touchscreen.
This event differs from a PointerEvent
as it does not necessitate an existence of a pointer. If
an event were to have an associated pointer, they will be routed to through PointerEvent
.
Properties
Common
val position: Offset
The position relative to the input device.
Common
val uptimeMillis: Long
The time at which this event occurred.
Common
val type: IndirectTouchEventType
The reason the IndirectTouchEvent
was sent.