public interface UIManager extends JSIModule, PerformanceCounter
Modifier and Type | Method and Description |
---|---|
<T extends SizeMonitoringFrameLayout & MeasureSpecProvider> |
addRootView(T rootView,
WritableMap initialProps,
java.lang.String initialUITemplate)
Registers a new root view.
|
void |
clearJSResponder() |
void |
dispatchCommand(int reactTag,
int commandId,
ReadableArray commandArgs)
Dispatches the commandId received by parameter to the view associated with the reactTag.
|
void |
removeRootView(int reactRootTag)
Unregisters a new root view.
|
void |
setJSResponder(int reactTag,
boolean blockNativeResponder) |
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
getPerformanceCounters, profileNextBatch
<T extends SizeMonitoringFrameLayout & MeasureSpecProvider> int addRootView(T rootView, WritableMap initialProps, java.lang.String initialUITemplate)
void removeRootView(int reactRootTag)
void updateRootLayoutSpecs(int rootTag, int widthMeasureSpec, int heightMeasureSpec)
void dispatchCommand(int reactTag, int commandId, ReadableArray commandArgs)
reactTag
- int
that identifies the view that will receive this commandcommandId
- int
command idcommandArgs
- ReadableArray
parameters associated with the commandvoid setJSResponder(int reactTag, boolean blockNativeResponder)
void clearJSResponder()