react-native-vision-camera
Version:
VisionCamera is the fastest and most powerful Camera for react-native.
23 lines (22 loc) • 635 B
TypeScript
import type { CameraOutput } from './CameraOutput.nitro';
/**
* Represents the {@linkcode CameraOutput} for preview.
*
* The {@linkcode CameraPreviewOutput} needs to be connected
* to the {@linkcode CameraSession} as an output, as well
* as to a {@linkcode PreviewView} as a target.
*
* @example
* Creating a `CameraPreviewOutput` via the Hooks API:
* ```ts
* const previewOutput = usePreviewOutput()
* ```
*
* @example
* Creating a `CameraPreviewOutput` via the Imperative API:
* ```ts
* const previewOutput = VisionCamera.createPreviewOutput()
* ```
*/
export interface CameraPreviewOutput extends CameraOutput {
}