ResolutionRule

sealed interface ResolutionRule

The resolution an output would like to stream at.

This is an extension point for plugin modules, see NativeCameraOutput.

Inheritors

Types

Link copied to clipboard
data object Any : ResolutionRule

Any resolution.

Link copied to clipboard
data class ClosestTo(val size: Size) : ResolutionRule

A resolution as close as possible to size.

Link copied to clipboard
data class Min(val size: Size) : ResolutionRule

Any resolution covering at least size.