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 constructors

IndirectTouchEvent(
    position: Offset,
    eventTimeMillis: Long,
    type: IndirectTouchEventType
)
Cmn

Public properties

Long

The time at which this event occurred.

Cmn
Offset

The position relative to the input device.

Cmn
IndirectTouchEventType

The reason the IndirectTouchEvent was sent.

Cmn

Public constructors

IndirectTouchEvent

IndirectTouchEvent(
    position: Offset,
    eventTimeMillis: Long,
    type: IndirectTouchEventType
)

Public properties

eventTimeMillis

val eventTimeMillisLong

The time at which this event occurred.

position

val positionOffset

The position relative to the input device.

type

val typeIndirectTouchEventType

The reason the IndirectTouchEvent was sent.