UNPKG

theta-ble-client-react-native

Version:

This library provides a way to control RICOH THETA using

48 lines 1.43 kB
export declare const TIMEOUT_SCAN = 30000; export declare const TIMEOUT_PERIPHERAL = 1000; export declare const TIMEOUT_CONNECT = 5000; export declare const TIMEOUT_TAKE_PICTURE = 10000; /** * Configuration of timeout. */ export interface Timeout { /** * Specifies a time period (in milliseconds) required to scan THETA. */ timeoutScan?: number; /** * Specifies a time period (in milliseconds) required to process an ble peripheral. */ timeoutPeripheral?: number; /** * Specifies a time period (in milliseconds) required to connection with THETA. */ timeoutConnect?: number; /** * Specifies a time period (in milliseconds) required to take a picture. */ timeoutTakePicture?: number; } /** * Configuration of timeout. */ export declare class TimeoutObject implements Timeout { /** * Specifies a time period (in milliseconds) required to scan THETA. */ timeoutScan: number; /** * Specifies a time period (in milliseconds) required to process an ble peripheral. */ timeoutPeripheral: number; /** * Specifies a time period (in milliseconds) required to connection with THETA. */ timeoutConnect: number; /** * Specifies a time period (in milliseconds) required to take a picture. */ timeoutTakePicture: number; constructor(timeout?: Timeout); } //# sourceMappingURL=timeout.d.ts.map