theta-client-react-native 1.2.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.
Files changed (129) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/AndroidManifest.xml +1 -1
  3. package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +279 -7
  4. package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +113 -85
  5. package/ios/ThetaClientReactNative.mm +549 -48
  6. package/ios/ThetaClientReactNative.xcodeproj/project.pbxproj +2 -2
  7. package/lib/commonjs/capture/time-shift-capture.js +44 -0
  8. package/lib/commonjs/capture/time-shift-capture.js.map +1 -1
  9. package/lib/commonjs/theta-repository/options/index.js +96 -8
  10. package/lib/commonjs/theta-repository/options/index.js.map +1 -1
  11. package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js +17 -0
  12. package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -0
  13. package/lib/commonjs/theta-repository/options/option-bitrate.js +64 -0
  14. package/lib/commonjs/theta-repository/options/option-bitrate.js.map +1 -0
  15. package/lib/commonjs/theta-repository/options/option-burst-mode.js +23 -0
  16. package/lib/commonjs/theta-repository/options/option-burst-mode.js.map +1 -0
  17. package/lib/commonjs/theta-repository/options/option-burst-option.js +140 -0
  18. package/lib/commonjs/theta-repository/options/option-burst-option.js.map +1 -0
  19. package/lib/commonjs/theta-repository/options/option-capture-mode.js +30 -0
  20. package/lib/commonjs/theta-repository/options/option-capture-mode.js.map +1 -0
  21. package/lib/commonjs/theta-repository/options/option-continuous-number.js +71 -0
  22. package/lib/commonjs/theta-repository/options/option-continuous-number.js.map +1 -0
  23. package/lib/commonjs/theta-repository/options/option-filter.js +32 -0
  24. package/lib/commonjs/theta-repository/options/option-filter.js.map +1 -0
  25. package/lib/commonjs/theta-repository/options/option-preset.js +26 -0
  26. package/lib/commonjs/theta-repository/options/option-preset.js.map +1 -0
  27. package/lib/commonjs/theta-repository/options/option-preview-format.js.map +1 -1
  28. package/lib/commonjs/theta-repository/options/option-shooting-method.js +1 -1
  29. package/lib/commonjs/theta-repository/options/option-shooting-method.js.map +1 -1
  30. package/lib/commonjs/theta-repository/options/option-time-shift.js.map +1 -1
  31. package/lib/commonjs/theta-repository/options/options.js +22 -24
  32. package/lib/commonjs/theta-repository/options/options.js.map +1 -1
  33. package/lib/commonjs/theta-repository/theta-files.js +21 -1
  34. package/lib/commonjs/theta-repository/theta-files.js.map +1 -1
  35. package/lib/commonjs/theta-repository/theta-info.js +29 -0
  36. package/lib/commonjs/theta-repository/theta-info.js.map +1 -1
  37. package/lib/commonjs/theta-repository/theta-repository.js +17 -0
  38. package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
  39. package/lib/module/capture/time-shift-capture.js +44 -0
  40. package/lib/module/capture/time-shift-capture.js.map +1 -1
  41. package/lib/module/theta-repository/options/index.js +9 -1
  42. package/lib/module/theta-repository/options/index.js.map +1 -1
  43. package/lib/module/theta-repository/options/option-ai-auto-thumbnail.js +10 -0
  44. package/lib/module/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -0
  45. package/lib/module/theta-repository/options/option-bitrate.js +57 -0
  46. package/lib/module/theta-repository/options/option-bitrate.js.map +1 -0
  47. package/lib/module/theta-repository/options/option-burst-mode.js +16 -0
  48. package/lib/module/theta-repository/options/option-burst-mode.js.map +1 -0
  49. package/lib/module/theta-repository/options/option-burst-option.js +133 -0
  50. package/lib/module/theta-repository/options/option-burst-option.js.map +1 -0
  51. package/lib/module/theta-repository/options/option-capture-mode.js +23 -0
  52. package/lib/module/theta-repository/options/option-capture-mode.js.map +1 -0
  53. package/lib/module/theta-repository/options/option-continuous-number.js +64 -0
  54. package/lib/module/theta-repository/options/option-continuous-number.js.map +1 -0
  55. package/lib/module/theta-repository/options/option-filter.js +25 -0
  56. package/lib/module/theta-repository/options/option-filter.js.map +1 -0
  57. package/lib/module/theta-repository/options/option-preset.js +19 -0
  58. package/lib/module/theta-repository/options/option-preset.js.map +1 -0
  59. package/lib/module/theta-repository/options/option-preview-format.js.map +1 -1
  60. package/lib/module/theta-repository/options/option-shooting-method.js +1 -1
  61. package/lib/module/theta-repository/options/option-shooting-method.js.map +1 -1
  62. package/lib/module/theta-repository/options/option-time-shift.js.map +1 -1
  63. package/lib/module/theta-repository/options/options.js +20 -22
  64. package/lib/module/theta-repository/options/options.js.map +1 -1
  65. package/lib/module/theta-repository/theta-files.js +20 -0
  66. package/lib/module/theta-repository/theta-files.js.map +1 -1
  67. package/lib/module/theta-repository/theta-info.js +22 -0
  68. package/lib/module/theta-repository/theta-info.js.map +1 -1
  69. package/lib/module/theta-repository/theta-repository.js +16 -0
  70. package/lib/module/theta-repository/theta-repository.js.map +1 -1
  71. package/lib/typescript/capture/capture.d.ts +1 -1
  72. package/lib/typescript/capture/capture.d.ts.map +1 -1
  73. package/lib/typescript/capture/time-shift-capture.d.ts +20 -0
  74. package/lib/typescript/capture/time-shift-capture.d.ts.map +1 -1
  75. package/lib/typescript/theta-repository/options/index.d.ts +9 -1
  76. package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
  77. package/lib/typescript/theta-repository/options/option-ai-auto-thumbnail.d.ts +10 -0
  78. package/lib/typescript/theta-repository/options/option-ai-auto-thumbnail.d.ts.map +1 -0
  79. package/lib/typescript/theta-repository/options/option-bitrate.d.ts +57 -0
  80. package/lib/typescript/theta-repository/options/option-bitrate.d.ts.map +1 -0
  81. package/lib/typescript/theta-repository/options/option-burst-mode.d.ts +16 -0
  82. package/lib/typescript/theta-repository/options/option-burst-mode.d.ts.map +1 -0
  83. package/lib/typescript/theta-repository/options/option-burst-option.d.ts +153 -0
  84. package/lib/typescript/theta-repository/options/option-burst-option.d.ts.map +1 -0
  85. package/lib/typescript/theta-repository/options/option-capture-mode.d.ts +23 -0
  86. package/lib/typescript/theta-repository/options/option-capture-mode.d.ts.map +1 -0
  87. package/lib/typescript/theta-repository/options/option-continuous-number.d.ts +64 -0
  88. package/lib/typescript/theta-repository/options/option-continuous-number.d.ts.map +1 -0
  89. package/lib/typescript/theta-repository/options/option-filter.d.ts +25 -0
  90. package/lib/typescript/theta-repository/options/option-filter.d.ts.map +1 -0
  91. package/lib/typescript/theta-repository/options/option-power-saving.d.ts.map +1 -1
  92. package/lib/typescript/theta-repository/options/option-preset.d.ts +18 -0
  93. package/lib/typescript/theta-repository/options/option-preset.d.ts.map +1 -0
  94. package/lib/typescript/theta-repository/options/option-preview-format.d.ts.map +1 -1
  95. package/lib/typescript/theta-repository/options/option-shooting-method.d.ts.map +1 -1
  96. package/lib/typescript/theta-repository/options/option-time-shift.d.ts +1 -1
  97. package/lib/typescript/theta-repository/options/option-time-shift.d.ts.map +1 -1
  98. package/lib/typescript/theta-repository/options/options.d.ts +114 -35
  99. package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
  100. package/lib/typescript/theta-repository/theta-files.d.ts +52 -2
  101. package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -1
  102. package/lib/typescript/theta-repository/theta-info.d.ts +21 -0
  103. package/lib/typescript/theta-repository/theta-info.d.ts.map +1 -1
  104. package/lib/typescript/theta-repository/theta-repository.d.ts +8 -1
  105. package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
  106. package/lib/typescript/theta-repository/theta-state.d.ts +5 -5
  107. package/lib/typescript/theta-repository/theta-state.d.ts.map +1 -1
  108. package/package.json +1 -1
  109. package/src/capture/capture.ts +1 -1
  110. package/src/capture/time-shift-capture.ts +46 -0
  111. package/src/theta-repository/options/index.ts +9 -2
  112. package/src/theta-repository/options/option-ai-auto-thumbnail.ts +11 -0
  113. package/src/theta-repository/options/option-bitrate.ts +59 -0
  114. package/src/theta-repository/options/option-burst-mode.ts +16 -0
  115. package/src/theta-repository/options/option-burst-option.ts +175 -0
  116. package/src/theta-repository/options/option-capture-mode.ts +24 -0
  117. package/src/theta-repository/options/option-continuous-number.ts +65 -0
  118. package/src/theta-repository/options/option-filter.ts +25 -0
  119. package/src/theta-repository/options/option-power-saving.ts +1 -1
  120. package/src/theta-repository/options/option-preset.ts +19 -0
  121. package/src/theta-repository/options/option-preview-format.ts +22 -23
  122. package/src/theta-repository/options/option-shooting-method.ts +24 -25
  123. package/src/theta-repository/options/option-time-shift.ts +47 -47
  124. package/src/theta-repository/options/options.ts +115 -41
  125. package/src/theta-repository/theta-files.ts +58 -3
  126. package/src/theta-repository/theta-info.ts +23 -0
  127. package/src/theta-repository/theta-repository.ts +19 -1
  128. package/src/theta-repository/theta-state.ts +5 -5
  129. package/theta-client-react-native.podspec +1 -1
@@ -1,13 +1,20 @@
1
1
  export * from './options';
2
+ export * from './option-ai-auto-thumbnail';
3
+ export * from './option-bitrate';
4
+ export * from './option-burst-mode';
5
+ export * from './option-burst-option';
2
6
  export * from './option-camera-control-source';
3
7
  export * from './option-camera-mode';
8
+ export * from './option-capture-mode';
9
+ export * from './option-continuous-number';
10
+ export * from './option-filter';
4
11
  export * from './option-network-type';
5
- export * from './option-proxy';
6
12
  export * from './option-power-saving';
13
+ export * from './option-preset';
7
14
  export * from './option-preview-format';
15
+ export * from './option-proxy';
8
16
  export * from './option-shooting-method';
9
17
  export * from './option-shutter-speed';
10
18
  export * from './option-time-shift';
11
19
  export * from './option-white-balance-auto-strength';
12
20
  export * from './option-wlan-frequency';
13
-
@@ -0,0 +1,11 @@
1
+ /** AI auto thumbnail setting. */
2
+ export const AiAutoThumbnailEnum = {
3
+ /** ON */
4
+ ON: 'ON',
5
+ /** OFF */
6
+ OFF: 'OFF',
7
+ } as const;
8
+
9
+ /** type definition of AiAutoThumbnailEnum */
10
+ export type AiAutoThumbnailEnum =
11
+ (typeof AiAutoThumbnailEnum)[keyof typeof AiAutoThumbnailEnum];
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Movie bit rate.
3
+ *
4
+ * ### Support value
5
+ * The supported value depends on the shooting mode [CaptureMode].
6
+ *
7
+ * | Shooting mode | Supported value |
8
+ * | ------------- | --------------- |
9
+ * | video | "Fine", "Normal", "Economy"(RICOH THETA X or later) <br/>"2000000"-"120000000" (RICOH THETA X v1.20 or later) |
10
+ * | image | "Auto", "1048576"-"20971520" (RICOH THETA X v1.20 or later) |
11
+ * | _liveStreaming | "Auto" |
12
+ *
13
+ * #### RICOH THETA X
14
+ * | Video mode | Fine<br/>[Mbps] | Normal<br/>[Mbps] | Economy<br/>[Mbps] | Remark |
15
+ * |------------| --------------- | ------------------| ------------------ | ------ |
16
+ * | 2K 30fps | 32 | 16 | 8 | |
17
+ * | 2K 60fps | 64 | 32 | 16 | |
18
+ * | 4K 10fps | 48 | 24 | 12 | |
19
+ * | 4K 15fps | 64 | 32 | 16 | |
20
+ * | 4K 30fps | 100 | 54 | 32 | |
21
+ * | 4K 60fps | 120 | 64 | 32 | |
22
+ * | 5.7K 2fps | 16 | 12 | 8 | firmware v2.00.0 or later |
23
+ * | | 64 | 32 | 16 | firmware v1.40.0 or later (I-frame only)|
24
+ * | | 16 | 8 | 4 | firmware v1.30.0 or earlier |
25
+ * | 5.7K 5fps | 40 | 30 | 20 | firmware v2.00.0 or later |
26
+ * | | 120 | 80 | 40 | firmware v1.40.0 or later (I-frame only)|
27
+ * | | 32 | 16 | 8 | firmware v1.30.0 or earlier |
28
+ * | 5.7K 10fps | 80 | 60 | 40 | firmware v2.00.0 or later |
29
+ * | | 64 | 40 | 20 | firmware v1.40.0 or later |
30
+ * | | 48 | 24 | 12 | firmware v1.30.0 or earlier |
31
+ * | 5.7K 15fps | 64 | 32 | 16 | |
32
+ * | 5.7K 30fps | 120 | 64 | 32 | |
33
+ * | 8K 2fps | 64 | 32 | 16 | firmware v1.40.0 or later (I-frame only)|
34
+ * | | 32 | 16 | 8 | firmware v1.30.0 or earlier (I-frame only)|
35
+ * | 8K 5fps | 120 | 96 | 40 | firmware v1.40.0 or later (I-frame only)|
36
+ * | | 64 | 32 | 16 | firmware v1.30.0 or earlier (I-frame only)|
37
+ * | 8K 10fps | 120 | 96 | 40 | firmware v1.40.0 or later (I-frame only)|
38
+ * | | 120 | 64 | 32 | firmware v1.30.0 or earlier (I-frame only)|
39
+ *
40
+ * For
41
+ * - RICOH THETA X
42
+ * - RICOH THETA Z1
43
+ * - RICOH THETA V firmware v2.50.1 or later
44
+ */
45
+ export const BitrateEnum = {
46
+ /** Auto. */
47
+ AUTO: 'AUTO',
48
+ /** Fine */
49
+ FINE: 'FINE',
50
+ /** Normal */
51
+ NORMAL: 'NORMAL',
52
+ /** Economy */
53
+ ECONOMY: 'ECONOMY',
54
+ } as const;
55
+
56
+ /** type definition of BitrateEnum */
57
+ export type BitrateEnum =
58
+ | (typeof BitrateEnum)[keyof typeof BitrateEnum]
59
+ | number;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * BurstMode setting.
3
+ * When this is set to ON, burst shooting is enabled,
4
+ * and a screen dedicated to burst shooting is displayed in Live View.
5
+ *
6
+ * only For RICOH THETA Z1 firmware v2.10.1 or later
7
+ */
8
+ export const BurstModeEnum = {
9
+ /** BurstMode ON */
10
+ ON: 'ON',
11
+ /** BurstMode OFF */
12
+ OFF: 'OFF',
13
+ } as const;
14
+
15
+ /** Type definition of BurstModeEnum */
16
+ export type BurstModeEnum = (typeof BurstModeEnum)[keyof typeof BurstModeEnum];
@@ -0,0 +1,175 @@
1
+ /**
2
+ * Burst shooting setting.
3
+ *
4
+ * only For RICOH THETA Z1 firmware v2.10.1 or later
5
+ */
6
+ export type BurstOption = {
7
+ /**
8
+ * @see BurstCaptureNumEnum
9
+ */
10
+ burstCaptureNum?: BurstCaptureNumEnum;
11
+
12
+ /**
13
+ * @see BurstBracketStepEnum
14
+ */
15
+ burstBracketStep?: BurstBracketStepEnum;
16
+
17
+ /**
18
+ * @see BurstCompensationEnum
19
+ */
20
+ burstCompensation?: BurstCompensationEnum;
21
+
22
+ /**
23
+ * @see BurstMaxExposureTimeEnum
24
+ */
25
+ burstMaxExposureTime?: BurstMaxExposureTimeEnum;
26
+
27
+ /**
28
+ * @see BurstEnableIsoControlEnum
29
+ */
30
+ burstEnableIsoControl?: BurstEnableIsoControlEnum;
31
+
32
+ /**
33
+ * @see BurstOrderEnum
34
+ */
35
+ burstOrder?: BurstOrderEnum;
36
+ };
37
+
38
+ /**
39
+ * Number of shots for burst shooting
40
+ * 1, 3, 5, 7, 9
41
+ */
42
+ export const BurstCaptureNumEnum = {
43
+ BURST_CAPTURE_NUM_1: 'BURST_CAPTURE_NUM_1',
44
+ BURST_CAPTURE_NUM_3: 'BURST_CAPTURE_NUM_3',
45
+ BURST_CAPTURE_NUM_5: 'BURST_CAPTURE_NUM_5',
46
+ BURST_CAPTURE_NUM_7: 'BURST_CAPTURE_NUM_7',
47
+ BURST_CAPTURE_NUM_9: 'BURST_CAPTURE_NUM_9',
48
+ } as const;
49
+
50
+ /** Type definition of BurstCaptureNumEnum */
51
+ export type BurstCaptureNumEnum =
52
+ (typeof BurstCaptureNumEnum)[keyof typeof BurstCaptureNumEnum];
53
+
54
+ /**
55
+ * Bracket value range between each shot for burst shooting
56
+ * 0.0, 0.3, 0.7, 1.0, 1.3, 1.7, 2.0, 2.3, 2.7, 3.0
57
+ */
58
+ export const BurstBracketStepEnum = {
59
+ BRACKET_STEP_0_0: 'BRACKET_STEP_0_0',
60
+ BRACKET_STEP_0_3: 'BRACKET_STEP_0_3',
61
+ BRACKET_STEP_0_7: 'BRACKET_STEP_0_7',
62
+ BRACKET_STEP_1_0: 'BRACKET_STEP_1_0',
63
+ BRACKET_STEP_1_3: 'BRACKET_STEP_1_3',
64
+ BRACKET_STEP_1_7: 'BRACKET_STEP_1_7',
65
+ BRACKET_STEP_2_0: 'BRACKET_STEP_2_0',
66
+ BRACKET_STEP_2_3: 'BRACKET_STEP_2_3',
67
+ BRACKET_STEP_2_7: 'BRACKET_STEP_2_7',
68
+ BRACKET_STEP_3_0: 'BRACKET_STEP_3_0',
69
+ } as const;
70
+
71
+ /** Type definition of BurstBracketStepEnum */
72
+ export type BurstBracketStepEnum =
73
+ (typeof BurstBracketStepEnum)[keyof typeof BurstBracketStepEnum];
74
+
75
+ /**
76
+ * Exposure compensation for the base image and entire shooting for burst shooting
77
+ * -5.0, -4.7, -4,3, -4.0, -3.7, -3,3, -3.0, -2.7, -2,3, -2.0, -1.7, -1,3, -1.0, -0.7, -0,3,
78
+ * 0.0, 0.3, 0.7, 1.0, 1.3, 1.7, 2.0, 2.3, 2.7, 3.0, 3.3, 3.7, 4.0, 4.3, 4.7, 5.0
79
+ */
80
+ export const BurstCompensationEnum = {
81
+ BURST_COMPENSATION_DOWN_5_0: 'BURST_COMPENSATION_DOWN_5_0',
82
+ BURST_COMPENSATION_DOWN_4_7: 'BURST_COMPENSATION_DOWN_4_7',
83
+ BURST_COMPENSATION_DOWN_4_3: 'BURST_COMPENSATION_DOWN_4_3',
84
+ BURST_COMPENSATION_DOWN_4_0: 'BURST_COMPENSATION_DOWN_4_0',
85
+ BURST_COMPENSATION_DOWN_3_7: 'BURST_COMPENSATION_DOWN_3_7',
86
+ BURST_COMPENSATION_DOWN_3_3: 'BURST_COMPENSATION_DOWN_3_3',
87
+ BURST_COMPENSATION_DOWN_3_0: 'BURST_COMPENSATION_DOWN_3_0',
88
+ BURST_COMPENSATION_DOWN_2_7: 'BURST_COMPENSATION_DOWN_2_7',
89
+ BURST_COMPENSATION_DOWN_2_3: 'BURST_COMPENSATION_DOWN_2_3',
90
+ BURST_COMPENSATION_DOWN_2_0: 'BURST_COMPENSATION_DOWN_2_0',
91
+ BURST_COMPENSATION_DOWN_1_7: 'BURST_COMPENSATION_DOWN_1_7',
92
+ BURST_COMPENSATION_DOWN_1_3: 'BURST_COMPENSATION_DOWN_1_3',
93
+ BURST_COMPENSATION_DOWN_1_0: 'BURST_COMPENSATION_DOWN_1_0',
94
+ BURST_COMPENSATION_DOWN_0_7: 'BURST_COMPENSATION_DOWN_0_7',
95
+ BURST_COMPENSATION_DOWN_0_3: 'BURST_COMPENSATION_DOWN_0_3',
96
+ BURST_COMPENSATION_0_0: 'BURST_COMPENSATION_0_0',
97
+ BURST_COMPENSATION_UP_0_3: 'BURST_COMPENSATION_UP_0_3',
98
+ BURST_COMPENSATION_UP_0_7: 'BURST_COMPENSATION_UP_0_7',
99
+ BURST_COMPENSATION_UP_1_0: 'BURST_COMPENSATION_UP_1_0',
100
+ BURST_COMPENSATION_UP_1_3: 'BURST_COMPENSATION_UP_1_3',
101
+ BURST_COMPENSATION_UP_1_7: 'BURST_COMPENSATION_UP_1_7',
102
+ BURST_COMPENSATION_UP_2_0: 'BURST_COMPENSATION_UP_2_0',
103
+ BURST_COMPENSATION_UP_2_3: 'BURST_COMPENSATION_UP_2_3',
104
+ BURST_COMPENSATION_UP_2_7: 'BURST_COMPENSATION_UP_2_7',
105
+ BURST_COMPENSATION_UP_3_0: 'BURST_COMPENSATION_UP_3_0',
106
+ BURST_COMPENSATION_UP_3_3: 'BURST_COMPENSATION_UP_3_3',
107
+ BURST_COMPENSATION_UP_3_7: 'BURST_COMPENSATION_UP_3_7',
108
+ BURST_COMPENSATION_UP_4_0: 'BURST_COMPENSATION_UP_4_0',
109
+ BURST_COMPENSATION_UP_4_3: 'BURST_COMPENSATION_UP_4_3',
110
+ BURST_COMPENSATION_UP_4_7: 'BURST_COMPENSATION_UP_4_7',
111
+ BURST_COMPENSATION_UP_5_0: 'BURST_COMPENSATION_UP_5_0',
112
+ } as const;
113
+
114
+ /** Type definition of BurstCompensationEnum */
115
+ export type BurstCompensationEnum =
116
+ (typeof BurstCompensationEnum)[keyof typeof BurstCompensationEnum];
117
+
118
+ /**
119
+ * Maximum exposure time for burst shooting
120
+ * 0.5, 0.625, 0.76923076, 1, 1.3, 1.6, 2, 2.5, 3.2, 4, 5, 6, 8, 10, 13, 15, 20, 25, 30, 40, 50, 60
121
+ */
122
+ export const BurstMaxExposureTimeEnum = {
123
+ MAX_EXPOSURE_TIME_0_5: 'MAX_EXPOSURE_TIME_0_5',
124
+ MAX_EXPOSURE_TIME_0_625: 'MAX_EXPOSURE_TIME_0_625',
125
+ MAX_EXPOSURE_TIME_0_76923076: 'MAX_EXPOSURE_TIME_0_76923076',
126
+ MAX_EXPOSURE_TIME_1: 'MAX_EXPOSURE_TIME_1',
127
+ MAX_EXPOSURE_TIME_1_3: 'MAX_EXPOSURE_TIME_1_3',
128
+ MAX_EXPOSURE_TIME_1_6: 'MAX_EXPOSURE_TIME_1_6',
129
+ MAX_EXPOSURE_TIME_2: 'MAX_EXPOSURE_TIME_2',
130
+ MAX_EXPOSURE_TIME_2_5: 'MAX_EXPOSURE_TIME_2_5',
131
+ MAX_EXPOSURE_TIME_3_2: 'MAX_EXPOSURE_TIME_3_2',
132
+ MAX_EXPOSURE_TIME_4: 'MAX_EXPOSURE_TIME_4',
133
+ MAX_EXPOSURE_TIME_5: 'MAX_EXPOSURE_TIME_5',
134
+ MAX_EXPOSURE_TIME_6: 'MAX_EXPOSURE_TIME_6',
135
+ MAX_EXPOSURE_TIME_8: 'MAX_EXPOSURE_TIME_8',
136
+ MAX_EXPOSURE_TIME_10: 'MAX_EXPOSURE_TIME_10',
137
+ MAX_EXPOSURE_TIME_13: 'MAX_EXPOSURE_TIME_13',
138
+ MAX_EXPOSURE_TIME_15: 'MAX_EXPOSURE_TIME_15',
139
+ MAX_EXPOSURE_TIME_20: 'MAX_EXPOSURE_TIME_20',
140
+ MAX_EXPOSURE_TIME_25: 'MAX_EXPOSURE_TIME_25',
141
+ MAX_EXPOSURE_TIME_30: 'MAX_EXPOSURE_TIME_30',
142
+ MAX_EXPOSURE_TIME_40: 'MAX_EXPOSURE_TIME_40',
143
+ MAX_EXPOSURE_TIME_50: 'MAX_EXPOSURE_TIME_50',
144
+ MAX_EXPOSURE_TIME_60: 'MAX_EXPOSURE_TIME_60',
145
+ } as const;
146
+
147
+ /** Type definition of BurstMaxExposureTimeEnum */
148
+ export type BurstMaxExposureTimeEnum =
149
+ (typeof BurstMaxExposureTimeEnum)[keyof typeof BurstMaxExposureTimeEnum];
150
+
151
+ /**
152
+ * Adjustment with ISO sensitivity for burst shooting
153
+ * 0: Do not adjust with ISO sensitivity, 1: Adjust with ISO sensitivity
154
+ */
155
+ export const BurstEnableIsoControlEnum = {
156
+ OFF: 'OFF',
157
+ ON: 'ON',
158
+ } as const;
159
+
160
+ /** Type definition of BurstCaptureNumEnum */
161
+ export type BurstEnableIsoControlEnum =
162
+ (typeof BurstEnableIsoControlEnum)[keyof typeof BurstEnableIsoControlEnum];
163
+
164
+ /**
165
+ * Shooting order for burst shooting
166
+ * 0: '0' → '-' → '+', 1: '-' → '0' → '+'
167
+ */
168
+ export const BurstOrderEnum = {
169
+ BURST_BRACKET_ORDER_0: 'BURST_BRACKET_ORDER_0',
170
+ BURST_BRACKET_ORDER_1: 'BURST_BRACKET_ORDER_1',
171
+ } as const;
172
+
173
+ /** Type definition of BurstOrderEnum */
174
+ export type BurstOrderEnum =
175
+ (typeof BurstOrderEnum)[keyof typeof BurstOrderEnum];
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Shooting mode.
3
+ *
4
+ * The current setting can be acquired by camera.getOptions, and it can be changed by camera.setOptions.
5
+ * Swithcing modes may take time. Wait a while to send the command that takes place after switching the mode.
6
+ *
7
+ * Live streaming mode is supported by only RICOH THETA S.
8
+ */
9
+ export const CaptureModeEnum = {
10
+ /** Still image capture mode */
11
+ IMAGE: 'IMAGE',
12
+ /** Video capture mode */
13
+ VIDEO: 'VIDEO',
14
+ /** Live preview mode. This mode can not be set. */
15
+ LIVE_STREAMING: 'LIVE_STREAMING',
16
+ /** Interval still image capture mode just for Theta SC2 and Theta SC2 for business */
17
+ INTERVAL: 'INTERVAL',
18
+ /** Preset mode just for Theta SC2 and Theta SC2 for business */
19
+ PRESET: 'PRESET',
20
+ } as const;
21
+
22
+ /** type definition of CaptureModeEnum */
23
+ export type CaptureModeEnum =
24
+ (typeof CaptureModeEnum)[keyof typeof CaptureModeEnum];
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Number of shots for continuous shooting.
3
+ * It can be acquired by camera.getOptions.
4
+ *
5
+ * For RICOH THETA X
6
+ * - 11k image: Maximum value 8
7
+ * - 5.5k image: Maximum value 20
8
+ *
9
+ * Depending on available storage capacity, the value may be less than maximum.
10
+ */
11
+ export const ContinuousNumberEnum = {
12
+ /** Disable continuous shooting. */
13
+ OFF: 'OFF',
14
+ /** Maximum value 1 */
15
+ MAX_1: 'MAX_1',
16
+ /** Maximum value 2 */
17
+ MAX_2: 'MAX_2',
18
+ /** Maximum value 3 */
19
+ MAX_3: 'MAX_3',
20
+ /** Maximum value 4 */
21
+ MAX_4: 'MAX_4',
22
+ /** Maximum value 5 */
23
+ MAX_5: 'MAX_5',
24
+ /** Maximum value 6 */
25
+ MAX_6: 'MAX_6',
26
+ /** Maximum value 7 */
27
+ MAX_7: 'MAX_7',
28
+ /** Maximum value 8 */
29
+ MAX_8: 'MAX_8',
30
+ /** Maximum value 9 */
31
+ MAX_9: 'MAX_9',
32
+ /** Maximum value 10 */
33
+ MAX_10: 'MAX_10',
34
+ /** Maximum value 10 */
35
+ MAX_11: 'MAX_11',
36
+ /** Maximum value 10 */
37
+ MAX_12: 'MAX_12',
38
+ /** Maximum value 10 */
39
+ MAX_13: 'MAX_13',
40
+ /** Maximum value 10 */
41
+ MAX_14: 'MAX_14',
42
+ /** Maximum value 10 */
43
+ MAX_15: 'MAX_15',
44
+ /** Maximum value 10 */
45
+ MAX_16: 'MAX_16',
46
+ /** Maximum value 10 */
47
+ MAX_17: 'MAX_17',
48
+ /** Maximum value 10 */
49
+ MAX_18: 'MAX_18',
50
+ /** Maximum value 10 */
51
+ MAX_19: 'MAX_19',
52
+ /** Maximum value 20 */
53
+ MAX_20: 'MAX_20',
54
+ /**
55
+ * Unsupported value
56
+ *
57
+ * If camera.getOptions returns the number other than 0 to 20, this value is set.
58
+ * Do not use this value to setOptions().
59
+ */
60
+ UNSUPPORTED: 'UNSUPPORTED',
61
+ } as const;
62
+
63
+ /** type definition of ContinuousNumberEnum */
64
+ export type ContinuousNumberEnum =
65
+ (typeof ContinuousNumberEnum)[keyof typeof ContinuousNumberEnum];
@@ -0,0 +1,25 @@
1
+ /** Image processing filter. */
2
+ export const FilterEnum = {
3
+ /** No filter. */
4
+ OFF: 'OFF',
5
+ /**
6
+ * DR compensation.
7
+ *
8
+ * RICOH THETA X is not supported.
9
+ */
10
+ DR_COMP: 'DR_COMP',
11
+ /** Noise reduction. */
12
+ NOISE_REDUCTION: 'NOISE_REDUCTION',
13
+ /** HDR. */
14
+ HDR: 'HDR',
15
+ /**
16
+ * Handheld HDR.
17
+ *
18
+ * RICOH THETA Z1 firmware v1.20.1 or later and RICOH THETA V firmware v3.10.1 or later.
19
+ * RICOH THETA X is not supported.
20
+ */
21
+ HH_HDR: 'HH_HDR',
22
+ } as const;
23
+
24
+ /** type definition of FilterEnum */
25
+ export type FilterEnum = (typeof FilterEnum)[keyof typeof FilterEnum];
@@ -15,4 +15,4 @@ export const PowerSavingEnum = {
15
15
 
16
16
  /** Type definition of PowerSavingEnum */
17
17
  export type PowerSavingEnum =
18
- (typeof PowerSavingEnum)[keyof typeof PowerSavingEnum];
18
+ (typeof PowerSavingEnum)[keyof typeof PowerSavingEnum];
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Preset mode
3
+ *
4
+ * For Theta SC2 and SC2 for business
5
+ **/
6
+
7
+ export const PresetEnum = {
8
+ /** Preset "Face" mode suitable for portrait shooting just for Theta SC2. */
9
+ FACE: 'FACE',
10
+ /** Preset "Night View" mode just for Theta SC2. */
11
+ NIGHT_VIEW: 'NIGHT_VIEW',
12
+ /** Preset "Lens-by-Lens Exposure" mode just for Theta SC2. */
13
+ LENS_BY_LENS_EXPOSURE: 'LENS_BY_LENS_EXPOSURE',
14
+ /** Preset "Room" mode just for SC2 for business. */
15
+ ROOM: 'ROOM',
16
+ } as const;
17
+
18
+ /** Type definition of PresetEnum */
19
+ export type PresetEnum = (typeof PresetEnum)[keyof typeof PresetEnum];
@@ -2,26 +2,25 @@
2
2
  * Format of live view
3
3
  */
4
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
-
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];
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Shooting method for My Settings mode.
3
3
  * In RICOH THETA X, it is used outside of MySetting.
4
- *
4
+ *
5
5
  * Can be acquired and set only when in the Still image shooting mode
6
6
  * and _function is the My Settings shooting function.
7
7
  * Changing _function initializes the setting details to Normal shooting.
@@ -10,27 +10,26 @@
10
10
  **/
11
11
 
12
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
-
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];
@@ -5,55 +5,55 @@
5
5
  **/
6
6
 
7
7
  export type TimeShift = {
8
- /**
9
- * Shooting order.
10
- * if true, first shoot the front side (side with Theta logo) then shoot the rear side (side with monitor).
11
- * if false, first shoot the rear side then shoot the front side.
12
- * Default is front first.
13
- */
14
- isFrontFirst?: boolean;
15
-
16
- /**
17
- * Time (sec) before 1st lens shooting.
18
- * For V or Z1, default is 5. For X, default is 2.
19
- */
20
- firstInterval?: TimeShiftIntervalEnum;
8
+ /**
9
+ * Shooting order.
10
+ * if true, first shoot the front side (side with Theta logo) then shoot the rear side (side with monitor).
11
+ * if false, first shoot the rear side then shoot the front side.
12
+ * Default is front first.
13
+ */
14
+ isFrontFirst?: boolean;
21
15
 
22
- /**
23
- * Time (sec) from 1st lens shooting until start of 2nd lens shooting.
24
- * Default is 5.
25
- */
26
- secondInterval?: TimeShiftIntervalEnum;
27
- };
16
+ /**
17
+ * Time (sec) before 1st lens shooting.
18
+ * For V or Z1, default is 5. For X, default is 2.
19
+ */
20
+ firstInterval?: TimeShiftIntervalEnum;
28
21
 
29
22
  /**
30
- * Time shift interval in seconds
23
+ * Time (sec) from 1st lens shooting until start of 2nd lens shooting.
24
+ * Default is 5.
31
25
  */
32
- export const TimeShiftIntervalEnum = {
33
- /** 0 second */
34
- INTERVAL_0: 'INTERVAL_0',
35
- /** 1 second */
36
- INTERVAL_1: 'INTERVAL_1',
37
- /** 2 seconds */
38
- INTERVAL_2: 'INTERVAL_2',
39
- /** 3 seconds */
40
- INTERVAL_3: 'INTERVAL_3',
41
- /** 4 seconds */
42
- INTERVAL_4: 'INTERVAL_4',
43
- /** 5 seconds */
44
- INTERVAL_5: 'INTERVAL_5',
45
- /** 6 seconds */
46
- INTERVAL_6: 'INTERVAL_6',
47
- /** 7 seconds */
48
- INTERVAL_7: 'INTERVAL_7',
49
- /** 8 seconds */
50
- INTERVAL_8: 'INTERVAL_8',
51
- /** 9 seconds */
52
- INTERVAL_9: 'INTERVAL_9',
53
- /** 10 seconds */
54
- INTERVAL_10: 'INTERVAL_10',
55
- } as const;
26
+ secondInterval?: TimeShiftIntervalEnum;
27
+ };
28
+
29
+ /**
30
+ * Time shift interval in seconds
31
+ */
32
+ export const TimeShiftIntervalEnum = {
33
+ /** 0 second */
34
+ INTERVAL_0: 'INTERVAL_0',
35
+ /** 1 second */
36
+ INTERVAL_1: 'INTERVAL_1',
37
+ /** 2 seconds */
38
+ INTERVAL_2: 'INTERVAL_2',
39
+ /** 3 seconds */
40
+ INTERVAL_3: 'INTERVAL_3',
41
+ /** 4 seconds */
42
+ INTERVAL_4: 'INTERVAL_4',
43
+ /** 5 seconds */
44
+ INTERVAL_5: 'INTERVAL_5',
45
+ /** 6 seconds */
46
+ INTERVAL_6: 'INTERVAL_6',
47
+ /** 7 seconds */
48
+ INTERVAL_7: 'INTERVAL_7',
49
+ /** 8 seconds */
50
+ INTERVAL_8: 'INTERVAL_8',
51
+ /** 9 seconds */
52
+ INTERVAL_9: 'INTERVAL_9',
53
+ /** 10 seconds */
54
+ INTERVAL_10: 'INTERVAL_10',
55
+ } as const;
56
56
 
57
- /** Type definition of TimeShiftIntervalEnum */
58
- export type TimeShiftIntervalEnum =
59
- (typeof TimeShiftIntervalEnum)[keyof typeof TimeShiftIntervalEnum];
57
+ /** Type definition of TimeShiftIntervalEnum */
58
+ export type TimeShiftIntervalEnum =
59
+ (typeof TimeShiftIntervalEnum)[keyof typeof TimeShiftIntervalEnum];