expo-camera
Version:
A React component that renders a preview for the device's either front or back camera. Camera's parameters like zoom, auto focus, white balance and flash mode are adjustable. With expo-camera, one can also take photos and record videos that are saved to t
13 lines • 585 B
TypeScript
import * as React from 'react';
import { BarcodeType, BarcodeScanningResult, MountErrorListener } from '../Camera.types';
export declare function useWebBarcodeScanner(video: React.RefObject<HTMLVideoElement | null>, { isEnabled, barcodeTypes, interval, isMirrored, onScanned, onError, }: {
isEnabled: boolean;
barcodeTypes: BarcodeType[];
interval?: number;
isMirrored?: boolean;
onScanned?: (scanningResult: {
nativeEvent: BarcodeScanningResult;
}) => void;
onError?: MountErrorListener;
}): void;
//# sourceMappingURL=useWebBarcodeScanner.d.ts.map