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 IView4

interface IView4
Extends IView3 This interface extends IView3 with additional functionality to support injecting input events. All methods of this interface must be called from the UI thread.

Methods

injectEvent()

void injectEvent(IUIWindowEvent* windowEvent)
Inject an IUIWindowEvent into this view. Supported events are: IUIPointerEvent, IUIKeyEvent, IUIAxisEvent. Note that injecting an IUIKeyEvent or IUIAxisEvent will not have any effect unless the view is focused.

Parameters

windowEvent
IUIWindowEvent* — Required The IUIWindowEvent to inject.

getGlobalLocation()

com.amazon.kepler.uitoolkit.graphics.Point getGlobalLocation()
Get the location of this view in global space (ie. relative to the root view’s position).

Returns

com.amazon.kepler.uitoolkit.graphics.Point The location of this view in global space.
Last modified on October 29, 2026