public interface UIManager extends JSIModule
Modifier and Type | Method and Description |
---|---|
<T extends SizeMonitoringFrameLayout & MeasureSpecProvider> |
addRootView(T rootView)
Registers a new root view.
|
void |
dispatchCommand(int reactTag,
int commandId,
ReadableArray commandArgs)
Dispatches the commandId received by parameter to the view associated with the reactTag.
|
void |
updateRootLayoutSpecs(int rootTag,
int widthMeasureSpec,
int heightMeasureSpec)
Updates the layout specs of the RootShadowNode based on the Measure specs received by
parameters.
|
initialize, onCatalystInstanceDestroy
<T extends SizeMonitoringFrameLayout & MeasureSpecProvider> int addRootView(T rootView)
void updateRootLayoutSpecs(int rootTag, int widthMeasureSpec, int heightMeasureSpec)
void dispatchCommand(int reactTag, int commandId, @Nullable ReadableArray commandArgs)
reactTag
- int
that identifies the view that will receive this commandcommandId
- int
command idcommandArgs
- ReadableArray
parameters associated with the command