Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct PointerSource

sealed struct PointerSource
Defines the source of pointer event

Fields

Constants

UNKNOWN

PointerSource = {"UNKNOWN"}
Source is unknown

FINGER

PointerSource = {"FINGER"}
Source is user’s finger

STYLUS_PEN

PointerSource = {"STYLUS_PEN"}
Source is pen end of the stylus

STYLUS_ERASER

PointerSource = {"STYLUS_ERASER"}
Source is eraser end of the stylus

WHEEL

PointerSource = {"WHEEL"}
Source is physical wheel rotation
Last modified on October 29, 2026