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()
Retrieves the view instancecom.amazon.kepler.uitoolkit.view.IView?tryGetViewFromTag(u32viewTag)
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).

