-
public interface ReactRoot
Interface for the root native view of a React native application
-
-
Method Summary
Modifier and Type Method Description abstract Bundle
getAppProperties()
Return cached launch properties for app abstract String
getInitialUITemplate()
abstract String
getJSModuleName()
abstract int
getUIManagerType()
Fabric or Default UI Manager, see UIManagerType abstract int
getRootViewTag()
abstract void
setRootViewTag(int rootViewTag)
abstract void
runApplication()
Calls into JS to start the React application. abstract void
onStage(int stage)
Handler for stages com.facebook.react.surface.ReactStage abstract ViewGroup
getRootViewGroup()
Return native view for root abstract int
getWidthMeasureSpec()
abstract int
getHeightMeasureSpec()
abstract void
setShouldLogContentAppeared(boolean shouldLogContentAppeared)
Sets a flag that determines whether to log that content appeared on next view added. abstract String
getSurfaceID()
abstract AtomicInteger
getState()
-
-
Method Detail
-
getAppProperties
@Nullable() abstract Bundle getAppProperties()
Return cached launch properties for app
-
getInitialUITemplate
@Nullable() abstract String getInitialUITemplate()
-
getJSModuleName
abstract String getJSModuleName()
-
getUIManagerType
abstract int getUIManagerType()
Fabric or Default UI Manager, see UIManagerType
-
getRootViewTag
abstract int getRootViewTag()
-
setRootViewTag
abstract void setRootViewTag(int rootViewTag)
-
runApplication
abstract void runApplication()
Calls into JS to start the React application.
-
onStage
abstract void onStage(int stage)
Handler for stages com.facebook.react.surface.ReactStage
-
getRootViewGroup
abstract ViewGroup getRootViewGroup()
Return native view for root
-
getWidthMeasureSpec
abstract int getWidthMeasureSpec()
-
getHeightMeasureSpec
abstract int getHeightMeasureSpec()
-
setShouldLogContentAppeared
abstract void setShouldLogContentAppeared(boolean shouldLogContentAppeared)
Sets a flag that determines whether to log that content appeared on next view added.
-
getSurfaceID
@Deprecated()@Nullable() abstract String getSurfaceID()
-
getState
abstract AtomicInteger getState()
-
-
-
-