theta-client-react-native
Version:
This library provides a way to control RICOH THETA using.
14 lines • 503 B
TypeScript
import type { Options } from './options';
import type { ThetaState } from './theta-state';
import type { NotifyController } from './notify-controller';
export type CameraEvent = {
options?: Options;
state?: ThetaState;
};
export declare class EventWebSocket {
notify: NotifyController;
constructor(notify: NotifyController);
start(onReceive: (event: CameraEvent) => void, onClose: () => void): Promise<void>;
stop(): Promise<void>;
}
//# sourceMappingURL=event-websocket.d.ts.map