UNPKG

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

33 lines (32 loc) 949 B
import { CapturedPicture, PictureOptions } from './Camera.types'; import ExponentCamera from './ExponentCamera.web'; declare const _default: { readonly name: string; readonly Type: { back: string; front: string; }; readonly FlashMode: { on: string; off: string; auto: string; torch: string; }; readonly AutoFocus: { on: string; off: string; auto: string; singleShot: string; }; readonly WhiteBalance: { auto: string; continuous: string; manual: string; }; readonly VideoQuality: {}; takePicture(options: PictureOptions, camera: ExponentCamera): Promise<CapturedPicture>; pausePreview(camera: ExponentCamera): Promise<void>; resumePreview(camera: ExponentCamera): Promise<any>; getAvailablePictureSizes(ratio: string, camera: ExponentCamera): Promise<string[]>; }; export default _default;