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

23 lines 689 B
import { SharedRef } from 'expo'; import type { PhotoResult, SavePictureOptions } from './Camera.types'; /** * A reference to a native instance of the image. */ export declare class PictureRef extends SharedRef<'image'> { /** * Width of the image. */ width: number; /** * Height of the image. */ height: number; /** * Saves the image to the file system in the cache directory. * @param options A map defining how modified image should be saved. */ savePictureAsync(options?: SavePictureOptions): Promise<PhotoResult>; } declare const _default: typeof PictureRef; export default _default; //# sourceMappingURL=PictureRef.d.ts.map