theta-client-react-native
Version:
This library provides a way to control RICOH THETA using.
49 lines • 2.06 kB
TypeScript
import { CaptureBuilder, CapturingStatusEnum } from './capture';
import { NotifyController } from '../theta-repository/notify-controller';
/**
* CompositeIntervalCapture class
*/
export declare class CompositeIntervalCapture {
notify: NotifyController;
constructor(notify: NotifyController);
/**
* start interval composite shooting
* @param onProgress the block for interval composite shooting onProgress
* @param onStopFailed Called when stopCapture error occurs
* @param onCapturing Called when change capture status
* @return promise of captured file url
*/
startCapture(onProgress?: (completion?: number) => void, onStopFailed?: (error: any) => void, onCapturing?: (status: CapturingStatusEnum) => void): Promise<string[] | undefined>;
/**
* cancel interval composite shooting
*/
cancelCapture(): Promise<any>;
}
/**
* CompositeIntervalCaptureBuilder class
*/
export declare class CompositeIntervalCaptureBuilder extends CaptureBuilder<CompositeIntervalCaptureBuilder> {
interval?: number;
readonly shootingTimeSec: number;
/** construct CompositeIntervalCaptureBuilder instance */
constructor(shootingTimeSec: number);
/**
* set interval of checking interval composite shooting status command
* @param timeMillis interval
* @returns CompositeIntervalCaptureBuilder
*/
setCheckStatusCommandInterval(timeMillis: number): CompositeIntervalCaptureBuilder;
/**
* Set In-progress save interval for interval composite shooting (sec).
* @param {interval} sec sec.
* @return CompositeIntervalCaptureBuilder
*/
setCompositeShootingOutputInterval(sec: number): CompositeIntervalCaptureBuilder;
/**
* Builds an instance of a CompositeIntervalCapture that has all the combined
* parameters of the Options that have been added to the Builder.
* @return promise of CompositeIntervalCapture instance
*/
build(): Promise<CompositeIntervalCapture>;
}
//# sourceMappingURL=composite-interval-capture.d.ts.map