MultiPreviewConfig
data class MultiPreviewConfig(var width: Int = 0, var height: Int = 0, var horizontalFlip: Boolean = false, var verticalFlip: Boolean = false, var aspectRatioMode: AspectRatioMode = AspectRatioMode.Adjust, var isPortrait: Boolean = false, var viewPort: ViewPort? = null)
User-facing configuration for a multi-preview surface. All configuration fields are mutable to support dynamic updates.
Parameters
width
the width of the preview. 0 to use preview or encoder resolution
height
the height of the preview. 0 to use preview or encoder resolution
horizontalFlip
true to flip horizontally
verticalFlip
true to flip vertically
aspectRatioMode
aspect ratio mode for this surface
isPortrait
true for portrait orientation, false for landscape
viewPort
viewport for this surface. null for full screen