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 IInputEvent

interface IInputEvent
Extends com.amazon.apmf.IStandard Base interface which defines an input event from graphics subsystem.

Methods

timestamp()

com.amazon.apmf.MonotonicInstant timestamp()

Returns

com.amazon.apmf.MonotonicInstant input event’s time stamp

uuid()

com.amazon.apmf.Uuid uuid()

Returns

com.amazon.apmf.Uuid uuid of the device the event came from

acknowledge()

void acknowledge(bool consumed)
Acknowledges this event and informs whether this event was consumed by the client window or not. Clients must call this API for each input event it receives. Clients failing to acknowledge an input event will be treated as unresponsive and forced to terminate.

Parameters

consumed
bool — Required If true, framework will assume that client could handle this event successfully but if set to false, input event might be forwarded to other system components. See [IKeyEventListener]

Throws

  • DeviceError — if display subsystem is not in valid state

Last modified on October 29, 2026