PointerType

Class

Common
value class PointerType private constructor(private val value: Int)

The device type that produces a PointerInputChange, such as a mouse or stylus.

Companion Object

Properties

Common
val Unknown = PointerType(0)

An unknown device type or the device type isn't relevant.

Common
val Touch = PointerType(1)

Touch (finger) input.

Common
val Mouse = PointerType(2)

A mouse pointer.

Common
val Stylus = PointerType(3)

A stylus.

Common
val Eraser = PointerType(4)

An eraser or an inverted stylus.