react-native-vision-camera
Version:
VisionCamera is the fastest and most powerful Camera for react-native.
24 lines (23 loc) • 806 B
TypeScript
import type { MirrorMode } from '../common-types/MirrorMode';
import type { CameraOutput } from '../outputs/CameraOutput.nitro';
/**
* Specifies options for an output in a {@linkcode CameraSessionConnection}
* used in {@linkcode CameraSession.configure | CameraSession.configure(...)}.
*/
export interface CameraOutputConfiguration {
/**
* Sets whether the {@linkcode CameraOutput}
* is mirrored alongside the vertical axis, or not.
*
* By default, {@linkcode mirrorMode} is set to
* {@linkcode MirrorMode | 'auto'}, which automatically
* enables video mirroring if the device suggests it -
* for example on selfie cameras.
* @default 'auto'
*/
mirrorMode: MirrorMode;
/**
* The {@linkcode CameraOutput}.
*/
output: CameraOutput;
}