theta-ble-client-react-native
Version:
This library provides a way to control RICOH THETA using
84 lines • 2.72 kB
TypeScript
import type { ThetaDevice } from '../theta-device';
import { ThetaService } from './theta-service';
import { BleServiceEnum, CaptureModeEnum, FileFormatEnum, MaxRecordableTimeEnum } from './values';
/**
* Shooting Control Command Service
*
* Service: 1D0F3602-8DFB-4340-9045-513040DAD991
*/
export declare class ShootingControlCommand extends ThetaService {
readonly service: BleServiceEnum;
readonly device: ThetaDevice;
constructor(device: ThetaDevice);
/**
* Acquires the capture mode of the camera.
*
* Service: 1D0F3602-8DFB-4340-9045-513040DAD991
*
* Characteristic: 78009238-AC3D-4370-9B6F-C9CE2F4E3CA8
*
* @returns Capture Mode.
*/
getCaptureMode(): Promise<CaptureModeEnum>;
/**
* Set the capture mode of the camera.
*
* Service: 1D0F3602-8DFB-4340-9045-513040DAD991
*
* Characteristic: 78009238-AC3D-4370-9B6F-C9CE2F4E3CA8
*
* @param mode Capture Mode.
*/
setCaptureMode(mode: CaptureModeEnum): Promise<any>;
/**
* Acquires the recording size (pixels) of the camera.
*
* Service: 1D0F3602-8DFB-4340-9045-513040DAD991
*
* Characteristic: E8F0EDD1-6C0F-494A-95C3-3244AE0B9A01
*
* @returns File format.
*/
getFileFormat(): Promise<FileFormatEnum>;
/**
* Set the recording size (pixels) of the camera.
*
* Service: 1D0F3602-8DFB-4340-9045-513040DAD991
*
* Characteristic: E8F0EDD1-6C0F-494A-95C3-3244AE0B9A01
*
* @param value File format.
*/
setFileFormat(value: FileFormatEnum): Promise<any>;
/**
* Acquires the maximum recordable time (in seconds) of the camera.
*
* Service: 1D0F3602-8DFB-4340-9045-513040DAD991
*
* Characteristic: 6EABAB73-7F2B-4061-BE7C-1D71D143CB7D
*
* @returns Maximum recordable time.
*/
getMaxRecordableTime(): Promise<MaxRecordableTimeEnum>;
/**
* Set the maximum recordable time (in seconds) of the camera.
*
* Service: 1D0F3602-8DFB-4340-9045-513040DAD991
*
* Characteristic: 6EABAB73-7F2B-4061-BE7C-1D71D143CB7D
*
* @param value Maximum recordable time.
*/
setMaxRecordableTime(value: MaxRecordableTimeEnum): Promise<any>;
/**
* Instructs the camera to start shooting a still image. Also, acquires the shooting status.
*
* Service: 1D0F3602-8DFB-4340-9045-513040DAD991
*
* Characteristic: FEC1805C-8905-4477-B862-BA5E447528A5
*
* @param complete Notification of end of shooting. If an error occurs, notify the argument.
*/
takePicture(complete?: (error?: any) => void): void;
}
//# sourceMappingURL=shooting-control-command.d.ts.map