@and2long/react-native-uvc-camera
Version:
13 lines • 474 B
TypeScript
import React from 'react';
import type { UVCCameraProps } from './UVCCameraProps';
import type { PhotoFile } from './PhotoFile';
export declare class UVCCamera extends React.PureComponent<UVCCameraProps> {
private readonly ref;
constructor(props: UVCCameraProps);
private get handle();
render(): React.ReactNode;
openCamera(): Promise<void>;
closeCamera(): Promise<void>;
takePhoto(): Promise<PhotoFile>;
}
//# sourceMappingURL=UVCCamera.d.ts.map