Google is committed to advancing racial equity for Black communities. See how.

PointerInputEvent

expect class PointerInputEvent
kotlin.Any
   ↳ androidx.compose.ui.input.pointer.PointerInputEvent

The normalized data structure for pointer input event information that is taken in processed by Compose (via the PointerInputEventProcessor).

All pointer locations are relative to the device screen.

Summary

Public constructors
<init>(actual uptime: Uptime, actual pointers: List<PointerInputEventData>, motionEvent: MotionEvent)

Properties
MotionEvent

List<PointerInputEventData>

Uptime

Public constructors

<init>

PointerInputEvent(
    actual uptime: Uptime,
    actual pointers: List<PointerInputEventData>,
    motionEvent: MotionEvent)

Properties

motionEvent

val motionEvent: MotionEvent

pointers

val pointers: List<PointerInputEventData>

uptime

val uptime: Uptime