theta-client-react-native 1.0.2 → 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/README.md +6 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +409 -0
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +700 -24
- package/ios/ThetaClientReactNative.h +6 -0
- package/ios/ThetaClientReactNative.mm +1661 -183
- package/lib/commonjs/capture/capture.js +118 -0
- package/lib/commonjs/capture/capture.js.map +1 -0
- package/lib/commonjs/capture/index.js +50 -0
- package/lib/commonjs/capture/index.js.map +1 -0
- package/lib/commonjs/capture/notify.js +12 -0
- package/lib/commonjs/capture/notify.js.map +1 -0
- package/lib/commonjs/capture/photo-capture.js +64 -0
- package/lib/commonjs/capture/photo-capture.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/capture/video-capture.js +71 -0
- package/lib/commonjs/capture/video-capture.js.map +1 -0
- package/lib/commonjs/index.js +40 -1041
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/theta-repository/access-point.js +23 -0
- package/lib/commonjs/theta-repository/access-point.js.map +1 -0
- 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 +105 -0
- package/lib/commonjs/theta-repository/index.js.map +1 -0
- package/lib/commonjs/theta-repository/options/index.js +138 -0
- package/lib/commonjs/theta-repository/options/index.js.map +1 -0
- 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-white-balance-auto-strength.js +25 -0
- package/lib/commonjs/theta-repository/options/option-white-balance-auto-strength.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 +490 -0
- package/lib/commonjs/theta-repository/options/options.js.map +1 -0
- 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 +35 -0
- package/lib/commonjs/theta-repository/theta-files.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-info.js +2 -0
- package/lib/commonjs/theta-repository/theta-info.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-meta.js +2 -0
- package/lib/commonjs/theta-repository/theta-meta.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-plugin.js +2 -0
- package/lib/commonjs/theta-repository/theta-plugin.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-repository.js +510 -0
- package/lib/commonjs/theta-repository/theta-repository.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-state.js +120 -0
- package/lib/commonjs/theta-repository/theta-state.js.map +1 -0
- 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/capture.js +111 -0
- package/lib/module/capture/capture.js.map +1 -0
- package/lib/module/capture/index.js +5 -0
- package/lib/module/capture/index.js.map +1 -0
- package/lib/module/capture/notify.js +6 -0
- package/lib/module/capture/notify.js.map +1 -0
- package/lib/module/capture/photo-capture.js +56 -0
- package/lib/module/capture/photo-capture.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/capture/video-capture.js +63 -0
- package/lib/module/capture/video-capture.js.map +1 -0
- package/lib/module/index.js +3 -1009
- package/lib/module/index.js.map +1 -1
- package/lib/module/theta-repository/access-point.js +16 -0
- package/lib/module/theta-repository/access-point.js.map +1 -0
- 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 +10 -0
- package/lib/module/theta-repository/index.js.map +1 -0
- package/lib/module/theta-repository/options/index.js +13 -0
- package/lib/module/theta-repository/options/index.js.map +1 -0
- 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-white-balance-auto-strength.js +18 -0
- package/lib/module/theta-repository/options/option-white-balance-auto-strength.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 +482 -0
- package/lib/module/theta-repository/options/options.js.map +1 -0
- 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 +28 -0
- package/lib/module/theta-repository/theta-files.js.map +1 -0
- package/lib/module/theta-repository/theta-info.js +2 -0
- package/lib/module/theta-repository/theta-info.js.map +1 -0
- package/lib/module/theta-repository/theta-meta.js +2 -0
- package/lib/module/theta-repository/theta-meta.js.map +1 -0
- package/lib/module/theta-repository/theta-plugin.js +2 -0
- package/lib/module/theta-repository/theta-plugin.js.map +1 -0
- package/lib/module/theta-repository/theta-repository.js +466 -0
- package/lib/module/theta-repository/theta-repository.js.map +1 -0
- package/lib/module/theta-repository/theta-state.js +113 -0
- package/lib/module/theta-repository/theta-state.js.map +1 -0
- 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/capture.d.ts +71 -0
- package/lib/typescript/capture/capture.d.ts.map +1 -0
- package/lib/typescript/capture/index.d.ts +5 -0
- package/lib/typescript/capture/index.d.ts.map +1 -0
- package/lib/typescript/capture/notify.d.ts +13 -0
- package/lib/typescript/capture/notify.d.ts.map +1 -0
- package/lib/typescript/capture/photo-capture.d.ts +38 -0
- package/lib/typescript/capture/photo-capture.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/capture/video-capture.d.ts +43 -0
- package/lib/typescript/capture/video-capture.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +3 -972
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/access-point.d.ts +36 -0
- package/lib/typescript/theta-repository/access-point.d.ts.map +1 -0
- 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 +10 -0
- package/lib/typescript/theta-repository/index.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/index.d.ts +13 -0
- package/lib/typescript/theta-repository/options/index.d.ts.map +1 -0
- 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 +18 -0
- package/lib/typescript/theta-repository/options/option-white-balance-auto-strength.d.ts.map +1 -0
- 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 +566 -0
- package/lib/typescript/theta-repository/options/options.d.ts.map +1 -0
- 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 +45 -0
- package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-info.d.ts +34 -0
- package/lib/typescript/theta-repository/theta-info.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-meta.d.ts +38 -0
- package/lib/typescript/theta-repository/theta-meta.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-plugin.d.ts +26 -0
- package/lib/typescript/theta-repository/theta-plugin.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-repository.d.ts +333 -0
- package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-state.d.ts +150 -0
- package/lib/typescript/theta-repository/theta-state.d.ts.map +1 -0
- 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/capture.ts +124 -0
- package/src/capture/index.ts +4 -0
- package/src/capture/notify.ts +27 -0
- package/src/capture/photo-capture.ts +62 -0
- package/src/capture/time-shift-capture.ts +99 -0
- package/src/capture/video-capture.ts +69 -0
- package/src/index.tsx +3 -1243
- package/src/theta-repository/access-point.ts +38 -0
- package/src/theta-repository/digest-auth.ts +16 -0
- package/src/theta-repository/index.ts +9 -0
- package/src/theta-repository/options/index.ts +13 -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 +19 -0
- package/src/theta-repository/options/option-wlan-frequency.ts +16 -0
- package/src/theta-repository/options/options.ts +622 -0
- package/src/theta-repository/theta-config.ts +20 -0
- package/src/theta-repository/theta-files.ts +49 -0
- package/src/theta-repository/theta-info.ts +35 -0
- package/src/theta-repository/theta-meta.ts +39 -0
- package/src/theta-repository/theta-plugin.ts +25 -0
- package/src/theta-repository/theta-repository.ts +527 -0
- package/src/theta-repository/theta-state.ts +164 -0
- package/src/theta-repository/theta-timeout.ts +21 -0
- package/theta-client-react-native.podspec +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wireless LAN frequency of the camera.
|
|
3
|
+
* Can be acquired by camera.getOptions and set by camera.setOptions.
|
|
4
|
+
*
|
|
5
|
+
* For Theta X, Z1 amd V.
|
|
6
|
+
*/
|
|
7
|
+
export const WlanFrequencyEnum = {
|
|
8
|
+
/** 2.4GHz */
|
|
9
|
+
GHZ_2_4: 'GHZ_2_4',
|
|
10
|
+
/** 5GHz */
|
|
11
|
+
GHZ_5: 'GHZ_5',
|
|
12
|
+
} as const;
|
|
13
|
+
|
|
14
|
+
/** type definition of WlanFrequency */
|
|
15
|
+
export type WlanFrequencyEnum =
|
|
16
|
+
(typeof WlanFrequencyEnum)[keyof typeof WlanFrequencyEnum];
|
|
@@ -0,0 +1,622 @@
|
|
|
1
|
+
import type { CameraControlSourceEnum } from './option-camera-control-source';
|
|
2
|
+
import type { CameraModeEnum } from './option-camera-mode';
|
|
3
|
+
import type { NetworkTypeEnum } from './option-network-type';
|
|
4
|
+
import type { PowerSavingEnum } from './option-power-saving';
|
|
5
|
+
import type { PreviewFormatEnum } from './option-preview-format';
|
|
6
|
+
import type { Proxy } from './option-proxy';
|
|
7
|
+
import type { ShootingMethodEnum } from './option-shooting-method';
|
|
8
|
+
import type { ShutterSpeedEnum } from './option-shutter-speed';
|
|
9
|
+
import type { TimeShift } from './option-time-shift';
|
|
10
|
+
import type { WhiteBalanceAutoStrengthEnum } from './option-white-balance-auto-strength';
|
|
11
|
+
import type { WlanFrequencyEnum } from './option-wlan-frequency';
|
|
12
|
+
|
|
13
|
+
/** Aperture value. */
|
|
14
|
+
export const ApertureEnum = {
|
|
15
|
+
/** AUTO(0) */
|
|
16
|
+
APERTURE_AUTO: 'APERTURE_AUTO',
|
|
17
|
+
/** 2.0F RICOH THETA V or prior */
|
|
18
|
+
APERTURE_2_0: 'APERTURE_2_0',
|
|
19
|
+
/** 2.1F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
|
|
20
|
+
APERTURE_2_1: 'APERTURE_2_1',
|
|
21
|
+
/** 2.4F RICOH THETA X or later */
|
|
22
|
+
APERTURE_2_4: 'APERTURE_2_4',
|
|
23
|
+
/** 3.5F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
|
|
24
|
+
APERTURE_3_5: 'APERTURE_3_5',
|
|
25
|
+
/** 5.6F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
|
|
26
|
+
APERTURE_5_6: 'APERTURE_5_6',
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
/** type definition of ApertureEnum */
|
|
30
|
+
export type ApertureEnum = typeof ApertureEnum[keyof typeof ApertureEnum];
|
|
31
|
+
|
|
32
|
+
/** BluetoothPower value. */
|
|
33
|
+
export const BluetoothPowerEnum = {
|
|
34
|
+
/** ON */
|
|
35
|
+
ON: 'ON',
|
|
36
|
+
/** OFF */
|
|
37
|
+
OFF: 'OFF',
|
|
38
|
+
} as const;
|
|
39
|
+
|
|
40
|
+
/** type definition of BluetoothPowerEnum */
|
|
41
|
+
export type BluetoothPowerEnum =
|
|
42
|
+
typeof BluetoothPowerEnum[keyof typeof BluetoothPowerEnum];
|
|
43
|
+
|
|
44
|
+
/** Shooting mode. */
|
|
45
|
+
export const CaptureModeEnum = {
|
|
46
|
+
/** Still image capture mode */
|
|
47
|
+
IMAGE: 'IMAGE',
|
|
48
|
+
/** Video capture mode */
|
|
49
|
+
VIDEO: 'VIDEO',
|
|
50
|
+
} as const;
|
|
51
|
+
|
|
52
|
+
/** type definition of CaptureModeEnum */
|
|
53
|
+
export type CaptureModeEnum =
|
|
54
|
+
typeof CaptureModeEnum[keyof typeof CaptureModeEnum];
|
|
55
|
+
|
|
56
|
+
/** Exposure compensation (EV). */
|
|
57
|
+
export const ExposureCompensationEnum = {
|
|
58
|
+
/** -2.0 */
|
|
59
|
+
M_2_0: 'M2_0',
|
|
60
|
+
/** -1.7 */
|
|
61
|
+
M_1_7: 'M1_7',
|
|
62
|
+
/** -1.3 */
|
|
63
|
+
M_1_3: 'M1_3',
|
|
64
|
+
/** -1.0 */
|
|
65
|
+
M_1_0: 'M1_0',
|
|
66
|
+
/** -0.7 */
|
|
67
|
+
M_0_7: 'M0_7',
|
|
68
|
+
/** -0.3 */
|
|
69
|
+
M_0_3: 'M0_3',
|
|
70
|
+
/** 0 */
|
|
71
|
+
ZERO: 'ZERO',
|
|
72
|
+
/** 0.3 */
|
|
73
|
+
P_0_3: 'P0_3',
|
|
74
|
+
/** 0.7 */
|
|
75
|
+
P_0_7: 'P0_7',
|
|
76
|
+
/** 1.0 */
|
|
77
|
+
P_1_0: 'P1_0',
|
|
78
|
+
/** 1.3 */
|
|
79
|
+
P_1_3: 'P1_3',
|
|
80
|
+
/** 1.7 */
|
|
81
|
+
P_1_7: 'P1_7',
|
|
82
|
+
/** 2.0 */
|
|
83
|
+
P_2_0: 'P2_0',
|
|
84
|
+
} as const;
|
|
85
|
+
|
|
86
|
+
/** type definition of ExposureCompensationEnum */
|
|
87
|
+
export type ExposureCompensationEnum =
|
|
88
|
+
typeof ExposureCompensationEnum[keyof typeof ExposureCompensationEnum];
|
|
89
|
+
|
|
90
|
+
/** Operating time (sec.) of the self-timer. */
|
|
91
|
+
export const ExposureDelayEnum = {
|
|
92
|
+
/** Disable self-timer. */
|
|
93
|
+
DELAY_OFF: 'DELAY_OFF',
|
|
94
|
+
/** a second */
|
|
95
|
+
DELAY_1: 'DELAY_1',
|
|
96
|
+
/** 2 seconds */
|
|
97
|
+
DELAY_2: 'DELAY_2',
|
|
98
|
+
/** 3 seconds */
|
|
99
|
+
DELAY_3: 'DELAY_3',
|
|
100
|
+
/** 4 seconds */
|
|
101
|
+
DELAY_4: 'DELAY_4',
|
|
102
|
+
/** 5 seconds */
|
|
103
|
+
DELAY_5: 'DELAY_5',
|
|
104
|
+
/** 6 seconds */
|
|
105
|
+
DELAY_6: 'DELAY_6',
|
|
106
|
+
/** 7 seconds */
|
|
107
|
+
DELAY_7: 'DELAY_7',
|
|
108
|
+
/** 8 seconds */
|
|
109
|
+
DELAY_8: 'DELAY_8',
|
|
110
|
+
/** 9 seconds */
|
|
111
|
+
DELAY_9: 'DELAY_9',
|
|
112
|
+
/** 10 seconds */
|
|
113
|
+
DELAY_10: 'DELAY_10',
|
|
114
|
+
} as const;
|
|
115
|
+
|
|
116
|
+
/** type definition of ExposureDelayEnum */
|
|
117
|
+
export type ExposureDelayEnum =
|
|
118
|
+
typeof ExposureDelayEnum[keyof typeof ExposureDelayEnum];
|
|
119
|
+
|
|
120
|
+
/** Exposure program. The exposure settings that take priority can be selected. */
|
|
121
|
+
export const ExposureProgramEnum = {
|
|
122
|
+
/** Manual program */
|
|
123
|
+
MANUAL: 'MANUAL',
|
|
124
|
+
/** Normal program */
|
|
125
|
+
NORMAL_PROGRAM: 'NORMAL_PROGRAM',
|
|
126
|
+
/** Aperture priority program */
|
|
127
|
+
APERTURE_PRIORITY: 'APERTURE_PRIORITY',
|
|
128
|
+
/** Shutter priority program */
|
|
129
|
+
SHUTTER_PRIORITY: 'SHUTTER_PRIORITY',
|
|
130
|
+
/** ISO priority program */
|
|
131
|
+
ISO_PRIORITY: 'ISO_PRIORITY',
|
|
132
|
+
} as const;
|
|
133
|
+
|
|
134
|
+
/** type definition of ExposureProgramEnum */
|
|
135
|
+
export type ExposureProgramEnum =
|
|
136
|
+
typeof ExposureProgramEnum[keyof typeof ExposureProgramEnum];
|
|
137
|
+
|
|
138
|
+
/** file format type in theta */
|
|
139
|
+
export const FileFormatTypeEnum = {
|
|
140
|
+
/** jpeg image */
|
|
141
|
+
JPEG: 'JPEG',
|
|
142
|
+
/** mp4 video */
|
|
143
|
+
MP4: 'MP4',
|
|
144
|
+
/** raw+ image */
|
|
145
|
+
RAW: 'RAW',
|
|
146
|
+
} as const;
|
|
147
|
+
|
|
148
|
+
/** type definition of FileFormatTypeEnum */
|
|
149
|
+
export type FileFormatTypeEnum =
|
|
150
|
+
typeof FileFormatTypeEnum[keyof typeof FileFormatTypeEnum];
|
|
151
|
+
|
|
152
|
+
/** Photo image format */
|
|
153
|
+
export const PhotoFileFormatEnum = {
|
|
154
|
+
/** jpeg 2048 x 1024 */
|
|
155
|
+
IMAGE_2K: 'IMAGE_2K',
|
|
156
|
+
/** jpeg 5376 x 2688 */
|
|
157
|
+
IMAGE_5K: 'IMAGE_5K',
|
|
158
|
+
/** jpeg 6720 x 3360 */
|
|
159
|
+
IMAGE_6_7K: 'IMAGE_6_7K',
|
|
160
|
+
/** row+ 6720 x 3360 */
|
|
161
|
+
RAW_P_6_7K: 'RAW_P_6_7K',
|
|
162
|
+
/** jpeg 5504 x 2752 */
|
|
163
|
+
IMAGE_5_5K: 'IMAGE_5_5K',
|
|
164
|
+
/** jpeg 11008 x 5504 */
|
|
165
|
+
IMAGE_11K: 'IMAGE_11K',
|
|
166
|
+
} as const;
|
|
167
|
+
|
|
168
|
+
/** Video image format */
|
|
169
|
+
export const VideoFileFormatEnum = {
|
|
170
|
+
/** mp4 1280 x 570 */
|
|
171
|
+
VIDEO_HD: 'VIDEO_HD',
|
|
172
|
+
/** mp4 1920 x 1080 */
|
|
173
|
+
VIDEO_FULL_HD: 'VIDEO_FULL_HD',
|
|
174
|
+
/** mp4 1920 x 960 */
|
|
175
|
+
VIDEO_2K: 'VIDEO_2K',
|
|
176
|
+
/** mp4 3840 x 1920 */
|
|
177
|
+
VIDEO_4K: 'VIDEO_4K',
|
|
178
|
+
/** mp4 1920 x 960 30fps */
|
|
179
|
+
VIDEO_2K_30F: 'VIDEO_2K_30F',
|
|
180
|
+
/** mp4 1920 x 960 60fps */
|
|
181
|
+
VIDEO_2K_60F: 'VIDEO_2K_60F',
|
|
182
|
+
/** mp4 3840 x 1920 30fps */
|
|
183
|
+
VIDEO_4K_30F: 'VIDEO_4K_30F',
|
|
184
|
+
/** mp4 3840 x 1920 60fps */
|
|
185
|
+
VIDEO_4K_60F: 'VIDEO_4K_60F',
|
|
186
|
+
/** mp4 5760 x 2880 2fps */
|
|
187
|
+
VIDEO_5_7K_2F: 'VIDEO_5_7K_2F',
|
|
188
|
+
/** mp4 5760 x 2880 5fps */
|
|
189
|
+
VIDEO_5_7K_5F: 'VIDEO_5_7K_5F',
|
|
190
|
+
/** mp4 5760 x 2880 30fps */
|
|
191
|
+
VIDEO_5_7K_30F: 'VIDEO_5_7K_30F',
|
|
192
|
+
/** mp4 7680 x 3840 2fps */
|
|
193
|
+
VIDEO_7K_2F: 'VIDEO_7K_2F',
|
|
194
|
+
/** mp4 7680 x 3840 5fps */
|
|
195
|
+
VIDEO_7K_5F: 'VIDEO_7K_5F',
|
|
196
|
+
/** mp4 7680 x 3840 10fps */
|
|
197
|
+
VIDEO_7K_10F: 'VIDEO_7K_10F',
|
|
198
|
+
} as const;
|
|
199
|
+
|
|
200
|
+
/** type definition of PhotoFileFormatEnum */
|
|
201
|
+
export type PhotoFileFormatEnum =
|
|
202
|
+
typeof PhotoFileFormatEnum[keyof typeof PhotoFileFormatEnum];
|
|
203
|
+
|
|
204
|
+
/** type definition of VideoFileFormatEnum */
|
|
205
|
+
export type VideoFileFormatEnum =
|
|
206
|
+
typeof VideoFileFormatEnum[keyof typeof VideoFileFormatEnum];
|
|
207
|
+
|
|
208
|
+
/** Image processing filter. */
|
|
209
|
+
export const FilterEnum = {
|
|
210
|
+
/** No filter. */
|
|
211
|
+
OFF: 'OFF',
|
|
212
|
+
/** Noise reduction. */
|
|
213
|
+
NOISE_REDUCTION: 'NOISE_REDUCTION',
|
|
214
|
+
/** HDR. */
|
|
215
|
+
HDR: 'HDR',
|
|
216
|
+
} as const;
|
|
217
|
+
|
|
218
|
+
/** type definition of FilterEnum */
|
|
219
|
+
export type FilterEnum = typeof FilterEnum[keyof typeof FilterEnum];
|
|
220
|
+
|
|
221
|
+
/** GPS information */
|
|
222
|
+
export type GpsInfo = {
|
|
223
|
+
/** Latitude (-90.000000 – 90.000000) */
|
|
224
|
+
latitude: number;
|
|
225
|
+
/** Longitude (-180.000000 – 180.000000) */
|
|
226
|
+
longitude: number;
|
|
227
|
+
/** Altitude (meters) */
|
|
228
|
+
altitude: number;
|
|
229
|
+
/** Location information acquisition time */
|
|
230
|
+
dateTimeZone: string;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
/** Turns position information assigning ON/OFF. */
|
|
234
|
+
export const GpsTagRecordingEnum = {
|
|
235
|
+
/** Position information assigning ON. */
|
|
236
|
+
ON: 'ON',
|
|
237
|
+
/** Position information assigning OFF. */
|
|
238
|
+
OFF: 'OFF',
|
|
239
|
+
} as const;
|
|
240
|
+
|
|
241
|
+
/** type definition of GpsTagRecordingEnum */
|
|
242
|
+
export type GpsTagRecordingEnum =
|
|
243
|
+
typeof GpsTagRecordingEnum[keyof typeof GpsTagRecordingEnum];
|
|
244
|
+
|
|
245
|
+
/** ISO sensitivity. */
|
|
246
|
+
export const IsoEnum = {
|
|
247
|
+
/** AUTO (0) */
|
|
248
|
+
ISO_AUTO: 'ISO_AUTO',
|
|
249
|
+
/** 50 */
|
|
250
|
+
ISO_50: 'ISO_50',
|
|
251
|
+
/** 64 */
|
|
252
|
+
ISO_64: 'ISO_64',
|
|
253
|
+
/** 80 */
|
|
254
|
+
ISO_80: 'ISO_80',
|
|
255
|
+
/** 100 */
|
|
256
|
+
ISO_100: 'ISO_100',
|
|
257
|
+
/** 125 */
|
|
258
|
+
ISO_125: 'ISO_125',
|
|
259
|
+
/** 160 */
|
|
260
|
+
ISO_160: 'ISO_160',
|
|
261
|
+
/** 200 */
|
|
262
|
+
ISO_200: 'ISO_200',
|
|
263
|
+
/** 250 */
|
|
264
|
+
ISO_250: 'ISO_250',
|
|
265
|
+
/** 320 */
|
|
266
|
+
ISO_320: 'ISO_320',
|
|
267
|
+
/** 400 */
|
|
268
|
+
ISO_400: 'ISO_400',
|
|
269
|
+
/** 500 */
|
|
270
|
+
ISO_500: 'ISO_500',
|
|
271
|
+
/** 640 */
|
|
272
|
+
ISO_640: 'ISO_640',
|
|
273
|
+
/** 800 */
|
|
274
|
+
ISO_800: 'ISO_800',
|
|
275
|
+
/** 1000 */
|
|
276
|
+
ISO_1000: 'ISO_1000',
|
|
277
|
+
/** 1250 */
|
|
278
|
+
ISO_1250: 'ISO_1250',
|
|
279
|
+
/** 1600 */
|
|
280
|
+
ISO_1600: 'ISO_1600',
|
|
281
|
+
/** 2000 */
|
|
282
|
+
ISO_2000: 'ISO_2000',
|
|
283
|
+
/** 2500 */
|
|
284
|
+
ISO_2500: 'ISO_2500',
|
|
285
|
+
/** 3200 */
|
|
286
|
+
ISO_3200: 'ISO_3200',
|
|
287
|
+
/** 4000 */
|
|
288
|
+
ISO_4000: 'ISO_4000',
|
|
289
|
+
/** 5000 */
|
|
290
|
+
ISO_5000: 'ISO_5000',
|
|
291
|
+
/** 6400 */
|
|
292
|
+
ISO_6400: 'ISO_6400',
|
|
293
|
+
} as const;
|
|
294
|
+
|
|
295
|
+
/** type definition IsoEnum */
|
|
296
|
+
export type IsoEnum = typeof IsoEnum[keyof typeof IsoEnum];
|
|
297
|
+
|
|
298
|
+
/** ISO sensitivity upper limit when ISO sensitivity is set to automatic. */
|
|
299
|
+
export const IsoAutoHighLimitEnum = {
|
|
300
|
+
/** 100 */
|
|
301
|
+
ISO_100: 'ISO_100',
|
|
302
|
+
/** 125 */
|
|
303
|
+
ISO_125: 'ISO_125',
|
|
304
|
+
/** 160 */
|
|
305
|
+
ISO_160: 'ISO_160',
|
|
306
|
+
/** 200 */
|
|
307
|
+
ISO_200: 'ISO_200',
|
|
308
|
+
/** 250 */
|
|
309
|
+
ISO_250: 'ISO_250',
|
|
310
|
+
/** 320 */
|
|
311
|
+
ISO_320: 'ISO_320',
|
|
312
|
+
/** 400 */
|
|
313
|
+
ISO_400: 'ISO_400',
|
|
314
|
+
/** 500 */
|
|
315
|
+
ISO_500: 'ISO_500',
|
|
316
|
+
/** 640 */
|
|
317
|
+
ISO_640: 'ISO_640',
|
|
318
|
+
/** 800 */
|
|
319
|
+
ISO_800: 'ISO_800',
|
|
320
|
+
/** 1000 */
|
|
321
|
+
ISO_1000: 'ISO_1000',
|
|
322
|
+
/** 1250 */
|
|
323
|
+
ISO_1250: 'ISO_1250',
|
|
324
|
+
/** 1600 */
|
|
325
|
+
ISO_1600: 'ISO_1600',
|
|
326
|
+
/** 2000 */
|
|
327
|
+
ISO_2000: 'ISO_2000',
|
|
328
|
+
/** 2500 */
|
|
329
|
+
ISO_2500: 'ISO_2500',
|
|
330
|
+
/** 3200 */
|
|
331
|
+
ISO_3200: 'ISO_3200',
|
|
332
|
+
/** 4000 */
|
|
333
|
+
ISO_4000: 'ISO_4000',
|
|
334
|
+
/** 5000 */
|
|
335
|
+
ISO_5000: 'ISO_5000',
|
|
336
|
+
/** 6400 */
|
|
337
|
+
ISO_6400: 'ISO_6400',
|
|
338
|
+
} as const;
|
|
339
|
+
|
|
340
|
+
/** type definition of IsoAutoHighLimitEnum */
|
|
341
|
+
export type IsoAutoHighLimitEnum =
|
|
342
|
+
typeof IsoAutoHighLimitEnum[keyof typeof IsoAutoHighLimitEnum];
|
|
343
|
+
|
|
344
|
+
/** language */
|
|
345
|
+
export const LanguageEnum = {
|
|
346
|
+
/** german */
|
|
347
|
+
DE: 'DE',
|
|
348
|
+
/** british english */
|
|
349
|
+
EN_GB: 'EN_GB',
|
|
350
|
+
/** us english */
|
|
351
|
+
EN_US: 'EN_US',
|
|
352
|
+
/** french */
|
|
353
|
+
FR: 'FR',
|
|
354
|
+
/** italian */
|
|
355
|
+
IT: 'IT',
|
|
356
|
+
/** japanese */
|
|
357
|
+
JA: 'JA',
|
|
358
|
+
/** korean */
|
|
359
|
+
KO: 'KO',
|
|
360
|
+
/** chinese */
|
|
361
|
+
ZH_CN: 'ZH_CH',
|
|
362
|
+
/** taiwan chinese */
|
|
363
|
+
ZH_TW: 'ZH_TW',
|
|
364
|
+
} as const;
|
|
365
|
+
|
|
366
|
+
/** type definition of LanguageEnum */
|
|
367
|
+
export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
|
|
368
|
+
|
|
369
|
+
/** Maximum recordable time (in seconds) of the camera */
|
|
370
|
+
export const MaxRecordableTimeEnum = {
|
|
371
|
+
/** 180 seconds for SC2 only. */
|
|
372
|
+
RECORDABLE_TIME_180: 'RECORDABLE_TIME_180',
|
|
373
|
+
/** 300 seconds for other than SC2. */
|
|
374
|
+
RECORDABLE_TIME_300: 'RECORDABLE_TIME_300',
|
|
375
|
+
/** 1500 seconds for other than SC2. */
|
|
376
|
+
RECORDABLE_TIME_1500: 'RECORDABLE_TIME_1500',
|
|
377
|
+
/** 7200 seconds for Theta X only */
|
|
378
|
+
RECORDABLE_TIME_7200: 'RECORDABLE_TIME_7200',
|
|
379
|
+
/** Just used by getMySetting/setMySetting command */
|
|
380
|
+
DO_NOT_UPDATE_MY_SETTING_CONDITION: 'DO_NOT_UPDATE_MY_SETTING_CONDITION'
|
|
381
|
+
} as const;
|
|
382
|
+
|
|
383
|
+
/** type definition of MaxRecordableTimeEnum */
|
|
384
|
+
export type MaxRecordableTimeEnum =
|
|
385
|
+
typeof MaxRecordableTimeEnum[keyof typeof MaxRecordableTimeEnum];
|
|
386
|
+
|
|
387
|
+
/** Length of standby time before the camera automatically powers OFF. */
|
|
388
|
+
export const OffDelayEnum = {
|
|
389
|
+
/** Do not turn power off. */
|
|
390
|
+
DISABLE: 'DISABLE',
|
|
391
|
+
/** Power off after 5 minutes.(300sec) */
|
|
392
|
+
OFF_DELAY_5M: 'OFF_DELAY_5M',
|
|
393
|
+
/** Power off after 10 minutes.(600sec) */
|
|
394
|
+
OFF_DELAY_10M: 'OFF_DELAY_10M',
|
|
395
|
+
/** Power off after 15 minutes.(900sec) */
|
|
396
|
+
OFF_DELAY_15M: 'OFF_DELAY_15M',
|
|
397
|
+
/** Power off after 30 minutes.(1,800sec) */
|
|
398
|
+
OFF_DELAY_30M: 'OFF_DELAY_30M',
|
|
399
|
+
} as const;
|
|
400
|
+
|
|
401
|
+
/** type definition of OffDelayEnum */
|
|
402
|
+
export type OffDelayEnum =
|
|
403
|
+
| typeof OffDelayEnum[keyof typeof OffDelayEnum]
|
|
404
|
+
| number;
|
|
405
|
+
|
|
406
|
+
/** Length of standby time before the camera enters the sleep mode. */
|
|
407
|
+
export const SleepDelayEnum = {
|
|
408
|
+
/** Do not turn sleep mode. */
|
|
409
|
+
DISABLE: 'DISABLE',
|
|
410
|
+
/** sleep mode after 3 minutes.(180seconds) */
|
|
411
|
+
SLEEP_DELAY_3M: 'SLEEP_DELAY_3M',
|
|
412
|
+
/** sleep mode after 5 minutes.(300seconds) */
|
|
413
|
+
SLEEP_DELAY_5M: 'SLEEP_DELAY_5M',
|
|
414
|
+
/** sleep mode after 7 minutes.(420seconds) */
|
|
415
|
+
SLEEP_DELAY_7M: 'SLEEP_DELAY_7M',
|
|
416
|
+
/** sleep mode after 10 minutes.(600seconds) */
|
|
417
|
+
SLEEP_DELAY_10M: 'SLEEP_DELAY_10M',
|
|
418
|
+
} as const;
|
|
419
|
+
|
|
420
|
+
/** type definition of SleepDelayEnum */
|
|
421
|
+
export type SleepDelayEnum =
|
|
422
|
+
| typeof SleepDelayEnum[keyof typeof SleepDelayEnum]
|
|
423
|
+
| number;
|
|
424
|
+
|
|
425
|
+
/** White balance. */
|
|
426
|
+
export const WhiteBalanceEnum = {
|
|
427
|
+
/** Automatic */
|
|
428
|
+
AUTO: 'AUTO',
|
|
429
|
+
/** Outdoor */
|
|
430
|
+
DAYLIGHT: 'DAYLIGHT',
|
|
431
|
+
/** Shade */
|
|
432
|
+
SHADE: 'SHADE',
|
|
433
|
+
/** Cloudy */
|
|
434
|
+
CLOUDY_DAYLIGHT: 'CLOUDY_DAYLIGHT',
|
|
435
|
+
/** Incandescent light 1 */
|
|
436
|
+
INCANDESCENT: 'INCANDESCENT',
|
|
437
|
+
/** Incandescent light 2 */
|
|
438
|
+
WARM_WHITE_FLUORESCENT: 'WARM_WHITE_FLUORESCENT',
|
|
439
|
+
/** Fluorescent light 1 (daylight) */
|
|
440
|
+
DAYLIGHT_FLUORESCENT: 'DAYLIGHT_FLUORESCENT',
|
|
441
|
+
/** Fluorescent light 2 (natural white) */
|
|
442
|
+
DAYWHITE_FLUORESCENT: 'DAYWHITE_FLUORESCENT',
|
|
443
|
+
/** Fluorescent light 3 (white) */
|
|
444
|
+
FLUORESCENT: 'FLUORESCENT',
|
|
445
|
+
/** Fluorescent light 4 (light bulb color) */
|
|
446
|
+
BULB_FLUORESCENT: 'BULB_FLUORESCENT',
|
|
447
|
+
/** CT settings (specified by the _colorTemperature option) */
|
|
448
|
+
COLOR_TEMPERATURE: 'COLOR_TEMPERATURE',
|
|
449
|
+
/** Underwater */
|
|
450
|
+
UNDERWATER: 'UNDERWATER',
|
|
451
|
+
} as const;
|
|
452
|
+
|
|
453
|
+
/** type definition of WhiteBalanceEnum */
|
|
454
|
+
export type WhiteBalanceEnum =
|
|
455
|
+
(typeof WhiteBalanceEnum)[keyof typeof WhiteBalanceEnum];
|
|
456
|
+
|
|
457
|
+
/** Camera setting options name. */
|
|
458
|
+
export const OptionNameEnum = {
|
|
459
|
+
/** aperture */
|
|
460
|
+
Aperture: 'Aperture',
|
|
461
|
+
/** _bluetoothPower*/
|
|
462
|
+
BluetoothPower: 'BluetoothPower',
|
|
463
|
+
/** _cameraControlSource */
|
|
464
|
+
CameraControlSource: 'CameraControlSource',
|
|
465
|
+
/** cameraMode */
|
|
466
|
+
CameraMode: 'CameraMode',
|
|
467
|
+
/** captureMode */
|
|
468
|
+
CaptureMode: 'CaptureMode',
|
|
469
|
+
/** colorTemperature */
|
|
470
|
+
ColorTemperature: 'ColorTemperature',
|
|
471
|
+
/** dateTimeZone */
|
|
472
|
+
DateTimeZone: 'DateTimeZone',
|
|
473
|
+
/** exposureCompensation */
|
|
474
|
+
ExposureCompensation: 'ExposureCompensation',
|
|
475
|
+
/** exposureDelay */
|
|
476
|
+
ExposureDelay: 'ExposureDelay',
|
|
477
|
+
/** exposureProgram */
|
|
478
|
+
ExposureProgram: 'ExposureProgram',
|
|
479
|
+
/** fileFormat */
|
|
480
|
+
FileFormat: 'FileFormat',
|
|
481
|
+
/** filter */
|
|
482
|
+
Filter: 'Filter',
|
|
483
|
+
/** gpsInfo */
|
|
484
|
+
GpsInfo: 'GpsInfo',
|
|
485
|
+
/** isGpsOn */
|
|
486
|
+
IsGpsOn: 'IsGpsOn',
|
|
487
|
+
/** iso */
|
|
488
|
+
Iso: 'Iso',
|
|
489
|
+
/** isoAutoHighLimit */
|
|
490
|
+
IsoAutoHighLimit: 'IsoAutoHighLimit',
|
|
491
|
+
/** language */
|
|
492
|
+
Language: 'Language',
|
|
493
|
+
/** maxRecordableTime */
|
|
494
|
+
MaxRecordableTime: 'MaxRecordableTime',
|
|
495
|
+
/** networkType */
|
|
496
|
+
NetworkType: 'NetworkType',
|
|
497
|
+
/** offDelay */
|
|
498
|
+
OffDelay: 'OffDelay',
|
|
499
|
+
/** password */
|
|
500
|
+
Password: 'Password',
|
|
501
|
+
/** powerSaving */
|
|
502
|
+
PowerSaving: 'PowerSaving',
|
|
503
|
+
/** previewFormat */
|
|
504
|
+
PreviewFormat: 'PreviewFormat',
|
|
505
|
+
/** proxy */
|
|
506
|
+
Proxy: 'Proxy',
|
|
507
|
+
/** shootingMethod */
|
|
508
|
+
ShootingMethod: 'ShootingMethod',
|
|
509
|
+
/** shutterSpeed */
|
|
510
|
+
ShutterSpeed: 'ShutterSpeed',
|
|
511
|
+
/** sleepDelay */
|
|
512
|
+
SleepDelay: 'SleepDelay',
|
|
513
|
+
/** remainingPictures */
|
|
514
|
+
RemainingPictures: 'RemainingPictures',
|
|
515
|
+
/** remainingVideoSeconds */
|
|
516
|
+
RemainingVideoSeconds: 'RemainingVideoSeconds',
|
|
517
|
+
/** remainingSpace */
|
|
518
|
+
RemainingSpace: 'RemainingSpace',
|
|
519
|
+
/** timeShift */
|
|
520
|
+
TimeShift: 'TimeShift',
|
|
521
|
+
/** totalSpace */
|
|
522
|
+
TotalSpace: 'TotalSpace',
|
|
523
|
+
/** shutterVolume */
|
|
524
|
+
ShutterVolume: 'ShutterVolume',
|
|
525
|
+
/** username */
|
|
526
|
+
Username: 'Username',
|
|
527
|
+
/** whiteBalance */
|
|
528
|
+
WhiteBalance: 'WhiteBalance',
|
|
529
|
+
/** _whiteBalanceAutoStrength */
|
|
530
|
+
WhiteBalanceAutoStrength: 'WhiteBalanceAutoStrength',
|
|
531
|
+
/** _wlanFrequency */
|
|
532
|
+
WlanFrequency: 'WlanFrequency',
|
|
533
|
+
} as const;
|
|
534
|
+
|
|
535
|
+
/** type definition of OptionNameEnum */
|
|
536
|
+
export type OptionNameEnum =
|
|
537
|
+
(typeof OptionNameEnum)[keyof typeof OptionNameEnum];
|
|
538
|
+
|
|
539
|
+
/** camera setting options */
|
|
540
|
+
export type Options = {
|
|
541
|
+
/** Aperture value. */
|
|
542
|
+
aperture?: ApertureEnum;
|
|
543
|
+
/** BluetoothPower */
|
|
544
|
+
bluetoothPower?: BluetoothPowerEnum;
|
|
545
|
+
/** camera control source. */
|
|
546
|
+
cameraControlSource?: CameraControlSourceEnum;
|
|
547
|
+
/** Camera mode. */
|
|
548
|
+
cameraMode?: CameraModeEnum;
|
|
549
|
+
/** Shooting mode. */
|
|
550
|
+
captureMode?: CaptureModeEnum;
|
|
551
|
+
/** Color temperature of the camera (Kelvin). */
|
|
552
|
+
colorTemperature?: number;
|
|
553
|
+
/** Current system time of RICOH THETA. Setting another options will result in an error. */
|
|
554
|
+
dateTimeZone?: string;
|
|
555
|
+
/** Exposure compensation (EV). */
|
|
556
|
+
exposureCompensation?: ExposureCompensationEnum;
|
|
557
|
+
/** Operating time (sec.) of the self-timer. */
|
|
558
|
+
exposureDelay?: ExposureDelayEnum;
|
|
559
|
+
/** Exposure program. The exposure settings that take priority can be selected. */
|
|
560
|
+
exposureProgram?: ExposureProgramEnum;
|
|
561
|
+
/** Image format used in shooting. */
|
|
562
|
+
fileFormat?: PhotoFileFormatEnum | VideoFileFormatEnum;
|
|
563
|
+
/** Image processing filter. */
|
|
564
|
+
filter?: FilterEnum;
|
|
565
|
+
/** GPS location information. */
|
|
566
|
+
gpsInfo?: GpsInfo;
|
|
567
|
+
/** Turns position information assigning ON/OFF. */
|
|
568
|
+
isGpsOn?: boolean;
|
|
569
|
+
/** ISO sensitivity */
|
|
570
|
+
iso?: IsoEnum;
|
|
571
|
+
/** ISO sensitivity upper limit when ISO sensitivity is set to automatic. */
|
|
572
|
+
isoAutoHighLimit?: IsoAutoHighLimitEnum;
|
|
573
|
+
/** Language used in camera OS. */
|
|
574
|
+
language?: LanguageEnum;
|
|
575
|
+
/** Maximum recordable time (in seconds) of the camera. */
|
|
576
|
+
maxRecordableTime?: MaxRecordableTimeEnum;
|
|
577
|
+
/** Network type of the camera */
|
|
578
|
+
networkType?: NetworkTypeEnum;
|
|
579
|
+
/** Length of standby time before the camera automatically powers OFF. */
|
|
580
|
+
offDelay?: OffDelayEnum;
|
|
581
|
+
/** Password used for digest authentication when _networkType is set to client mode. */
|
|
582
|
+
password?: String;
|
|
583
|
+
/** Power saving mode */
|
|
584
|
+
powerSaving?: PowerSavingEnum;
|
|
585
|
+
/** Format of live view */
|
|
586
|
+
previewFormat?: PreviewFormatEnum;
|
|
587
|
+
/** Proxy information to be used when wired LAN is enabled. */
|
|
588
|
+
proxy?: Proxy;
|
|
589
|
+
/** The estimated remaining number of shots for the current shooting settings. */
|
|
590
|
+
remainingPictures?: number;
|
|
591
|
+
/** The estimated remaining shooting time (sec.) for the current video shooting settings. */
|
|
592
|
+
remainingVideoSeconds?: number;
|
|
593
|
+
/** Remaining usable storage space (byte). */
|
|
594
|
+
remainingSpace?: number;
|
|
595
|
+
/** Shooting method for My Settings mode. In RICOH THETA X, it is used outside of MySetting. */
|
|
596
|
+
shootingMethod?: ShootingMethodEnum;
|
|
597
|
+
/**
|
|
598
|
+
* Shutter speed (sec).
|
|
599
|
+
*
|
|
600
|
+
* It can be set for video shooting mode at RICOH THETA V firmware v3.00.1 or later.
|
|
601
|
+
* Shooting settings are retained separately for both the Still image shooting mode and Video shooting mode.
|
|
602
|
+
*/
|
|
603
|
+
shutterSpeed?: ShutterSpeedEnum;
|
|
604
|
+
/** Shutter volume. */
|
|
605
|
+
shutterVolume?: number;
|
|
606
|
+
/** Length of standby time before the camera enters the sleep mode. */
|
|
607
|
+
sleepDelay?: SleepDelayEnum;
|
|
608
|
+
/** Time shift shooting */
|
|
609
|
+
timeShift?: TimeShift;
|
|
610
|
+
/** Total storage space (byte). */
|
|
611
|
+
totalSpace?: number;
|
|
612
|
+
/** User name used for digest authentication when _networkType is set to client mode. */
|
|
613
|
+
username?: String;
|
|
614
|
+
/** White balance. */
|
|
615
|
+
whiteBalance?: WhiteBalanceEnum;
|
|
616
|
+
/** White balance auto strength. */
|
|
617
|
+
whiteBalanceAutoStrength?: WhiteBalanceAutoStrengthEnum;
|
|
618
|
+
/** WLAN frequency */
|
|
619
|
+
wlanFrequency?: WlanFrequencyEnum;
|
|
620
|
+
/** GPS setting used in only capturing */
|
|
621
|
+
_gpsTagRecording?: GpsTagRecordingEnum;
|
|
622
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DigestAuth } from './digest-auth';
|
|
2
|
+
import type { LanguageEnum, OffDelayEnum, SleepDelayEnum } from './options';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Configuration of THETA
|
|
6
|
+
*/
|
|
7
|
+
export type ThetaConfig = {
|
|
8
|
+
/** Location information acquisition time */
|
|
9
|
+
dateTime?: string;
|
|
10
|
+
/** Language used in camera OS */
|
|
11
|
+
language?: LanguageEnum;
|
|
12
|
+
/** Length of standby time before the camera automatically power OFF. */
|
|
13
|
+
offDelay?: OffDelayEnum;
|
|
14
|
+
/** Length of standby time before the camera enters the sleep mode. */
|
|
15
|
+
sleepDelay?: SleepDelayEnum;
|
|
16
|
+
/** Shutter volume. */
|
|
17
|
+
shutterVolume?: number;
|
|
18
|
+
/** Authentication information used for client mode connections */
|
|
19
|
+
clientMode?: DigestAuth;
|
|
20
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/** File information in Theta. */
|
|
2
|
+
export type FileInfo = {
|
|
3
|
+
/** File name. */
|
|
4
|
+
name: string;
|
|
5
|
+
/** File size in bytes. */
|
|
6
|
+
size: number;
|
|
7
|
+
/** File creation time in the format "YYYY:MM:DD HH:MM:SS". */
|
|
8
|
+
dateTime: string;
|
|
9
|
+
/** You can get a thumbnail image using HTTP GET to [thumbnailUrl]. */
|
|
10
|
+
thumbnailUrl: string;
|
|
11
|
+
/** fileUrl You can get a file using HTTP GET to [fileUrl]. */
|
|
12
|
+
fileUrl: string;
|
|
13
|
+
/** Storage ID. (RICOH THETA X Version 2.00.0 or later) */
|
|
14
|
+
storageID?: String;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** Data about files in Theta. */
|
|
18
|
+
export type ThetaFiles = {
|
|
19
|
+
/** A list of file information */
|
|
20
|
+
fileList: FileInfo[];
|
|
21
|
+
/** number of totalEntries */
|
|
22
|
+
totalEntries: Number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** File type in Theta. */
|
|
26
|
+
export const FileTypeEnum = {
|
|
27
|
+
/** still image files. */
|
|
28
|
+
IMAGE: 'IMAGE',
|
|
29
|
+
/** video files. */
|
|
30
|
+
VIDEO: 'VIDEO',
|
|
31
|
+
/** all files. */
|
|
32
|
+
ALL: 'ALL',
|
|
33
|
+
} as const;
|
|
34
|
+
|
|
35
|
+
/** type definition of FileTypeEnum */
|
|
36
|
+
export type FileTypeEnum = (typeof FileTypeEnum)[keyof typeof FileTypeEnum];
|
|
37
|
+
|
|
38
|
+
/** Specifies the storage. */
|
|
39
|
+
export const StorageEnum = {
|
|
40
|
+
/** internal storage */
|
|
41
|
+
INTERNAL: 'INTERNAL',
|
|
42
|
+
/** external storage (SD card) */
|
|
43
|
+
SD: 'SD',
|
|
44
|
+
/** current storage */
|
|
45
|
+
CURRENT: 'CURRENT',
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
/** type definition of StorageEnum */
|
|
49
|
+
export type StorageEnum = (typeof StorageEnum)[keyof typeof StorageEnum];
|