theta-client-react-native 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +375 -0
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +391 -17
- package/ios/ThetaClientReactNative.h +6 -0
- package/ios/ThetaClientReactNative.mm +1125 -132
- package/lib/commonjs/capture/index.js +11 -0
- package/lib/commonjs/capture/index.js.map +1 -1
- package/lib/commonjs/capture/notify.js +12 -0
- package/lib/commonjs/capture/notify.js.map +1 -0
- package/lib/commonjs/capture/time-shift-capture.js +91 -0
- package/lib/commonjs/capture/time-shift-capture.js.map +1 -0
- package/lib/commonjs/theta-repository/access-point.js.map +1 -1
- package/lib/commonjs/theta-repository/digest-auth.js +2 -0
- package/lib/commonjs/theta-repository/digest-auth.js.map +1 -0
- package/lib/commonjs/theta-repository/index.js +37 -4
- package/lib/commonjs/theta-repository/index.js.map +1 -1
- package/lib/commonjs/theta-repository/options/index.js +110 -0
- package/lib/commonjs/theta-repository/options/index.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-camera-control-source.js +29 -0
- package/lib/commonjs/theta-repository/options/option-camera-control-source.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-camera-mode.js +26 -0
- package/lib/commonjs/theta-repository/options/option-camera-mode.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-network-type.js +26 -0
- package/lib/commonjs/theta-repository/options/option-network-type.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-power-saving.js +24 -0
- package/lib/commonjs/theta-repository/options/option-power-saving.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-preview-format.js +32 -0
- package/lib/commonjs/theta-repository/options/option-preview-format.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-proxy.js +2 -0
- package/lib/commonjs/theta-repository/options/option-proxy.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-shooting-method.js +41 -0
- package/lib/commonjs/theta-repository/options/option-shooting-method.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-shutter-speed.js +302 -0
- package/lib/commonjs/theta-repository/options/option-shutter-speed.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-time-shift.js +43 -0
- package/lib/commonjs/theta-repository/options/option-time-shift.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-wlan-frequency.js +22 -0
- package/lib/commonjs/theta-repository/options/option-wlan-frequency.js.map +1 -0
- package/lib/commonjs/theta-repository/options/options.js +30 -2
- package/lib/commonjs/theta-repository/options/options.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-config.js +6 -0
- package/lib/commonjs/theta-repository/theta-config.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-files.js +13 -1
- package/lib/commonjs/theta-repository/theta-files.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-repository.js +39 -8
- package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-timeout.js +2 -0
- package/lib/commonjs/theta-repository/theta-timeout.js.map +1 -0
- package/lib/module/capture/index.js +1 -0
- package/lib/module/capture/index.js.map +1 -1
- package/lib/module/capture/notify.js +6 -0
- package/lib/module/capture/notify.js.map +1 -0
- package/lib/module/capture/time-shift-capture.js +83 -0
- package/lib/module/capture/time-shift-capture.js.map +1 -0
- package/lib/module/theta-repository/access-point.js.map +1 -1
- package/lib/module/theta-repository/digest-auth.js +2 -0
- package/lib/module/theta-repository/digest-auth.js.map +1 -0
- package/lib/module/theta-repository/index.js +4 -1
- package/lib/module/theta-repository/index.js.map +1 -1
- package/lib/module/theta-repository/options/index.js +10 -0
- package/lib/module/theta-repository/options/index.js.map +1 -1
- package/lib/module/theta-repository/options/option-camera-control-source.js +22 -0
- package/lib/module/theta-repository/options/option-camera-control-source.js.map +1 -0
- package/lib/module/theta-repository/options/option-camera-mode.js +19 -0
- package/lib/module/theta-repository/options/option-camera-mode.js.map +1 -0
- package/lib/module/theta-repository/options/option-network-type.js +19 -0
- package/lib/module/theta-repository/options/option-network-type.js.map +1 -0
- package/lib/module/theta-repository/options/option-power-saving.js +17 -0
- package/lib/module/theta-repository/options/option-power-saving.js.map +1 -0
- package/lib/module/theta-repository/options/option-preview-format.js +25 -0
- package/lib/module/theta-repository/options/option-preview-format.js.map +1 -0
- package/lib/module/theta-repository/options/option-proxy.js +2 -0
- package/lib/module/theta-repository/options/option-proxy.js.map +1 -0
- package/lib/module/theta-repository/options/option-shooting-method.js +34 -0
- package/lib/module/theta-repository/options/option-shooting-method.js.map +1 -0
- package/lib/module/theta-repository/options/option-shutter-speed.js +295 -0
- package/lib/module/theta-repository/options/option-shutter-speed.js.map +1 -0
- package/lib/module/theta-repository/options/option-time-shift.js +36 -0
- package/lib/module/theta-repository/options/option-time-shift.js.map +1 -0
- package/lib/module/theta-repository/options/option-wlan-frequency.js +15 -0
- package/lib/module/theta-repository/options/option-wlan-frequency.js.map +1 -0
- package/lib/module/theta-repository/options/options.js +30 -2
- package/lib/module/theta-repository/options/options.js.map +1 -1
- package/lib/module/theta-repository/theta-config.js +2 -0
- package/lib/module/theta-repository/theta-config.js.map +1 -0
- package/lib/module/theta-repository/theta-files.js +12 -0
- package/lib/module/theta-repository/theta-files.js.map +1 -1
- package/lib/module/theta-repository/theta-repository.js +38 -9
- package/lib/module/theta-repository/theta-repository.js.map +1 -1
- package/lib/module/theta-repository/theta-timeout.js +2 -0
- package/lib/module/theta-repository/theta-timeout.js.map +1 -0
- package/lib/typescript/capture/index.d.ts +1 -0
- package/lib/typescript/capture/index.d.ts.map +1 -1
- package/lib/typescript/capture/notify.d.ts +13 -0
- package/lib/typescript/capture/notify.d.ts.map +1 -0
- package/lib/typescript/capture/time-shift-capture.d.ts +44 -0
- package/lib/typescript/capture/time-shift-capture.d.ts.map +1 -0
- package/lib/typescript/theta-repository/access-point.d.ts +4 -1
- package/lib/typescript/theta-repository/access-point.d.ts.map +1 -1
- package/lib/typescript/theta-repository/digest-auth.d.ts +17 -0
- package/lib/typescript/theta-repository/digest-auth.d.ts.map +1 -0
- package/lib/typescript/theta-repository/index.d.ts +4 -1
- package/lib/typescript/theta-repository/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/index.d.ts +10 -0
- package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-camera-control-source.d.ts +22 -0
- package/lib/typescript/theta-repository/options/option-camera-control-source.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-camera-mode.d.ts +19 -0
- package/lib/typescript/theta-repository/options/option-camera-mode.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-network-type.d.ts +19 -0
- package/lib/typescript/theta-repository/options/option-network-type.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-power-saving.d.ts +16 -0
- package/lib/typescript/theta-repository/options/option-power-saving.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-preview-format.d.ts +25 -0
- package/lib/typescript/theta-repository/options/option-preview-format.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-proxy.d.ts +23 -0
- package/lib/typescript/theta-repository/options/option-proxy.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-shooting-method.d.ts +33 -0
- package/lib/typescript/theta-repository/options/option-shooting-method.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-shutter-speed.d.ts +295 -0
- package/lib/typescript/theta-repository/options/option-shutter-speed.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-time-shift.d.ts +54 -0
- package/lib/typescript/theta-repository/options/option-time-shift.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-white-balance-auto-strength.d.ts +1 -1
- package/lib/typescript/theta-repository/options/option-white-balance-auto-strength.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-wlan-frequency.d.ts +15 -0
- package/lib/typescript/theta-repository/options/option-wlan-frequency.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/options.d.ts +73 -6
- package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-config.d.ts +20 -0
- package/lib/typescript/theta-repository/theta-config.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-files.d.ts +14 -1
- package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-repository.d.ts +28 -7
- package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-timeout.d.ts +22 -0
- package/lib/typescript/theta-repository/theta-timeout.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/capture/index.ts +1 -0
- package/src/capture/notify.ts +27 -0
- package/src/capture/time-shift-capture.ts +99 -0
- package/src/theta-repository/access-point.ts +5 -1
- package/src/theta-repository/digest-auth.ts +16 -0
- package/src/theta-repository/index.ts +4 -1
- package/src/theta-repository/options/index.ts +11 -0
- package/src/theta-repository/options/option-camera-control-source.ts +24 -0
- package/src/theta-repository/options/option-camera-mode.ts +20 -0
- package/src/theta-repository/options/option-network-type.ts +20 -0
- package/src/theta-repository/options/option-power-saving.ts +18 -0
- package/src/theta-repository/options/option-preview-format.ts +27 -0
- package/src/theta-repository/options/option-proxy.ts +22 -0
- package/src/theta-repository/options/option-shooting-method.ts +36 -0
- package/src/theta-repository/options/option-shutter-speed.ts +360 -0
- package/src/theta-repository/options/option-time-shift.ts +59 -0
- package/src/theta-repository/options/option-white-balance-auto-strength.ts +1 -1
- package/src/theta-repository/options/option-wlan-frequency.ts +16 -0
- package/src/theta-repository/options/options.ts +74 -6
- package/src/theta-repository/theta-config.ts +20 -0
- package/src/theta-repository/theta-files.ts +16 -1
- package/src/theta-repository/theta-repository.ts +68 -17
- package/src/theta-repository/theta-timeout.ts +21 -0
- package/theta-client-react-native.podspec +1 -1
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
import { AccessPoint, AuthModeEnum } from './access-point';
|
|
2
|
-
import type { FileTypeEnum, ThetaFiles } from './theta-files';
|
|
2
|
+
import type { FileTypeEnum, StorageEnum, ThetaFiles } from './theta-files';
|
|
3
3
|
import type { ThetaState } from './theta-state';
|
|
4
4
|
import type { ThetaInfo } from './theta-info';
|
|
5
5
|
import type { MetaInfo } from './theta-meta';
|
|
6
6
|
import type { PluginInfo } from './theta-plugin';
|
|
7
|
-
import type { OptionNameEnum, Options, CaptureModeEnum } from './options';
|
|
8
|
-
import { PhotoCaptureBuilder, VideoCaptureBuilder } from '../capture';
|
|
7
|
+
import type { OptionNameEnum, Options, CaptureModeEnum, Proxy } from './options';
|
|
8
|
+
import { PhotoCaptureBuilder, VideoCaptureBuilder, TimeShiftCaptureBuilder } from '../capture';
|
|
9
|
+
import type { ThetaConfig } from './theta-config';
|
|
10
|
+
import type { ThetaTimeout } from './theta-timeout';
|
|
9
11
|
/**
|
|
10
12
|
* initialize theta client sdk
|
|
11
13
|
*
|
|
12
14
|
* @function initialize
|
|
13
15
|
* @param {string} endPoint optional endpoint of camera
|
|
16
|
+
* @param {ThetaConfig} config Configuration of initialize. If null, get from THETA.
|
|
17
|
+
* @param {ThetaTimeout} timeout Timeout of HTTP call.
|
|
14
18
|
* @return promise of boolean result
|
|
15
19
|
**/
|
|
16
|
-
export declare function initialize(endPoint?: string): Promise<boolean>;
|
|
20
|
+
export declare function initialize(endPoint?: string, config?: ThetaConfig, timeout?: ThetaTimeout): Promise<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns whether it is initialized or not.
|
|
23
|
+
*
|
|
24
|
+
* @function isInitialized
|
|
25
|
+
* @return promise of boolean result
|
|
26
|
+
**/
|
|
27
|
+
export declare function isInitialized(): Promise<boolean>;
|
|
17
28
|
/**
|
|
18
29
|
* Reset all device settings and capture settings.
|
|
19
30
|
* After reset, the camera will be restarted.
|
|
@@ -29,6 +40,13 @@ export declare function reset(): Promise<boolean>;
|
|
|
29
40
|
* @return created PhotoCaptureBuilder
|
|
30
41
|
*/
|
|
31
42
|
export declare function getPhotoCaptureBuilder(): PhotoCaptureBuilder;
|
|
43
|
+
/**
|
|
44
|
+
* Get TimeShiftCaptureBuilder for time-shift.
|
|
45
|
+
*
|
|
46
|
+
* @function getTimeShiftCaptureBuilder
|
|
47
|
+
* @return created TimeShiftCaptureBuilder
|
|
48
|
+
*/
|
|
49
|
+
export declare function getTimeShiftCaptureBuilder(): TimeShiftCaptureBuilder;
|
|
32
50
|
/**
|
|
33
51
|
* Get PhotoCapture.Builder for capture video.
|
|
34
52
|
*
|
|
@@ -127,10 +145,11 @@ export declare function getThetaState(): Promise<ThetaState>;
|
|
|
127
145
|
* @param {number} entryCount Desired number of entries to return. If
|
|
128
146
|
* entryCount is more than the number of remaining files, just
|
|
129
147
|
* return entries of actual remaining files.
|
|
148
|
+
* @param {StorageEnum} storage Desired storage. If omitted, return current storage. (RICOH THETA X Version 2.00.0 or later)
|
|
130
149
|
* @return promise with a list of file information and number of totalEntries.
|
|
131
150
|
* see [camera.listFiles](https://github.com/ricohapi/theta-api-specs/blob/main/theta-web-api-v2.1/commands/camera.list_files.md).
|
|
132
151
|
*/
|
|
133
|
-
export declare function listFiles(fileTypeEnum: FileTypeEnum, startPosition: number | undefined, entryCount: number): Promise<ThetaFiles>;
|
|
152
|
+
export declare function listFiles(fileTypeEnum: FileTypeEnum, startPosition: number | undefined, entryCount: number, storage?: StorageEnum): Promise<ThetaFiles>;
|
|
134
153
|
/**
|
|
135
154
|
* Delete files in Theta.
|
|
136
155
|
*
|
|
@@ -201,9 +220,10 @@ export declare function listAccessPoints(): Promise<AccessPoint[]>;
|
|
|
201
220
|
* @param {AuthModeEnum} authMode Authentication mode.
|
|
202
221
|
* @param {string} password Password. If authMode is "NONE", pass empty String.
|
|
203
222
|
* @param {number} connectionPriority Connection priority 1 to 5.
|
|
223
|
+
* @param {Proxy} proxy Proxy information to be used for the access point.
|
|
204
224
|
* @return promise of boolean result
|
|
205
225
|
*/
|
|
206
|
-
export declare function setAccessPointDynamically(ssid: string, ssidStealth?: boolean, authMode?: AuthModeEnum, password?: string, connectionPriority?: number): Promise<boolean>;
|
|
226
|
+
export declare function setAccessPointDynamically(ssid: string, ssidStealth?: boolean, authMode?: AuthModeEnum, password?: string, connectionPriority?: number, proxy?: Proxy): Promise<boolean>;
|
|
207
227
|
/**
|
|
208
228
|
* Set access point. IP address is set statically.
|
|
209
229
|
*
|
|
@@ -216,9 +236,10 @@ export declare function setAccessPointDynamically(ssid: string, ssidStealth?: bo
|
|
|
216
236
|
* @param {string} ipAddress IP address assigns to Theta.
|
|
217
237
|
* @param {string} subnetMask Subnet mask.
|
|
218
238
|
* @param {string} defaultGateway Default gateway.
|
|
239
|
+
* @param {Proxy} proxy Proxy information to be used for the access point.
|
|
219
240
|
* @return promise of boolean result
|
|
220
241
|
*/
|
|
221
|
-
export declare function setAccessPointStatically(ssid: string, ssidStealth: boolean | undefined, authMode: AuthModeEnum | undefined, password: string | undefined, connectionPriority: number | undefined, ipAddress: string, subnetMask: string, defaultGateway: string): Promise<boolean>;
|
|
242
|
+
export declare function setAccessPointStatically(ssid: string, ssidStealth: boolean | undefined, authMode: AuthModeEnum | undefined, password: string | undefined, connectionPriority: number | undefined, ipAddress: string, subnetMask: string, defaultGateway: string, proxy?: Proxy): Promise<boolean>;
|
|
222
243
|
/**
|
|
223
244
|
* Deletes access point information used in client mode.
|
|
224
245
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theta-repository.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"theta-repository.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK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AAO,CAAC,CAElB;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,WAAW,EAAE,eAAe,GAC3B,OAAO,CAAC,OAAO,CAAC,CAElB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC,CAEnD;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAE/D;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAEjE;AAED;;;;GAIG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC,CAE7C;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAErE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAEnD;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAEnE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timeout of HTTP call.
|
|
3
|
+
*/
|
|
4
|
+
export type ThetaTimeout = {
|
|
5
|
+
/**
|
|
6
|
+
* Specifies a time period (in milliseconds) in
|
|
7
|
+
* which a client should establish a connection with a server.
|
|
8
|
+
*/
|
|
9
|
+
connectTimeout: number;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies a time period (in milliseconds) required to process an HTTP call:
|
|
12
|
+
* from sending a request to receiving first response bytes.
|
|
13
|
+
* To disable this timeout, set its value to 0.
|
|
14
|
+
*/
|
|
15
|
+
requestTimeout: number;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies a maximum time (in milliseconds) of inactivity between two data packets
|
|
18
|
+
* when exchanging data with a server.
|
|
19
|
+
*/
|
|
20
|
+
socketTimeout: number;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=theta-timeout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theta-timeout.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-timeout.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
package/package.json
CHANGED
package/src/capture/index.ts
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EmitterSubscription,
|
|
3
|
+
NativeEventEmitter,
|
|
4
|
+
NativeModules,
|
|
5
|
+
} from 'react-native';
|
|
6
|
+
|
|
7
|
+
export interface BaseNotify {
|
|
8
|
+
name: string;
|
|
9
|
+
|
|
10
|
+
params?: any;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface CaptureProgressNotify {
|
|
14
|
+
name: string;
|
|
15
|
+
params?: {
|
|
16
|
+
completion: number;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export function addNotifyListener(
|
|
21
|
+
callback: (event: BaseNotify) => void
|
|
22
|
+
): EmitterSubscription {
|
|
23
|
+
const eventEmitter = new NativeEventEmitter(
|
|
24
|
+
NativeModules.ThetaClientReactNative
|
|
25
|
+
);
|
|
26
|
+
return eventEmitter.addListener('ThetaNotify', callback);
|
|
27
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { EmitterSubscription } from 'react-native';
|
|
2
|
+
import { CaptureBuilder } from './capture';
|
|
3
|
+
import { NativeModules } from 'react-native';
|
|
4
|
+
import { BaseNotify, CaptureProgressNotify, addNotifyListener } from './notify';
|
|
5
|
+
const ThetaClientReactNative = NativeModules.ThetaClientReactNative;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* TimeShiftCapture class
|
|
9
|
+
*/
|
|
10
|
+
export class TimeShiftCapture {
|
|
11
|
+
eventListener?: EmitterSubscription = undefined;
|
|
12
|
+
notifyList = new Map<string, ((notify: BaseNotify) => void) | undefined>();
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* start time-shift
|
|
16
|
+
* @param onProgress the block for time-shift onProgress
|
|
17
|
+
* @return promise of captured file url
|
|
18
|
+
*/
|
|
19
|
+
async startCapture(
|
|
20
|
+
onProgress?: (completion?: number) => void
|
|
21
|
+
): Promise<string> {
|
|
22
|
+
await this.initNotify();
|
|
23
|
+
this.notifyList.set(
|
|
24
|
+
'TIME-SHIFT-PROGRESS',
|
|
25
|
+
onProgress
|
|
26
|
+
? (event: CaptureProgressNotify) => {
|
|
27
|
+
onProgress(event.params?.completion);
|
|
28
|
+
}
|
|
29
|
+
: undefined
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
return new Promise<string>(async (resolve, reject) => {
|
|
33
|
+
await ThetaClientReactNative.startTimeShiftCapture()
|
|
34
|
+
.then((result: string) => {
|
|
35
|
+
resolve(result);
|
|
36
|
+
})
|
|
37
|
+
.catch((error: any) => {
|
|
38
|
+
reject(error);
|
|
39
|
+
})
|
|
40
|
+
.finally(() => {
|
|
41
|
+
this.releaseNotify();
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* cancel time-shift
|
|
48
|
+
*/
|
|
49
|
+
async cancelCapture(): Promise<any> {
|
|
50
|
+
return await ThetaClientReactNative.cancelTimeShiftCapture();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async initNotify() {
|
|
54
|
+
this.eventListener = addNotifyListener((notify: BaseNotify) => {
|
|
55
|
+
this.notifyList.get(notify.name)?.(notify as BaseNotify);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
releaseNotify() {
|
|
60
|
+
this.eventListener?.remove();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* TimeShiftCaptureBuilder class
|
|
66
|
+
*/
|
|
67
|
+
export class TimeShiftCaptureBuilder extends CaptureBuilder<TimeShiftCaptureBuilder> {
|
|
68
|
+
interval?: number;
|
|
69
|
+
|
|
70
|
+
/** construct TimeShiftCaptureBuilder instance */
|
|
71
|
+
constructor() {
|
|
72
|
+
super();
|
|
73
|
+
|
|
74
|
+
this.interval = undefined;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* set interval of checking time-shift status command
|
|
79
|
+
* @param timeMillis interval
|
|
80
|
+
* @returns TimeShiftCaptureBuilder
|
|
81
|
+
*/
|
|
82
|
+
setCheckStatusCommandInterval(timeMillis: number): TimeShiftCaptureBuilder {
|
|
83
|
+
this.interval = timeMillis;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Builds an instance of a TimeShiftCapture that has all the combined
|
|
89
|
+
* parameters of the Options that have been added to the Builder.
|
|
90
|
+
*
|
|
91
|
+
* @return promise of TimeShiftCapture instance
|
|
92
|
+
*/
|
|
93
|
+
build(): Promise<TimeShiftCapture> {
|
|
94
|
+
return ThetaClientReactNative.buildTimeShiftCapture(
|
|
95
|
+
this.options,
|
|
96
|
+
this.interval ?? -1
|
|
97
|
+
).then(() => new TimeShiftCapture());
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Proxy } from './options';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Enum for authentication mode.
|
|
3
5
|
*/
|
|
@@ -11,7 +13,7 @@ export const AuthModeEnum = {
|
|
|
11
13
|
} as const;
|
|
12
14
|
|
|
13
15
|
/** type definition of AuthModeEnum */
|
|
14
|
-
export type AuthModeEnum = typeof AuthModeEnum[keyof typeof AuthModeEnum];
|
|
16
|
+
export type AuthModeEnum = (typeof AuthModeEnum)[keyof typeof AuthModeEnum];
|
|
15
17
|
|
|
16
18
|
/** Access point information. */
|
|
17
19
|
export type AccessPoint = {
|
|
@@ -31,4 +33,6 @@ export type AccessPoint = {
|
|
|
31
33
|
subnetMask?: string;
|
|
32
34
|
/** Default Gateway. */
|
|
33
35
|
defaultGateway?: string;
|
|
36
|
+
/** Proxy information to be used when wired LAN is enabled. */
|
|
37
|
+
proxy?: Proxy;
|
|
34
38
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Authentication information used for client mode
|
|
3
|
+
*/
|
|
4
|
+
export type DigestAuth = {
|
|
5
|
+
/**
|
|
6
|
+
* User name
|
|
7
|
+
*/
|
|
8
|
+
username: string;
|
|
9
|
+
/**
|
|
10
|
+
* Password
|
|
11
|
+
*
|
|
12
|
+
* If omitted, the default password is used.
|
|
13
|
+
* Default password is "THETA" + "XX" after the beginning of the serial number.
|
|
14
|
+
*/
|
|
15
|
+
password?: string;
|
|
16
|
+
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from './access-point';
|
|
2
|
+
export * from './digest-auth';
|
|
3
|
+
export * from './theta-config';
|
|
2
4
|
export * from './theta-files';
|
|
3
5
|
export * from './theta-info';
|
|
4
6
|
export * from './theta-meta';
|
|
5
|
-
export * from './theta-state';
|
|
6
7
|
export * from './theta-repository';
|
|
8
|
+
export * from './theta-state';
|
|
9
|
+
export * from './theta-timeout';
|
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
export * from './options';
|
|
2
|
+
export * from './option-camera-control-source';
|
|
3
|
+
export * from './option-camera-mode';
|
|
4
|
+
export * from './option-network-type';
|
|
5
|
+
export * from './option-proxy';
|
|
6
|
+
export * from './option-power-saving';
|
|
7
|
+
export * from './option-preview-format';
|
|
8
|
+
export * from './option-shooting-method';
|
|
9
|
+
export * from './option-shutter-speed';
|
|
10
|
+
export * from './option-time-shift';
|
|
2
11
|
export * from './option-white-balance-auto-strength';
|
|
12
|
+
export * from './option-wlan-frequency';
|
|
13
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* camera control source
|
|
3
|
+
* Sets whether to lock/unlock the camera UI.
|
|
4
|
+
* The current setting can be acquired by camera.getOptions, and it can be changed by camera.setOptions.
|
|
5
|
+
*
|
|
6
|
+
* For RICOH THETA X
|
|
7
|
+
*/
|
|
8
|
+
export const CameraControlSourceEnum = {
|
|
9
|
+
/**
|
|
10
|
+
* Operation is possible with the camera. Locks the smartphone
|
|
11
|
+
* application UI (supported app only).
|
|
12
|
+
*/
|
|
13
|
+
CAMERA: 'CAMERA',
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Operation is possible with the smartphone application. Locks
|
|
17
|
+
* the UI on the shooting screen on the camera.
|
|
18
|
+
*/
|
|
19
|
+
APP: 'APP',
|
|
20
|
+
} as const;
|
|
21
|
+
|
|
22
|
+
/** type definition of CameraControlSourceEnum */
|
|
23
|
+
export type CameraControlSourceEnum =
|
|
24
|
+
(typeof CameraControlSourceEnum)[keyof typeof CameraControlSourceEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Camera mode.
|
|
3
|
+
* The current setting can be acquired by camera.getOptions, and it can be changed by camera.setOptions.
|
|
4
|
+
*
|
|
5
|
+
* For RICOH THETA X
|
|
6
|
+
*/
|
|
7
|
+
export const CameraModeEnum = {
|
|
8
|
+
/** shooting screen */
|
|
9
|
+
CAPTURE: 'CAPTURE',
|
|
10
|
+
/** playback screen */
|
|
11
|
+
PLAYBACK: 'PLAYBACK',
|
|
12
|
+
/** shooting setting screen */
|
|
13
|
+
SETTING: 'SETTING',
|
|
14
|
+
/** plugin selection screen */
|
|
15
|
+
PLUGIN: 'PLUGIN',
|
|
16
|
+
} as const;
|
|
17
|
+
|
|
18
|
+
/** type definition of CameraModeEnum */
|
|
19
|
+
export type CameraModeEnum =
|
|
20
|
+
(typeof CameraModeEnum)[keyof typeof CameraModeEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network type of the camera.
|
|
3
|
+
* Can be acquired by camera.getOptions and set by camera.setOptions.
|
|
4
|
+
*
|
|
5
|
+
* For Theta X, Z1 and V.
|
|
6
|
+
*/
|
|
7
|
+
export const NetworkTypeEnum = {
|
|
8
|
+
/** Direct mode */
|
|
9
|
+
DIRECT: 'DIRECT',
|
|
10
|
+
/** Client mode via WLAN */
|
|
11
|
+
CLIENT: 'CLIENT',
|
|
12
|
+
/** Client mode via Ethernet cable */
|
|
13
|
+
ETHERNET: 'ETHERNET',
|
|
14
|
+
/** Network is off. This value can be gotten only by plugin. */
|
|
15
|
+
OFF: 'OFF',
|
|
16
|
+
} as const;
|
|
17
|
+
|
|
18
|
+
/** Type definition of NetworkTypeEnum */
|
|
19
|
+
export type NetworkTypeEnum =
|
|
20
|
+
(typeof NetworkTypeEnum)[keyof typeof NetworkTypeEnum];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Power saving mode.
|
|
3
|
+
* The current setting can be acquired by camera.getOptions,
|
|
4
|
+
* and it can be changed by camera.setOptions.
|
|
5
|
+
*
|
|
6
|
+
* For Theta X only.
|
|
7
|
+
**/
|
|
8
|
+
|
|
9
|
+
export const PowerSavingEnum = {
|
|
10
|
+
/** Power saving mode ON */
|
|
11
|
+
ON: 'ON',
|
|
12
|
+
/** Power saving mode OFF */
|
|
13
|
+
OFF: 'OFF',
|
|
14
|
+
} as const;
|
|
15
|
+
|
|
16
|
+
/** Type definition of PowerSavingEnum */
|
|
17
|
+
export type PowerSavingEnum =
|
|
18
|
+
(typeof PowerSavingEnum)[keyof typeof PowerSavingEnum];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format of live view
|
|
3
|
+
*/
|
|
4
|
+
export const PreviewFormatEnum = {
|
|
5
|
+
/** width-height-framerate */
|
|
6
|
+
/** For Theta X, Z1, V and SC2 */
|
|
7
|
+
W1024_H512_F30: 'W1024_H512_F30',
|
|
8
|
+
/** For Theta X. This value can't set. */
|
|
9
|
+
W1024_H512_F15: 'W1024_H512_F15',
|
|
10
|
+
/** For Theta X */
|
|
11
|
+
W512_H512_F30: 'W512_H512_F30',
|
|
12
|
+
/** For Theta Z1 and V */
|
|
13
|
+
W1920_H960_F8: 'W1920_H960_F8',
|
|
14
|
+
/** For Theta Z1 and V */
|
|
15
|
+
W1024_H512_F8: 'W1024_H512_F8',
|
|
16
|
+
/** For Theta Z1 and V */
|
|
17
|
+
W640_H320_F30: 'W640_H320_F30',
|
|
18
|
+
/** For Theta Z1 and V */
|
|
19
|
+
W640_H320_F8: 'W640_H320_F8',
|
|
20
|
+
/** For Theta S and SC */
|
|
21
|
+
W640_H320_F10: 'W640_H320_F10',
|
|
22
|
+
} as const;
|
|
23
|
+
|
|
24
|
+
/** Type definition of PreviewFormatEnum */
|
|
25
|
+
export type PreviewFormatEnum =
|
|
26
|
+
(typeof PreviewFormatEnum)[keyof typeof PreviewFormatEnum];
|
|
27
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Proxy information to be used when wired LAN is enabled.
|
|
3
|
+
*
|
|
4
|
+
* The current setting can be acquired by camera.getOptions,
|
|
5
|
+
* and it can be changed by camera.setOptions.
|
|
6
|
+
*
|
|
7
|
+
* For
|
|
8
|
+
* RICOH THETA Z1 firmware v2.20.3 or later
|
|
9
|
+
* RICOH THETA X firmware v2.00.0 or later
|
|
10
|
+
*/
|
|
11
|
+
export type Proxy = {
|
|
12
|
+
/** true: use proxy false: do not use proxy */
|
|
13
|
+
use: boolean;
|
|
14
|
+
/** Proxy server URL */
|
|
15
|
+
url?: string;
|
|
16
|
+
/** Proxy server port number: 0 to 65535 */
|
|
17
|
+
port?: number;
|
|
18
|
+
/** User ID used for proxy authentication */
|
|
19
|
+
userid?: string;
|
|
20
|
+
/** Password used for proxy authentication */
|
|
21
|
+
password?: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shooting method for My Settings mode.
|
|
3
|
+
* In RICOH THETA X, it is used outside of MySetting.
|
|
4
|
+
*
|
|
5
|
+
* Can be acquired and set only when in the Still image shooting mode
|
|
6
|
+
* and _function is the My Settings shooting function.
|
|
7
|
+
* Changing _function initializes the setting details to Normal shooting.
|
|
8
|
+
*
|
|
9
|
+
* For Theta X and Z1 only.
|
|
10
|
+
**/
|
|
11
|
+
|
|
12
|
+
export const ShootingMethodEnum = {
|
|
13
|
+
/** Normal shooting */
|
|
14
|
+
NORMAL: 'NORMAL',
|
|
15
|
+
/** Interval shooting */
|
|
16
|
+
INTERVAL: 'INTERVAL',
|
|
17
|
+
/** Move interval shooting (RICOH THETA Z1 firmware v1.50.1 or later, RICOH THETA X is not supported) */
|
|
18
|
+
MOVE_INTERVAL: 'MOVE_INTERVAL',
|
|
19
|
+
/** Fixed interval shooting (RICOH THETA Z1 firmware v1.50.1 or later, RICOH THETA X is not supported) */
|
|
20
|
+
FIXED_INTERVAL: 'FIXED_INTERVAL',
|
|
21
|
+
/** Multi bracket shooting */
|
|
22
|
+
BRACKET: 'BRACKET',
|
|
23
|
+
/** Interval composite shooting (RICOH THETA X is not supported) */
|
|
24
|
+
COMPOSITE: 'COMPOSITE',
|
|
25
|
+
/** Continuous shooting (RICOH THETA X or later) */
|
|
26
|
+
CONTINUOUS: 'CONTINUOUS',
|
|
27
|
+
/** TimeShift shooting (RICOH THETA X or later) */
|
|
28
|
+
TIME_SHIFT: 'TIME_SHIFT',
|
|
29
|
+
/** Burst shooting (RICOH THETA Z1 v2.10.1 or later, RICOH THETA X is not supported) */
|
|
30
|
+
BURST: 'BURST',
|
|
31
|
+
} as const;
|
|
32
|
+
|
|
33
|
+
/** Type definition of ShootingMethodEnum */
|
|
34
|
+
export type ShootingMethodEnum =
|
|
35
|
+
(typeof ShootingMethodEnum)[keyof typeof ShootingMethodEnum];
|
|
36
|
+
|