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 IPointerEvent

interface IPointerEvent
Extends IInputEvent Interface which defines a pointer event. A pointer event may have more than one pointer points i.e

Methods

source()

PointerSource source()

Returns

PointerSource source of the pointer event

currentPosInPixel()

PointF currentPosInPixel()

Returns

PointF current position of the pointer device in surface local coordinate in logical pixel unit.

pointerButtons()

PointerButton*[] pointerButtons()

Returns

PointerButton*[] all active pointer buttons for this event. A button is reported when it is pressed and is removed only after reporting the button release event.

pointerScrolls()

PointerScroll*[] pointerScrolls()

Returns

PointerScroll*[] all pointer scroll movement requests.
Last modified on October 29, 2026