react-native-vision-camera
Version:
VisionCamera is the fastest and most powerful Camera for react-native.
15 lines (14 loc) • 476 B
TypeScript
import type { CameraPreviewOutput } from '../specs/outputs/CameraPreviewOutput.nitro';
/**
* Use a {@linkcode CameraPreviewOutput} for rendering the Camera's live
* preview on screen.
*
* The returned {@linkcode CameraPreviewOutput} can be connected to a
* {@linkcode CameraSession} and then displayed using the `PreviewView`.
*
* @example
* ```ts
* const previewOutput = usePreviewOutput()
* ```
*/
export declare function usePreviewOutput(): CameraPreviewOutput;