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 IUIWindowEvent

interface IUIWindowEvent
Extends com.amazon.apmf.IStandard Interface containing details for window events like event type and native id.

Methods

getType()

UIWindowEventType getType()
Returns the type of window event.

Returns

UIWindowEventType UIWindowEventType struct representing the type of window.

markConsumed()

void markConsumed()
Marks the events as consumed.

nativeId()

i32 nativeId()
Returns the native id for window events.

Returns

i32 i32 integer value representing the native id of window event.

getInputEvent()

com.amazon.kepler.input.events.InputEvent? getInputEvent()
Returns the InputEvent instance containing details like event type, device uuid and event’s timestamp.

Returns

com.amazon.kepler.input.events.InputEvent? The return value is optional and might be absent. InputEvent instance for input type events, else Null.
Last modified on October 29, 2026