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

List<IndirectPointerInputChange>

The list of individual pointer changes in this event.

Cmn
IndirectTouchEventPrimaryDirectionalMotionAxis

Main coordinate axis to use for movement.

Cmn
IndirectTouchEventType

The reason the IndirectTouchEvent was sent.

Cmn

Extension properties

MotionEvent

Returns the underlying MotionEvent for additional information and cross module testing.

android

Public properties

changes

val changesList<IndirectPointerInputChange>

The list of individual pointer changes in this event.

primaryDirectionalMotionAxis

val primaryDirectionalMotionAxisIndirectTouchEventPrimaryDirectionalMotionAxis

Main coordinate axis to use for movement.

type

val typeIndirectTouchEventType

The reason the IndirectTouchEvent was sent.

Extension properties

nativeEvent

val IndirectTouchEvent.nativeEventMotionEvent

Returns the underlying MotionEvent for additional information and cross module testing.