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

41 lines 1.55 kB
import { CameraCapturedPicture, CameraPictureOptions, PermissionResponse } from './Camera.types'; import { ExponentCameraRef } from './ExpoCamera.web'; declare const _default: { 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: {}; readonly VideoStabilization: {}; isAvailableAsync(): Promise<boolean>; takePicture(options: CameraPictureOptions, camera: ExponentCameraRef): Promise<CameraCapturedPicture>; pausePreview(camera: ExponentCameraRef): Promise<void>; resumePreview(camera: ExponentCameraRef): Promise<void>; getAvailableCameraTypesAsync(): Promise<string[]>; getAvailablePictureSizes(ratio: string, camera: ExponentCameraRef): Promise<string[]>; getPermissionsAsync(): Promise<PermissionResponse>; requestPermissionsAsync(): Promise<PermissionResponse>; getCameraPermissionsAsync(): Promise<PermissionResponse>; requestCameraPermissionsAsync(): Promise<PermissionResponse>; getMicrophonePermissionsAsync(): Promise<PermissionResponse>; requestMicrophonePermissionsAsync(): Promise<PermissionResponse>; }; export default _default; //# sourceMappingURL=ExpoCameraManager.web.d.ts.map