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.

Summary

Public properties

Offset

The position relative to the input device.

Cmn
IndirectTouchEventType

The reason the IndirectTouchEvent was sent.

Cmn
Long

The time at which this event occurred.

Cmn

Public properties

position

val positionOffset

The position relative to the input device.

type

val typeIndirectTouchEventType

The reason the IndirectTouchEvent was sent.

uptimeMillis

val uptimeMillisLong

The time at which this event occurred.