ReactRoot

interface ReactRoot

Interface for the root native view of a React native application

Inheritors

Properties

Link copied to clipboard
This constant represents that ReactRoot has started.
Link copied to clipboard
This constant represents that ReactRoot hasn't started yet or it has been destroyed.

Functions

Link copied to clipboard
Return cached launch properties for app
Link copied to clipboard
abstract fun getHeightMeasureSpec(): Int
Link copied to clipboard
abstract fun getJSModuleName(): String
Link copied to clipboard
abstract fun getRootViewGroup(): ViewGroup
Return native view for root
Link copied to clipboard
abstract fun getRootViewTag(): Int
Link copied to clipboard
abstract fun getState(): AtomicInteger
Link copied to clipboard
abstract fun getSurfaceID(): String
Link copied to clipboard
abstract fun getUIManagerType(): Int
Fabric or Default UI Manager, see UIManagerType
Link copied to clipboard
abstract fun getWidthMeasureSpec(): Int
Link copied to clipboard
abstract fun onStage(stage: Int)
Handler for stages com.facebook.react.surface.
Link copied to clipboard
abstract fun runApplication()
Calls into JS to start the React application.
Link copied to clipboard
abstract fun setRootViewTag(rootViewTag: Int)
Link copied to clipboard
abstract fun setShouldLogContentAppeared(shouldLogContentAppeared: Boolean)
Sets a flag that determines whether to log that content appeared on next view added.