theta-client-react-native 1.1.0 → 1.3.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/AndroidManifest.xml +1 -1
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +647 -0
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +487 -85
- package/ios/ThetaClientReactNative.h +6 -0
- package/ios/ThetaClientReactNative.mm +1675 -181
- package/ios/ThetaClientReactNative.xcodeproj/project.pbxproj +2 -2
- 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 +135 -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 +198 -0
- package/lib/commonjs/theta-repository/options/index.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js +17 -0
- package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-bitrate.js +64 -0
- package/lib/commonjs/theta-repository/options/option-bitrate.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-burst-mode.js +23 -0
- package/lib/commonjs/theta-repository/options/option-burst-mode.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-burst-option.js +140 -0
- package/lib/commonjs/theta-repository/options/option-burst-option.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-capture-mode.js +30 -0
- package/lib/commonjs/theta-repository/options/option-capture-mode.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-continuous-number.js +71 -0
- package/lib/commonjs/theta-repository/options/option-continuous-number.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-filter.js +32 -0
- package/lib/commonjs/theta-repository/options/option-filter.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-preset.js +26 -0
- package/lib/commonjs/theta-repository/options/option-preset.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 +52 -26
- 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 +33 -1
- package/lib/commonjs/theta-repository/theta-files.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-info.js +29 -0
- package/lib/commonjs/theta-repository/theta-info.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-repository.js +56 -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 +127 -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 +18 -0
- package/lib/module/theta-repository/options/index.js.map +1 -1
- package/lib/module/theta-repository/options/option-ai-auto-thumbnail.js +10 -0
- package/lib/module/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -0
- package/lib/module/theta-repository/options/option-bitrate.js +57 -0
- package/lib/module/theta-repository/options/option-bitrate.js.map +1 -0
- package/lib/module/theta-repository/options/option-burst-mode.js +16 -0
- package/lib/module/theta-repository/options/option-burst-mode.js.map +1 -0
- package/lib/module/theta-repository/options/option-burst-option.js +133 -0
- package/lib/module/theta-repository/options/option-burst-option.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-capture-mode.js +23 -0
- package/lib/module/theta-repository/options/option-capture-mode.js.map +1 -0
- package/lib/module/theta-repository/options/option-continuous-number.js +64 -0
- package/lib/module/theta-repository/options/option-continuous-number.js.map +1 -0
- package/lib/module/theta-repository/options/option-filter.js +25 -0
- package/lib/module/theta-repository/options/option-filter.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-preset.js +19 -0
- package/lib/module/theta-repository/options/option-preset.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 +50 -24
- 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 +32 -0
- package/lib/module/theta-repository/theta-files.js.map +1 -1
- package/lib/module/theta-repository/theta-info.js +22 -0
- package/lib/module/theta-repository/theta-info.js.map +1 -1
- package/lib/module/theta-repository/theta-repository.js +54 -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/capture.d.ts +1 -1
- package/lib/typescript/capture/capture.d.ts.map +1 -1
- 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 +64 -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 +18 -0
- package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-ai-auto-thumbnail.d.ts +10 -0
- package/lib/typescript/theta-repository/options/option-ai-auto-thumbnail.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-bitrate.d.ts +57 -0
- package/lib/typescript/theta-repository/options/option-bitrate.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-burst-mode.d.ts +16 -0
- package/lib/typescript/theta-repository/options/option-burst-mode.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-burst-option.d.ts +153 -0
- package/lib/typescript/theta-repository/options/option-burst-option.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-capture-mode.d.ts +23 -0
- package/lib/typescript/theta-repository/options/option-capture-mode.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-continuous-number.d.ts +64 -0
- package/lib/typescript/theta-repository/options/option-continuous-number.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-filter.d.ts +25 -0
- package/lib/typescript/theta-repository/options/option-filter.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-preset.d.ts +18 -0
- package/lib/typescript/theta-repository/options/option-preset.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 +187 -41
- 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 +66 -3
- package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-info.d.ts +21 -0
- package/lib/typescript/theta-repository/theta-info.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-repository.d.ts +36 -8
- package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-state.d.ts +5 -5
- package/lib/typescript/theta-repository/theta-state.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/capture.ts +1 -1
- package/src/capture/index.ts +1 -0
- package/src/capture/notify.ts +27 -0
- package/src/capture/time-shift-capture.ts +145 -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 +18 -0
- package/src/theta-repository/options/option-ai-auto-thumbnail.ts +11 -0
- package/src/theta-repository/options/option-bitrate.ts +59 -0
- package/src/theta-repository/options/option-burst-mode.ts +16 -0
- package/src/theta-repository/options/option-burst-option.ts +175 -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-capture-mode.ts +24 -0
- package/src/theta-repository/options/option-continuous-number.ts +65 -0
- package/src/theta-repository/options/option-filter.ts +25 -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-preset.ts +19 -0
- package/src/theta-repository/options/option-preview-format.ts +26 -0
- package/src/theta-repository/options/option-proxy.ts +22 -0
- package/src/theta-repository/options/option-shooting-method.ts +35 -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 +188 -46
- package/src/theta-repository/theta-config.ts +20 -0
- package/src/theta-repository/theta-files.ts +73 -3
- package/src/theta-repository/theta-info.ts +23 -0
- package/src/theta-repository/theta-repository.ts +87 -18
- package/src/theta-repository/theta-state.ts +5 -5
- package/src/theta-repository/theta-timeout.ts +21 -0
- package/theta-client-react-native.podspec +1 -1
|
@@ -1,4 +1,22 @@
|
|
|
1
|
+
import type { AiAutoThumbnailEnum } from './option-ai-auto-thumbnail';
|
|
2
|
+
import type { BitrateEnum } from './option-bitrate';
|
|
3
|
+
import type { BurstModeEnum } from './option-burst-mode';
|
|
4
|
+
import type { BurstOption } from './option-burst-option';
|
|
5
|
+
import type { CameraControlSourceEnum } from './option-camera-control-source';
|
|
6
|
+
import type { CameraModeEnum } from './option-camera-mode';
|
|
7
|
+
import type { CaptureModeEnum } from './option-capture-mode';
|
|
8
|
+
import type { ContinuousNumberEnum } from './option-continuous-number';
|
|
9
|
+
import type { FilterEnum } from './option-filter';
|
|
10
|
+
import type { NetworkTypeEnum } from './option-network-type';
|
|
11
|
+
import type { PowerSavingEnum } from './option-power-saving';
|
|
12
|
+
import type { PresetEnum } from './option-preset';
|
|
13
|
+
import type { PreviewFormatEnum } from './option-preview-format';
|
|
14
|
+
import type { Proxy } from './option-proxy';
|
|
15
|
+
import type { ShootingMethodEnum } from './option-shooting-method';
|
|
16
|
+
import type { ShutterSpeedEnum } from './option-shutter-speed';
|
|
17
|
+
import type { TimeShift } from './option-time-shift';
|
|
1
18
|
import type { WhiteBalanceAutoStrengthEnum } from './option-white-balance-auto-strength';
|
|
19
|
+
import type { WlanFrequencyEnum } from './option-wlan-frequency';
|
|
2
20
|
|
|
3
21
|
/** Aperture value. */
|
|
4
22
|
export const ApertureEnum = {
|
|
@@ -17,7 +35,7 @@ export const ApertureEnum = {
|
|
|
17
35
|
} as const;
|
|
18
36
|
|
|
19
37
|
/** type definition of ApertureEnum */
|
|
20
|
-
export type ApertureEnum = typeof ApertureEnum[keyof typeof ApertureEnum];
|
|
38
|
+
export type ApertureEnum = (typeof ApertureEnum)[keyof typeof ApertureEnum];
|
|
21
39
|
|
|
22
40
|
/** BluetoothPower value. */
|
|
23
41
|
export const BluetoothPowerEnum = {
|
|
@@ -29,19 +47,7 @@ export const BluetoothPowerEnum = {
|
|
|
29
47
|
|
|
30
48
|
/** type definition of BluetoothPowerEnum */
|
|
31
49
|
export type BluetoothPowerEnum =
|
|
32
|
-
typeof BluetoothPowerEnum[keyof typeof BluetoothPowerEnum];
|
|
33
|
-
|
|
34
|
-
/** Shooting mode. */
|
|
35
|
-
export const CaptureModeEnum = {
|
|
36
|
-
/** Still image capture mode */
|
|
37
|
-
IMAGE: 'IMAGE',
|
|
38
|
-
/** Video capture mode */
|
|
39
|
-
VIDEO: 'VIDEO',
|
|
40
|
-
} as const;
|
|
41
|
-
|
|
42
|
-
/** type definition of CaptureModeEnum */
|
|
43
|
-
export type CaptureModeEnum =
|
|
44
|
-
typeof CaptureModeEnum[keyof typeof CaptureModeEnum];
|
|
50
|
+
(typeof BluetoothPowerEnum)[keyof typeof BluetoothPowerEnum];
|
|
45
51
|
|
|
46
52
|
/** Exposure compensation (EV). */
|
|
47
53
|
export const ExposureCompensationEnum = {
|
|
@@ -75,7 +81,7 @@ export const ExposureCompensationEnum = {
|
|
|
75
81
|
|
|
76
82
|
/** type definition of ExposureCompensationEnum */
|
|
77
83
|
export type ExposureCompensationEnum =
|
|
78
|
-
typeof ExposureCompensationEnum[keyof typeof ExposureCompensationEnum];
|
|
84
|
+
(typeof ExposureCompensationEnum)[keyof typeof ExposureCompensationEnum];
|
|
79
85
|
|
|
80
86
|
/** Operating time (sec.) of the self-timer. */
|
|
81
87
|
export const ExposureDelayEnum = {
|
|
@@ -105,7 +111,7 @@ export const ExposureDelayEnum = {
|
|
|
105
111
|
|
|
106
112
|
/** type definition of ExposureDelayEnum */
|
|
107
113
|
export type ExposureDelayEnum =
|
|
108
|
-
typeof ExposureDelayEnum[keyof typeof ExposureDelayEnum];
|
|
114
|
+
(typeof ExposureDelayEnum)[keyof typeof ExposureDelayEnum];
|
|
109
115
|
|
|
110
116
|
/** Exposure program. The exposure settings that take priority can be selected. */
|
|
111
117
|
export const ExposureProgramEnum = {
|
|
@@ -123,7 +129,7 @@ export const ExposureProgramEnum = {
|
|
|
123
129
|
|
|
124
130
|
/** type definition of ExposureProgramEnum */
|
|
125
131
|
export type ExposureProgramEnum =
|
|
126
|
-
typeof ExposureProgramEnum[keyof typeof ExposureProgramEnum];
|
|
132
|
+
(typeof ExposureProgramEnum)[keyof typeof ExposureProgramEnum];
|
|
127
133
|
|
|
128
134
|
/** file format type in theta */
|
|
129
135
|
export const FileFormatTypeEnum = {
|
|
@@ -137,7 +143,7 @@ export const FileFormatTypeEnum = {
|
|
|
137
143
|
|
|
138
144
|
/** type definition of FileFormatTypeEnum */
|
|
139
145
|
export type FileFormatTypeEnum =
|
|
140
|
-
typeof FileFormatTypeEnum[keyof typeof FileFormatTypeEnum];
|
|
146
|
+
(typeof FileFormatTypeEnum)[keyof typeof FileFormatTypeEnum];
|
|
141
147
|
|
|
142
148
|
/** Photo image format */
|
|
143
149
|
export const PhotoFileFormatEnum = {
|
|
@@ -189,24 +195,11 @@ export const VideoFileFormatEnum = {
|
|
|
189
195
|
|
|
190
196
|
/** type definition of PhotoFileFormatEnum */
|
|
191
197
|
export type PhotoFileFormatEnum =
|
|
192
|
-
typeof PhotoFileFormatEnum[keyof typeof PhotoFileFormatEnum];
|
|
198
|
+
(typeof PhotoFileFormatEnum)[keyof typeof PhotoFileFormatEnum];
|
|
193
199
|
|
|
194
200
|
/** type definition of VideoFileFormatEnum */
|
|
195
201
|
export type VideoFileFormatEnum =
|
|
196
|
-
typeof VideoFileFormatEnum[keyof typeof VideoFileFormatEnum];
|
|
197
|
-
|
|
198
|
-
/** Image processing filter. */
|
|
199
|
-
export const FilterEnum = {
|
|
200
|
-
/** No filter. */
|
|
201
|
-
OFF: 'OFF',
|
|
202
|
-
/** Noise reduction. */
|
|
203
|
-
NOISE_REDUCTION: 'NOISE_REDUCTION',
|
|
204
|
-
/** HDR. */
|
|
205
|
-
HDR: 'HDR',
|
|
206
|
-
} as const;
|
|
207
|
-
|
|
208
|
-
/** type definition of FilterEnum */
|
|
209
|
-
export type FilterEnum = typeof FilterEnum[keyof typeof FilterEnum];
|
|
202
|
+
(typeof VideoFileFormatEnum)[keyof typeof VideoFileFormatEnum];
|
|
210
203
|
|
|
211
204
|
/** GPS information */
|
|
212
205
|
export type GpsInfo = {
|
|
@@ -230,7 +223,7 @@ export const GpsTagRecordingEnum = {
|
|
|
230
223
|
|
|
231
224
|
/** type definition of GpsTagRecordingEnum */
|
|
232
225
|
export type GpsTagRecordingEnum =
|
|
233
|
-
typeof GpsTagRecordingEnum[keyof typeof GpsTagRecordingEnum];
|
|
226
|
+
(typeof GpsTagRecordingEnum)[keyof typeof GpsTagRecordingEnum];
|
|
234
227
|
|
|
235
228
|
/** ISO sensitivity. */
|
|
236
229
|
export const IsoEnum = {
|
|
@@ -283,7 +276,7 @@ export const IsoEnum = {
|
|
|
283
276
|
} as const;
|
|
284
277
|
|
|
285
278
|
/** type definition IsoEnum */
|
|
286
|
-
export type IsoEnum = typeof IsoEnum[keyof typeof IsoEnum];
|
|
279
|
+
export type IsoEnum = (typeof IsoEnum)[keyof typeof IsoEnum];
|
|
287
280
|
|
|
288
281
|
/** ISO sensitivity upper limit when ISO sensitivity is set to automatic. */
|
|
289
282
|
export const IsoAutoHighLimitEnum = {
|
|
@@ -329,7 +322,7 @@ export const IsoAutoHighLimitEnum = {
|
|
|
329
322
|
|
|
330
323
|
/** type definition of IsoAutoHighLimitEnum */
|
|
331
324
|
export type IsoAutoHighLimitEnum =
|
|
332
|
-
typeof IsoAutoHighLimitEnum[keyof typeof IsoAutoHighLimitEnum];
|
|
325
|
+
(typeof IsoAutoHighLimitEnum)[keyof typeof IsoAutoHighLimitEnum];
|
|
333
326
|
|
|
334
327
|
/** language */
|
|
335
328
|
export const LanguageEnum = {
|
|
@@ -354,7 +347,7 @@ export const LanguageEnum = {
|
|
|
354
347
|
} as const;
|
|
355
348
|
|
|
356
349
|
/** type definition of LanguageEnum */
|
|
357
|
-
export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
|
|
350
|
+
export type LanguageEnum = (typeof LanguageEnum)[keyof typeof LanguageEnum];
|
|
358
351
|
|
|
359
352
|
/** Maximum recordable time (in seconds) of the camera */
|
|
360
353
|
export const MaxRecordableTimeEnum = {
|
|
@@ -364,11 +357,15 @@ export const MaxRecordableTimeEnum = {
|
|
|
364
357
|
RECORDABLE_TIME_300: 'RECORDABLE_TIME_300',
|
|
365
358
|
/** 1500 seconds for other than SC2. */
|
|
366
359
|
RECORDABLE_TIME_1500: 'RECORDABLE_TIME_1500',
|
|
360
|
+
/** 7200 seconds for Theta X only */
|
|
361
|
+
RECORDABLE_TIME_7200: 'RECORDABLE_TIME_7200',
|
|
362
|
+
/** Just used by getMySetting/setMySetting command */
|
|
363
|
+
DO_NOT_UPDATE_MY_SETTING_CONDITION: 'DO_NOT_UPDATE_MY_SETTING_CONDITION',
|
|
367
364
|
} as const;
|
|
368
365
|
|
|
369
366
|
/** type definition of MaxRecordableTimeEnum */
|
|
370
367
|
export type MaxRecordableTimeEnum =
|
|
371
|
-
typeof MaxRecordableTimeEnum[keyof typeof MaxRecordableTimeEnum];
|
|
368
|
+
(typeof MaxRecordableTimeEnum)[keyof typeof MaxRecordableTimeEnum];
|
|
372
369
|
|
|
373
370
|
/** Length of standby time before the camera automatically powers OFF. */
|
|
374
371
|
export const OffDelayEnum = {
|
|
@@ -386,7 +383,7 @@ export const OffDelayEnum = {
|
|
|
386
383
|
|
|
387
384
|
/** type definition of OffDelayEnum */
|
|
388
385
|
export type OffDelayEnum =
|
|
389
|
-
| typeof OffDelayEnum[keyof typeof OffDelayEnum]
|
|
386
|
+
| (typeof OffDelayEnum)[keyof typeof OffDelayEnum]
|
|
390
387
|
| number;
|
|
391
388
|
|
|
392
389
|
/** Length of standby time before the camera enters the sleep mode. */
|
|
@@ -405,7 +402,7 @@ export const SleepDelayEnum = {
|
|
|
405
402
|
|
|
406
403
|
/** type definition of SleepDelayEnum */
|
|
407
404
|
export type SleepDelayEnum =
|
|
408
|
-
| typeof SleepDelayEnum[keyof typeof SleepDelayEnum]
|
|
405
|
+
| (typeof SleepDelayEnum)[keyof typeof SleepDelayEnum]
|
|
409
406
|
| number;
|
|
410
407
|
|
|
411
408
|
/** White balance. */
|
|
@@ -438,18 +435,40 @@ export const WhiteBalanceEnum = {
|
|
|
438
435
|
|
|
439
436
|
/** type definition of WhiteBalanceEnum */
|
|
440
437
|
export type WhiteBalanceEnum =
|
|
441
|
-
typeof WhiteBalanceEnum[keyof typeof WhiteBalanceEnum];
|
|
438
|
+
(typeof WhiteBalanceEnum)[keyof typeof WhiteBalanceEnum];
|
|
442
439
|
|
|
443
440
|
/** Camera setting options name. */
|
|
444
441
|
export const OptionNameEnum = {
|
|
442
|
+
/** _aiAutoThumbnail */
|
|
443
|
+
AiAutoThumbnail: 'AiAutoThumbnail',
|
|
445
444
|
/** aperture */
|
|
446
445
|
Aperture: 'Aperture',
|
|
446
|
+
/** _bitrate*/
|
|
447
|
+
Bitrate: 'Bitrate',
|
|
447
448
|
/** _bluetoothPower*/
|
|
448
449
|
BluetoothPower: 'BluetoothPower',
|
|
450
|
+
/** _burstMode*/
|
|
451
|
+
BurstMode: 'BurstMode',
|
|
452
|
+
/** _burstOption*/
|
|
453
|
+
BurstOption: 'BurstOption',
|
|
454
|
+
/** _cameraControlSource */
|
|
455
|
+
CameraControlSource: 'CameraControlSource',
|
|
456
|
+
/** cameraMode */
|
|
457
|
+
CameraMode: 'CameraMode',
|
|
458
|
+
/** captureInterval */
|
|
459
|
+
CaptureInterval: 'CaptureInterval',
|
|
449
460
|
/** captureMode */
|
|
450
461
|
CaptureMode: 'CaptureMode',
|
|
462
|
+
/** captureNumber */
|
|
463
|
+
CaptureNumber: 'CaptureNumber',
|
|
451
464
|
/** colorTemperature */
|
|
452
465
|
ColorTemperature: 'ColorTemperature',
|
|
466
|
+
/** _compositeShootingOutputInterval */
|
|
467
|
+
CompositeShootingOutputInterval: 'CompositeShootingOutputInterval',
|
|
468
|
+
/** _compositeShootingTime */
|
|
469
|
+
CompositeShootingTime: 'CompositeShootingTime',
|
|
470
|
+
/** continuousNumber */
|
|
471
|
+
ContinuousNumber: 'ContinuousNumber',
|
|
453
472
|
/** dateTimeZone */
|
|
454
473
|
DateTimeZone: 'DateTimeZone',
|
|
455
474
|
/** exposureCompensation */
|
|
@@ -474,8 +493,24 @@ export const OptionNameEnum = {
|
|
|
474
493
|
Language: 'Language',
|
|
475
494
|
/** maxRecordableTime */
|
|
476
495
|
MaxRecordableTime: 'MaxRecordableTime',
|
|
496
|
+
/** networkType */
|
|
497
|
+
NetworkType: 'NetworkType',
|
|
477
498
|
/** offDelay */
|
|
478
499
|
OffDelay: 'OffDelay',
|
|
500
|
+
/** password */
|
|
501
|
+
Password: 'Password',
|
|
502
|
+
/** powerSaving */
|
|
503
|
+
PowerSaving: 'PowerSaving',
|
|
504
|
+
/** preset */
|
|
505
|
+
Preset: 'Preset',
|
|
506
|
+
/** previewFormat */
|
|
507
|
+
PreviewFormat: 'PreviewFormat',
|
|
508
|
+
/** proxy */
|
|
509
|
+
Proxy: 'Proxy',
|
|
510
|
+
/** shootingMethod */
|
|
511
|
+
ShootingMethod: 'ShootingMethod',
|
|
512
|
+
/** shutterSpeed */
|
|
513
|
+
ShutterSpeed: 'ShutterSpeed',
|
|
479
514
|
/** sleepDelay */
|
|
480
515
|
SleepDelay: 'SleepDelay',
|
|
481
516
|
/** remainingPictures */
|
|
@@ -484,29 +519,109 @@ export const OptionNameEnum = {
|
|
|
484
519
|
RemainingVideoSeconds: 'RemainingVideoSeconds',
|
|
485
520
|
/** remainingSpace */
|
|
486
521
|
RemainingSpace: 'RemainingSpace',
|
|
522
|
+
/** timeShift */
|
|
523
|
+
TimeShift: 'TimeShift',
|
|
487
524
|
/** totalSpace */
|
|
488
525
|
TotalSpace: 'TotalSpace',
|
|
489
526
|
/** shutterVolume */
|
|
490
527
|
ShutterVolume: 'ShutterVolume',
|
|
528
|
+
/** username */
|
|
529
|
+
Username: 'Username',
|
|
491
530
|
/** whiteBalance */
|
|
492
531
|
WhiteBalance: 'WhiteBalance',
|
|
493
532
|
/** _whiteBalanceAutoStrength */
|
|
494
533
|
WhiteBalanceAutoStrength: 'WhiteBalanceAutoStrength',
|
|
534
|
+
/** _wlanFrequency */
|
|
535
|
+
WlanFrequency: 'WlanFrequency',
|
|
495
536
|
} as const;
|
|
496
537
|
|
|
497
538
|
/** type definition of OptionNameEnum */
|
|
498
|
-
export type OptionNameEnum =
|
|
539
|
+
export type OptionNameEnum =
|
|
540
|
+
(typeof OptionNameEnum)[keyof typeof OptionNameEnum];
|
|
499
541
|
|
|
500
542
|
/** camera setting options */
|
|
501
543
|
export type Options = {
|
|
544
|
+
/** AI auto thumbnail setting. */
|
|
545
|
+
aiAutoThumbnail?: AiAutoThumbnailEnum;
|
|
502
546
|
/** Aperture value. */
|
|
503
547
|
aperture?: ApertureEnum;
|
|
548
|
+
/** Bitrate */
|
|
549
|
+
bitrate?: BitrateEnum;
|
|
504
550
|
/** BluetoothPower */
|
|
505
551
|
bluetoothPower?: BluetoothPowerEnum;
|
|
552
|
+
/** BurstMode */
|
|
553
|
+
burstMode?: BurstModeEnum;
|
|
554
|
+
/** BurstOption */
|
|
555
|
+
burstOption?: BurstOption;
|
|
556
|
+
/** camera control source. */
|
|
557
|
+
cameraControlSource?: CameraControlSourceEnum;
|
|
558
|
+
/** Camera mode. */
|
|
559
|
+
cameraMode?: CameraModeEnum;
|
|
560
|
+
/**
|
|
561
|
+
* Shooting interval (sec.) for interval shooting.
|
|
562
|
+
*
|
|
563
|
+
* ### Support value
|
|
564
|
+
* The value that can be set differs depending on the image format ([fileFormat]) to be shot.
|
|
565
|
+
* #### For RICOH THETA X or later
|
|
566
|
+
* | Image format | Image size | Support value |
|
|
567
|
+
* | ------------ | ----------- | ------------- |
|
|
568
|
+
* | JPEG | 11008 x 5504 <br>5504 x 2752 | Minimum value(minInterval):6 <br>Maximum value(maxInterval):3600 |
|
|
569
|
+
*
|
|
570
|
+
* #### For RICOH THETA Z1
|
|
571
|
+
* | Image format | Image size | Support value |
|
|
572
|
+
* | ------------ | ----------- | ------------- |
|
|
573
|
+
* | JPEG | 6720 x 3360 | Minimum value(minInterval):6 <br>Maximum value(maxInterval):3600 |
|
|
574
|
+
* | RAW+ | 6720 x 3360 | Minimum value(minInterval):10 <br>Maximum value(maxInterval):3600 |
|
|
575
|
+
*
|
|
576
|
+
* #### For RICOH THETA V
|
|
577
|
+
* | Image format | Image size | Support value |
|
|
578
|
+
* | ------------ | ----------- | ------------- |
|
|
579
|
+
* | JPEG | 5376 x 2688 | Minimum value(minInterval):4 <br>Maximum value(maxInterval):3600 |
|
|
580
|
+
*
|
|
581
|
+
* #### For RICOH THETA S or SC
|
|
582
|
+
* | Image format | Image size | Support value |
|
|
583
|
+
* | ------------ | ----------- | ------------- |
|
|
584
|
+
* | JPEG | 5376 x 2688 | Minimum value(minInterval):8 <br>Maximum value(maxInterval):3600 |
|
|
585
|
+
* | JPEG | 2048 x 1024 | Minimum value(minInterval):5 <br>Maximum value(maxInterval):3600 |
|
|
586
|
+
*/
|
|
587
|
+
captureInterval?: number;
|
|
506
588
|
/** Shooting mode. */
|
|
507
589
|
captureMode?: CaptureModeEnum;
|
|
590
|
+
/**
|
|
591
|
+
* Number of shots for interval shooting.
|
|
592
|
+
*
|
|
593
|
+
* ### Support value
|
|
594
|
+
* - 0: Unlimited (_limitless)
|
|
595
|
+
* - 2: Minimum value (minNumber)
|
|
596
|
+
* - 9999: Maximum value (maxNumber)
|
|
597
|
+
*/
|
|
598
|
+
captureNumber?: number;
|
|
508
599
|
/** Color temperature of the camera (Kelvin). */
|
|
509
600
|
colorTemperature?: number;
|
|
601
|
+
/**
|
|
602
|
+
* In-progress save interval for interval composite shooting (sec).
|
|
603
|
+
*
|
|
604
|
+
* 0 (no saving), 60 to 600. In 60-second units.
|
|
605
|
+
*
|
|
606
|
+
* For
|
|
607
|
+
* RICOH THETA Z1
|
|
608
|
+
* RICOH THETA SC firmware v1.10 or later
|
|
609
|
+
* RICOH THETA S firmware v01.82 or later
|
|
610
|
+
*/
|
|
611
|
+
compositeShootingOutputInterval?: number;
|
|
612
|
+
/**
|
|
613
|
+
* Shooting time for interval composite shooting (sec).
|
|
614
|
+
*
|
|
615
|
+
* 600 to 86400. In 600-second units.
|
|
616
|
+
*
|
|
617
|
+
* For
|
|
618
|
+
* RICOH THETA Z1
|
|
619
|
+
* RICOH THETA SC firmware v1.10 or later
|
|
620
|
+
* RICOH THETA S firmware v01.82 or later
|
|
621
|
+
*/
|
|
622
|
+
compositeShootingTime?: number;
|
|
623
|
+
/** Number of shots for continuous shooting. */
|
|
624
|
+
continuousNumber?: ContinuousNumberEnum;
|
|
510
625
|
/** Current system time of RICOH THETA. Setting another options will result in an error. */
|
|
511
626
|
dateTimeZone?: string;
|
|
512
627
|
/** Exposure compensation (EV). */
|
|
@@ -531,24 +646,51 @@ export type Options = {
|
|
|
531
646
|
language?: LanguageEnum;
|
|
532
647
|
/** Maximum recordable time (in seconds) of the camera. */
|
|
533
648
|
maxRecordableTime?: MaxRecordableTimeEnum;
|
|
649
|
+
/** Network type of the camera */
|
|
650
|
+
networkType?: NetworkTypeEnum;
|
|
534
651
|
/** Length of standby time before the camera automatically powers OFF. */
|
|
535
652
|
offDelay?: OffDelayEnum;
|
|
536
|
-
/**
|
|
537
|
-
|
|
653
|
+
/** Password used for digest authentication when _networkType is set to client mode. */
|
|
654
|
+
password?: String;
|
|
655
|
+
/** Power saving mode */
|
|
656
|
+
powerSaving?: PowerSavingEnum;
|
|
657
|
+
/** Preset mode */
|
|
658
|
+
preset?: PresetEnum;
|
|
659
|
+
/** Format of live view */
|
|
660
|
+
previewFormat?: PreviewFormatEnum;
|
|
661
|
+
/** Proxy information to be used when wired LAN is enabled. */
|
|
662
|
+
proxy?: Proxy;
|
|
538
663
|
/** The estimated remaining number of shots for the current shooting settings. */
|
|
539
664
|
remainingPictures?: number;
|
|
540
665
|
/** The estimated remaining shooting time (sec.) for the current video shooting settings. */
|
|
541
666
|
remainingVideoSeconds?: number;
|
|
542
667
|
/** Remaining usable storage space (byte). */
|
|
543
668
|
remainingSpace?: number;
|
|
544
|
-
/**
|
|
545
|
-
|
|
669
|
+
/** Shooting method for My Settings mode. In RICOH THETA X, it is used outside of MySetting. */
|
|
670
|
+
shootingMethod?: ShootingMethodEnum;
|
|
671
|
+
/**
|
|
672
|
+
* Shutter speed (sec).
|
|
673
|
+
*
|
|
674
|
+
* It can be set for video shooting mode at RICOH THETA V firmware v3.00.1 or later.
|
|
675
|
+
* Shooting settings are retained separately for both the Still image shooting mode and Video shooting mode.
|
|
676
|
+
*/
|
|
677
|
+
shutterSpeed?: ShutterSpeedEnum;
|
|
546
678
|
/** Shutter volume. */
|
|
547
679
|
shutterVolume?: number;
|
|
680
|
+
/** Length of standby time before the camera enters the sleep mode. */
|
|
681
|
+
sleepDelay?: SleepDelayEnum;
|
|
682
|
+
/** Time shift shooting */
|
|
683
|
+
timeShift?: TimeShift;
|
|
684
|
+
/** Total storage space (byte). */
|
|
685
|
+
totalSpace?: number;
|
|
686
|
+
/** User name used for digest authentication when _networkType is set to client mode. */
|
|
687
|
+
username?: String;
|
|
548
688
|
/** White balance. */
|
|
549
689
|
whiteBalance?: WhiteBalanceEnum;
|
|
550
690
|
/** White balance auto strength. */
|
|
551
691
|
whiteBalanceAutoStrength?: WhiteBalanceAutoStrengthEnum;
|
|
692
|
+
/** WLAN frequency */
|
|
693
|
+
wlanFrequency?: WlanFrequencyEnum;
|
|
552
694
|
/** GPS setting used in only capturing */
|
|
553
695
|
_gpsTagRecording?: GpsTagRecordingEnum;
|
|
554
696
|
};
|
|
@@ -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
|
+
};
|
|
@@ -2,14 +2,48 @@
|
|
|
2
2
|
export type FileInfo = {
|
|
3
3
|
/** File name. */
|
|
4
4
|
name: string;
|
|
5
|
+
/** fileUrl You can get a file using HTTP GET to [fileUrl]. */
|
|
6
|
+
fileUrl: string;
|
|
5
7
|
/** File size in bytes. */
|
|
6
8
|
size: number;
|
|
7
9
|
/** File creation time in the format "YYYY:MM:DD HH:MM:SS". */
|
|
8
10
|
dateTime: string;
|
|
11
|
+
/** Latitude. */
|
|
12
|
+
lat?: number;
|
|
13
|
+
/** Longitude. */
|
|
14
|
+
lng?: number;
|
|
15
|
+
/** Horizontal size of image (pixels). */
|
|
16
|
+
width?: number;
|
|
17
|
+
/** Vertical size of image (pixels). */
|
|
18
|
+
height?: number;
|
|
9
19
|
/** You can get a thumbnail image using HTTP GET to [thumbnailUrl]. */
|
|
10
20
|
thumbnailUrl: string;
|
|
11
|
-
/**
|
|
12
|
-
|
|
21
|
+
/** Group ID of a still image shot by interval shooting. */
|
|
22
|
+
intervalCaptureGroupId?: string;
|
|
23
|
+
/** Group ID of a still image shot by interval composite shooting. */
|
|
24
|
+
compositeShootingGroupId?: string;
|
|
25
|
+
/** Group ID of a still image shot by multi bracket shooting. */
|
|
26
|
+
autoBracketGroupId?: string;
|
|
27
|
+
/** Video shooting time (sec). */
|
|
28
|
+
recordTime?: number;
|
|
29
|
+
/** Whether or not image processing has been completed. */
|
|
30
|
+
isProcessed?: boolean;
|
|
31
|
+
/** URL of the file being processed. */
|
|
32
|
+
previewUrl?: string;
|
|
33
|
+
/** Codec. (RICOH THETA V or later) */
|
|
34
|
+
codec?: CodecEnum;
|
|
35
|
+
/** Projection type of movie file. (RICOH THETA V or later) */
|
|
36
|
+
projectionType?: ProjectionTypeEnum;
|
|
37
|
+
/** Group ID of continuous shooting. (RICOH THETA X or later) */
|
|
38
|
+
continuousShootingGroupId?: string;
|
|
39
|
+
/** Frame rate. (RICOH THETA X or later) */
|
|
40
|
+
frameRate?: number;
|
|
41
|
+
/** Favorite. (RICOH THETA X or later) */
|
|
42
|
+
favorite?: boolean;
|
|
43
|
+
/** Image description. (RICOH THETA X or later) */
|
|
44
|
+
imageDescription?: string;
|
|
45
|
+
/** Storage ID. (RICOH THETA X Version 2.00.0 or later) */
|
|
46
|
+
storageID?: String;
|
|
13
47
|
};
|
|
14
48
|
|
|
15
49
|
/** Data about files in Theta. */
|
|
@@ -31,4 +65,40 @@ export const FileTypeEnum = {
|
|
|
31
65
|
} as const;
|
|
32
66
|
|
|
33
67
|
/** type definition of FileTypeEnum */
|
|
34
|
-
export type FileTypeEnum = typeof FileTypeEnum[keyof typeof FileTypeEnum];
|
|
68
|
+
export type FileTypeEnum = (typeof FileTypeEnum)[keyof typeof FileTypeEnum];
|
|
69
|
+
|
|
70
|
+
/** Specifies the storage. */
|
|
71
|
+
export const StorageEnum = {
|
|
72
|
+
/** internal storage */
|
|
73
|
+
INTERNAL: 'INTERNAL',
|
|
74
|
+
/** external storage (SD card) */
|
|
75
|
+
SD: 'SD',
|
|
76
|
+
/** current storage */
|
|
77
|
+
CURRENT: 'CURRENT',
|
|
78
|
+
} as const;
|
|
79
|
+
|
|
80
|
+
/** type definition of StorageEnum */
|
|
81
|
+
export type StorageEnum = (typeof StorageEnum)[keyof typeof StorageEnum];
|
|
82
|
+
|
|
83
|
+
/** Video codec */
|
|
84
|
+
export const CodecEnum = {
|
|
85
|
+
/** codec H.264/MPEG-4 AVC */
|
|
86
|
+
H264MP4AVC: 'H264MP4AVC',
|
|
87
|
+
} as const;
|
|
88
|
+
|
|
89
|
+
/** type definition of CodecEnum */
|
|
90
|
+
export type CodecEnum = (typeof CodecEnum)[keyof typeof CodecEnum];
|
|
91
|
+
|
|
92
|
+
/** THETA projection type */
|
|
93
|
+
export const ProjectionTypeEnum = {
|
|
94
|
+
/** Equirectangular type */
|
|
95
|
+
EQUIRECTANGULAR: 'EQUIRECTANGULAR',
|
|
96
|
+
/** Dual Fisheye type */
|
|
97
|
+
DUAL_FISHEYE: 'DUAL_FISHEYE',
|
|
98
|
+
/** Dual Fisheye type */
|
|
99
|
+
FISHEYE: 'FISHEYE',
|
|
100
|
+
} as const;
|
|
101
|
+
|
|
102
|
+
/** type definition of ProjectionTypeEnum */
|
|
103
|
+
export type ProjectionTypeEnum =
|
|
104
|
+
(typeof ProjectionTypeEnum)[keyof typeof ProjectionTypeEnum];
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
/** Support THETA model */
|
|
2
|
+
export const ThetaModel = {
|
|
3
|
+
/** THETA S */
|
|
4
|
+
THETA_S: 'THETA_S',
|
|
5
|
+
/** THETA SC */
|
|
6
|
+
THETA_SC: 'THETA_SC',
|
|
7
|
+
/** THETA V */
|
|
8
|
+
THETA_V: 'THETA_V',
|
|
9
|
+
/** THETA Z1 */
|
|
10
|
+
THETA_Z1: 'THETA_Z1',
|
|
11
|
+
/** THETA X */
|
|
12
|
+
THETA_X: 'THETA_X',
|
|
13
|
+
/** THETA SC2 */
|
|
14
|
+
THETA_SC2: 'THETA_SC2',
|
|
15
|
+
/** THETA SC2 for business */
|
|
16
|
+
THETA_SC2_B: 'THETA_SC2_B',
|
|
17
|
+
} as const;
|
|
18
|
+
|
|
19
|
+
/** type definition of ThetaModel */
|
|
20
|
+
export type ThetaModel = (typeof ThetaModel)[keyof typeof ThetaModel];
|
|
21
|
+
|
|
1
22
|
/** Static attributes of Theta. */
|
|
2
23
|
export type ThetaInfo = {
|
|
3
24
|
/** Manufacturer name */
|
|
@@ -26,6 +47,8 @@ export type ThetaInfo = {
|
|
|
26
47
|
endpoints: EndPoint;
|
|
27
48
|
/** List of supported APIs (1: v2.0, 2: v2.1) */
|
|
28
49
|
apiLevel: number[];
|
|
50
|
+
/** THETA model */
|
|
51
|
+
thetaModel?: ThetaModel;
|
|
29
52
|
};
|
|
30
53
|
|
|
31
54
|
/** endpoint information */
|