The Developer Preview for Android 11 is now available; test it out and share your feedback.

PointerInputEventData

data class PointerInputEventData
kotlin.Any
   ↳ androidx.ui.core.pointerinput.PointerInputEventData

Data that describes a particular pointer

All pointer locations are relative to the device screen.

Summary

Public constructors

<init>(id: PointerId, pointerInputData: PointerInputData)

Data that describes a particular pointer

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

PointerId

PointerInputData

Public constructors

<init>

PointerInputEventData(
    id: PointerId,
    pointerInputData: PointerInputData)

Data that describes a particular pointer

All pointer locations are relative to the device screen.

Properties

id

val id: PointerId

pointerInputData

val pointerInputData: PointerInputData