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()
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.voidacknowledge(boolconsumed)
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

