Class

PointerType

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

Source set: 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

Source set: Common
val Unknown = PointerType(0)

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

Source set: Common
val Touch = PointerType(1)

Touch (finger) input.

Source set: Common
val Mouse = PointerType(2)

A mouse pointer.

Source set: Common
val Stylus = PointerType(3)

A stylus.

Source set: Common
val Eraser = PointerType(4)

An eraser or an inverted stylus.

Last updated: