public interface ReactRoot
Modifier and Type | Method and Description |
---|---|
android.os.Bundle |
getAppProperties()
Return cached launch properties for app
|
int |
getHeightMeasureSpec() |
java.lang.String |
getInitialUITemplate() |
java.lang.String |
getJSModuleName() |
android.view.ViewGroup |
getRootViewGroup()
Return native view for root
|
int |
getRootViewTag() |
java.lang.String |
getSurfaceID()
Deprecated.
We recommend to not use this method as it is will be replaced in the near future.
|
int |
getUIManagerType()
Fabric or Default UI Manager, see
UIManagerType |
int |
getWidthMeasureSpec() |
void |
onStage(int stage)
Handler for stages
ReactStage |
void |
runApplication()
Calls into JS to start the React application.
|
void |
setRootViewTag(int rootViewTag) |
void |
setShouldLogContentAppeared(boolean shouldLogContentAppeared)
Sets a flag that determines whether to log that content appeared on next view added.
|
android.os.Bundle getAppProperties()
java.lang.String getInitialUITemplate()
java.lang.String getJSModuleName()
int getUIManagerType()
UIManagerType
int getRootViewTag()
void setRootViewTag(int rootViewTag)
void runApplication()
void onStage(int stage)
ReactStage
android.view.ViewGroup getRootViewGroup()
int getWidthMeasureSpec()
int getHeightMeasureSpec()
void setShouldLogContentAppeared(boolean shouldLogContentAppeared)
@Deprecated java.lang.String getSurfaceID()
String
that represents the root js application that is being rendered with
this ReactRoot