SurfaceOutput

class SurfaceOutput(val surface: Surface, val resolution: Size, val isStreaming: () -> Boolean, transformationInfo: SurfaceOutput.TransformationInfo) : ISurfaceOutput

Constructors

Link copied to clipboard
constructor(surface: Surface, resolution: Size, isStreaming: () -> Boolean, transformationInfo: SurfaceOutput.TransformationInfo)

Types

Link copied to clipboard
data class TransformationInfo(val aspectRatioMode: AspectRatioMode, val targetRotation: Int, val cropRect: Rect, val needMirroring: Boolean, val infoProvider: ISourceInfoProvider)

Properties

Link copied to clipboard
val isStreaming: () -> Boolean
Link copied to clipboard
open override val resolution: Size
Link copied to clipboard
@IntRange(from = 0, to = 359)
val rotationDegrees: Int
Link copied to clipboard
@IntRange(from = 0, to = 359)
val sourceRotationDegrees: Int
Link copied to clipboard
open override val surface: Surface
Link copied to clipboard
open override val type: ISurfaceOutput.OutputType
Link copied to clipboard

Functions

Link copied to clipboard
open override fun updateTransformMatrix(output: FloatArray, input: FloatArray)