{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

PointerType.Companion

public static class PointerType.Companion


Summary

Public methods

static final @NonNull PointerType

An eraser or an inverted stylus.

static final @NonNull PointerType

A mouse pointer.

static final @NonNull PointerType

A stylus.

static final @NonNull PointerType

Touch (finger) input.

static final @NonNull PointerType

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

Public methods

getEraser

public static final @NonNull PointerType getEraser()

An eraser or an inverted stylus.

getMouse

public static final @NonNull PointerType getMouse()

A mouse pointer.

getStylus

public static final @NonNull PointerType getStylus()

A stylus.

getTouch

public static final @NonNull PointerType getTouch()

Touch (finger) input.

getUnknown

public static final @NonNull PointerType getUnknown()

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