# 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

## Constructors

MultiPreviewConfig
Link copied to clipboard
constructor(width: Int = 0, height: Int = 0, horizontalFlip: Boolean = false, verticalFlip: Boolean = false, aspectRatioMode: AspectRatioMode = AspectRatioMode.Adjust, isPortrait: Boolean = false, viewPort: ViewPort? = null)

## Properties

aspectRatioMode
Link copied to clipboard
var aspectRatioMode: AspectRatioMode
height
Link copied to clipboard
var height: Int
horizontalFlip
Link copied to clipboard
var horizontalFlip: Boolean
isPortrait
Link copied to clipboard
var isPortrait: Boolean
verticalFlip
Link copied to clipboard
var verticalFlip: Boolean
viewPort
Link copied to clipboard
var viewPort: ViewPort?
width
Link copied to clipboard
var width: Int