Class

PointerType

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

Source set: Common
public class PointerType private constructor(private val value: Int)

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

Members

Companion

Source set: Common
public companion object

Properties

Unknown

Source set: Common
public val Unknown: PointerType

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

Touch

Source set: Common
public val Touch: PointerType

Touch (finger) input.

Mouse

Source set: Common
public val Mouse: PointerType

A mouse pointer.

Stylus

Source set: Common
public val Stylus: PointerType

A stylus.

Eraser

Source set: Common
public val Eraser: PointerType

An eraser or an inverted stylus.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: