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

9 lines 580 B
export declare function requestUserMediaAsync(props: { audio?: any; video?: any; }, isMuted?: boolean): Promise<MediaStream>; export declare function getAnyUserMediaAsync(constraints: MediaStreamConstraints, ignoreConstraints?: boolean): Promise<MediaStream>; export declare function canGetUserMedia(): boolean; export declare function isFrontCameraAvailableAsync(devices?: MediaDeviceInfo[]): Promise<null | string>; export declare function isBackCameraAvailableAsync(devices?: MediaDeviceInfo[]): Promise<null | string>; //# sourceMappingURL=WebUserMediaManager.d.ts.map