SurfaceHandler

@ThreadSafe
interface SurfaceHandler

Represents a Java variant of the surface, its status and inner data required to display it.

Properties

Link copied to clipboard
abstract val isRunning: Boolean
Link copied to clipboard
abstract val moduleName: String
Link copied to clipboard
abstract val surfaceId: Int

Provides current surface id. Id should be updated after each call to {@link SurfaceHandler#stop}

Functions

Link copied to clipboard
abstract fun setLayoutConstraints(widthMeasureSpec: Int, heightMeasureSpec: Int, offsetX: Int, offsetY: Int, doLeftAndRightSwapInRTL: Boolean, isRTL: Boolean, pixelDensity: Float)
Link copied to clipboard
abstract fun setMountable(mountable: Boolean)
Link copied to clipboard
abstract fun setProps(props: NativeMap)