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 IUIManager

interface IUIManager
Extends com.amazon.apmf.IStandard This interface provides methods to access views by their tag identifier. It serves as a bridge between JavaScript and native code, enabling lookup of native view instances using unique identifiers. Its instance is obtained from IReactModule and remains valid for the lifetime of the application.

Methods

tryGetViewFromTag()

com.amazon.kepler.uitoolkit.view.IView? tryGetViewFromTag(u32 viewTag)
Retrieves the view instance IView for a given view tag. It performs a lookup of the view instance associated with the specified view tag identifier. View tags are unique numeric identifiers obtained from JavaScript’s findNodeHandle() function and are used to reference native views across the React Native bridge.

Parameters

viewTag
u32 — Required The unique identifier for the view, obtained from JavaScript findNodeHandle().

Returns

com.amazon.kepler.uitoolkit.view.IView? The return value is optional and might be absent. The IView instance for the specified viewTag, or null, if no view exists with that tag, indicating the view was not found (e.g., already unmounted).
Last modified on October 29, 2026