ReactSurface

interface ReactSurface

Represents a Surface in React Native.

Inheritors

Properties

Link copied to clipboard
abstract val context: Context

Returns context associated with the surface

Link copied to clipboard
abstract val isRunning: Boolean

Returns whether the surface is running or not

Link copied to clipboard
abstract val moduleName: String

Returns module name of this surface

Link copied to clipboard
abstract val surfaceID: Int

Returns surface ID of this surface

Link copied to clipboard
abstract val view: ViewGroup?

Returns React root view of this surface

Functions

Link copied to clipboard
abstract fun clear()

Clear surface

Link copied to clipboard
abstract fun detach()

Detach surface from Host

Link copied to clipboard
abstract fun prerender(): TaskInterface<Void>

Prerender this surface

Link copied to clipboard
abstract fun start(): TaskInterface<Void>

Start running this surface

Link copied to clipboard
abstract fun stop(): TaskInterface<Void>

Stop running this surface