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

Interface ITouchEvent

interface ITouchEvent
Extends IInputEvent Interface which defines a touch event

Methods

isStartEvent()

bool isStartEvent()

Returns

bool true if this event has at least one newly pressed touchpoint.

isEndEvent()

bool isEndEvent()

Returns

bool true if this event has at least one newly released touchpoint.

isUpdateEvent()

bool isUpdateEvent()

Returns

bool true if this event doesn’t have any newly pressed or released touchpoints and this is not a cancel event.

isCancelEvent()

bool isCancelEvent()

Returns

bool true if this is a cancel event which indicates that all currently active touchpoints for this window is cancelled and clients shouldn’t expect any more events for those active touchpoints. Future touchpoints may reuse these cancelled touchpoint ID.

touchPoints()

ITouchPoint*[] touchPoints()

Returns

ITouchPoint*[] all active touchpoints.
Last modified on October 29, 2026