theta-client-react-native 1.12.1 → 1.13.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 (259) hide show
  1. package/android/build.gradle +2 -1
  2. package/android/src/main/AndroidManifest.xml +1 -3
  3. package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +533 -33
  4. package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +201 -50
  5. package/ios/ConvertUtil.swift +570 -102
  6. package/ios/ThetaClientReactNative.m +25 -15
  7. package/ios/ThetaClientReactNative.swift +296 -120
  8. package/lib/commonjs/capture/capture.js +12 -1
  9. package/lib/commonjs/capture/capture.js.map +1 -1
  10. package/lib/commonjs/capture/continuous-capture.js +2 -1
  11. package/lib/commonjs/capture/continuous-capture.js.map +1 -1
  12. package/lib/commonjs/capture/index.js +11 -0
  13. package/lib/commonjs/capture/index.js.map +1 -1
  14. package/lib/commonjs/capture/time-shift-manual-capture.js +168 -0
  15. package/lib/commonjs/capture/time-shift-manual-capture.js.map +1 -0
  16. package/lib/commonjs/theta-repository/access-point.js +5 -1
  17. package/lib/commonjs/theta-repository/access-point.js.map +1 -1
  18. package/lib/commonjs/theta-repository/libs/convert-utils.js +22 -0
  19. package/lib/commonjs/theta-repository/libs/convert-utils.js.map +1 -0
  20. package/lib/commonjs/theta-repository/libs/index.js +11 -0
  21. package/lib/commonjs/theta-repository/libs/index.js.map +1 -1
  22. package/lib/commonjs/theta-repository/notify-controller.js +16 -7
  23. package/lib/commonjs/theta-repository/notify-controller.js.map +1 -1
  24. package/lib/commonjs/theta-repository/options/index.js +166 -12
  25. package/lib/commonjs/theta-repository/options/index.js.map +1 -1
  26. package/lib/commonjs/theta-repository/options/option-access-info.js +30 -0
  27. package/lib/commonjs/theta-repository/options/option-access-info.js.map +1 -0
  28. package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js +2 -0
  29. package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -1
  30. package/lib/commonjs/theta-repository/options/option-aperture.js +24 -0
  31. package/lib/commonjs/theta-repository/options/option-aperture.js.map +1 -0
  32. package/lib/commonjs/theta-repository/options/option-camera-control-source.js +2 -0
  33. package/lib/commonjs/theta-repository/options/option-camera-control-source.js.map +1 -1
  34. package/lib/commonjs/theta-repository/options/option-camera-lock-config.js +2 -0
  35. package/lib/commonjs/theta-repository/options/option-camera-lock-config.js.map +1 -0
  36. package/lib/commonjs/theta-repository/options/option-camera-lock.js +27 -0
  37. package/lib/commonjs/theta-repository/options/option-camera-lock.js.map +1 -0
  38. package/lib/commonjs/theta-repository/options/option-camera-power.js +3 -0
  39. package/lib/commonjs/theta-repository/options/option-camera-power.js.map +1 -1
  40. package/lib/commonjs/theta-repository/options/option-compass-direction-ref.js +30 -0
  41. package/lib/commonjs/theta-repository/options/option-compass-direction-ref.js.map +1 -0
  42. package/lib/commonjs/theta-repository/options/option-exposure-compensation.js +64 -0
  43. package/lib/commonjs/theta-repository/options/option-exposure-compensation.js.map +1 -0
  44. package/lib/commonjs/theta-repository/options/option-file-format.js +29 -1
  45. package/lib/commonjs/theta-repository/options/option-file-format.js.map +1 -1
  46. package/lib/commonjs/theta-repository/options/option-gps-tag-recording.js +18 -0
  47. package/lib/commonjs/theta-repository/options/option-gps-tag-recording.js.map +1 -0
  48. package/lib/commonjs/theta-repository/options/option-microphone-noise-reduction.js +23 -0
  49. package/lib/commonjs/theta-repository/options/option-microphone-noise-reduction.js.map +1 -0
  50. package/lib/commonjs/theta-repository/options/option-mobile-network-setting.js +32 -0
  51. package/lib/commonjs/theta-repository/options/option-mobile-network-setting.js.map +1 -0
  52. package/lib/commonjs/theta-repository/options/option-network-type.js +18 -2
  53. package/lib/commonjs/theta-repository/options/option-network-type.js.map +1 -1
  54. package/lib/commonjs/theta-repository/options/option-off-delay-usb.js +61 -0
  55. package/lib/commonjs/theta-repository/options/option-off-delay-usb.js.map +1 -0
  56. package/lib/commonjs/theta-repository/options/option-preview-format.js +12 -6
  57. package/lib/commonjs/theta-repository/options/option-preview-format.js.map +1 -1
  58. package/lib/commonjs/theta-repository/options/option-top-bottom-correction-rotation-support.js +6 -0
  59. package/lib/commonjs/theta-repository/options/option-top-bottom-correction-rotation-support.js.map +1 -0
  60. package/lib/commonjs/theta-repository/options/option-usb-connection.js +23 -0
  61. package/lib/commonjs/theta-repository/options/option-usb-connection.js.map +1 -0
  62. package/lib/commonjs/theta-repository/options/option-wlan-antenna-config.js +20 -0
  63. package/lib/commonjs/theta-repository/options/option-wlan-antenna-config.js.map +1 -0
  64. package/lib/commonjs/theta-repository/options/option-wlan-frequency-cl-mode.js +2 -0
  65. package/lib/commonjs/theta-repository/options/option-wlan-frequency-cl-mode.js.map +1 -0
  66. package/lib/commonjs/theta-repository/options/option-wlan-frequency.js +8 -2
  67. package/lib/commonjs/theta-repository/options/option-wlan-frequency.js.map +1 -1
  68. package/lib/commonjs/theta-repository/options/options.js +44 -62
  69. package/lib/commonjs/theta-repository/options/options.js.map +1 -1
  70. package/lib/commonjs/theta-repository/theta-files.js +5 -1
  71. package/lib/commonjs/theta-repository/theta-files.js.map +1 -1
  72. package/lib/commonjs/theta-repository/theta-info.js +3 -1
  73. package/lib/commonjs/theta-repository/theta-info.js.map +1 -1
  74. package/lib/commonjs/theta-repository/theta-repository.js +116 -17
  75. package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
  76. package/lib/commonjs/theta-repository/theta-state/capture-status.js +6 -1
  77. package/lib/commonjs/theta-repository/theta-state/capture-status.js.map +1 -1
  78. package/lib/module/capture/capture.js +12 -1
  79. package/lib/module/capture/capture.js.map +1 -1
  80. package/lib/module/capture/continuous-capture.js +2 -1
  81. package/lib/module/capture/continuous-capture.js.map +1 -1
  82. package/lib/module/capture/index.js +1 -0
  83. package/lib/module/capture/index.js.map +1 -1
  84. package/lib/module/capture/time-shift-manual-capture.js +160 -0
  85. package/lib/module/capture/time-shift-manual-capture.js.map +1 -0
  86. package/lib/module/theta-repository/access-point.js +5 -1
  87. package/lib/module/theta-repository/access-point.js.map +1 -1
  88. package/lib/module/theta-repository/libs/convert-utils.js +16 -0
  89. package/lib/module/theta-repository/libs/convert-utils.js.map +1 -0
  90. package/lib/module/theta-repository/libs/index.js +1 -0
  91. package/lib/module/theta-repository/libs/index.js.map +1 -1
  92. package/lib/module/theta-repository/notify-controller.js +16 -7
  93. package/lib/module/theta-repository/notify-controller.js.map +1 -1
  94. package/lib/module/theta-repository/options/index.js +16 -2
  95. package/lib/module/theta-repository/options/index.js.map +1 -1
  96. package/lib/module/theta-repository/options/option-access-info.js +24 -0
  97. package/lib/module/theta-repository/options/option-access-info.js.map +1 -0
  98. package/lib/module/theta-repository/options/option-ai-auto-thumbnail.js +2 -0
  99. package/lib/module/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -1
  100. package/lib/module/theta-repository/options/option-aperture.js +18 -0
  101. package/lib/module/theta-repository/options/option-aperture.js.map +1 -0
  102. package/lib/module/theta-repository/options/option-camera-control-source.js +2 -0
  103. package/lib/module/theta-repository/options/option-camera-control-source.js.map +1 -1
  104. package/lib/module/theta-repository/options/option-camera-lock-config.js +2 -0
  105. package/lib/module/theta-repository/options/option-camera-lock-config.js.map +1 -0
  106. package/lib/module/theta-repository/options/option-camera-lock.js +21 -0
  107. package/lib/module/theta-repository/options/option-camera-lock.js.map +1 -0
  108. package/lib/module/theta-repository/options/option-camera-power.js +3 -0
  109. package/lib/module/theta-repository/options/option-camera-power.js.map +1 -1
  110. package/lib/module/theta-repository/options/option-compass-direction-ref.js +24 -0
  111. package/lib/module/theta-repository/options/option-compass-direction-ref.js.map +1 -0
  112. package/lib/module/theta-repository/options/option-exposure-compensation.js +58 -0
  113. package/lib/module/theta-repository/options/option-exposure-compensation.js.map +1 -0
  114. package/lib/module/theta-repository/options/option-file-format.js +29 -1
  115. package/lib/module/theta-repository/options/option-file-format.js.map +1 -1
  116. package/lib/module/theta-repository/options/option-gps-tag-recording.js +12 -0
  117. package/lib/module/theta-repository/options/option-gps-tag-recording.js.map +1 -0
  118. package/lib/module/theta-repository/options/option-microphone-noise-reduction.js +17 -0
  119. package/lib/module/theta-repository/options/option-microphone-noise-reduction.js.map +1 -0
  120. package/lib/module/theta-repository/options/option-mobile-network-setting.js +26 -0
  121. package/lib/module/theta-repository/options/option-mobile-network-setting.js.map +1 -0
  122. package/lib/module/theta-repository/options/option-network-type.js +18 -2
  123. package/lib/module/theta-repository/options/option-network-type.js.map +1 -1
  124. package/lib/module/theta-repository/options/option-off-delay-usb.js +54 -0
  125. package/lib/module/theta-repository/options/option-off-delay-usb.js.map +1 -0
  126. package/lib/module/theta-repository/options/option-preview-format.js +12 -6
  127. package/lib/module/theta-repository/options/option-preview-format.js.map +1 -1
  128. package/lib/module/theta-repository/options/option-top-bottom-correction-rotation-support.js +2 -0
  129. package/lib/module/theta-repository/options/option-top-bottom-correction-rotation-support.js.map +1 -0
  130. package/lib/module/theta-repository/options/option-usb-connection.js +17 -0
  131. package/lib/module/theta-repository/options/option-usb-connection.js.map +1 -0
  132. package/lib/module/theta-repository/options/option-wlan-antenna-config.js +14 -0
  133. package/lib/module/theta-repository/options/option-wlan-antenna-config.js.map +1 -0
  134. package/lib/module/theta-repository/options/option-wlan-frequency-cl-mode.js +2 -0
  135. package/lib/module/theta-repository/options/option-wlan-frequency-cl-mode.js.map +1 -0
  136. package/lib/module/theta-repository/options/option-wlan-frequency.js +8 -2
  137. package/lib/module/theta-repository/options/option-wlan-frequency.js.map +1 -1
  138. package/lib/module/theta-repository/options/options.js +43 -61
  139. package/lib/module/theta-repository/options/options.js.map +1 -1
  140. package/lib/module/theta-repository/theta-files.js +5 -1
  141. package/lib/module/theta-repository/theta-files.js.map +1 -1
  142. package/lib/module/theta-repository/theta-info.js +3 -1
  143. package/lib/module/theta-repository/theta-info.js.map +1 -1
  144. package/lib/module/theta-repository/theta-repository.js +115 -19
  145. package/lib/module/theta-repository/theta-repository.js.map +1 -1
  146. package/lib/module/theta-repository/theta-state/capture-status.js +6 -1
  147. package/lib/module/theta-repository/theta-state/capture-status.js.map +1 -1
  148. package/lib/typescript/capture/capture.d.ts +11 -0
  149. package/lib/typescript/capture/capture.d.ts.map +1 -1
  150. package/lib/typescript/capture/continuous-capture.d.ts.map +1 -1
  151. package/lib/typescript/capture/index.d.ts +1 -0
  152. package/lib/typescript/capture/index.d.ts.map +1 -1
  153. package/lib/typescript/capture/time-shift-manual-capture.d.ts +70 -0
  154. package/lib/typescript/capture/time-shift-manual-capture.d.ts.map +1 -0
  155. package/lib/typescript/theta-repository/access-point.d.ts +11 -3
  156. package/lib/typescript/theta-repository/access-point.d.ts.map +1 -1
  157. package/lib/typescript/theta-repository/libs/convert-utils.d.ts +3 -0
  158. package/lib/typescript/theta-repository/libs/convert-utils.d.ts.map +1 -0
  159. package/lib/typescript/theta-repository/libs/index.d.ts +1 -0
  160. package/lib/typescript/theta-repository/libs/index.d.ts.map +1 -1
  161. package/lib/typescript/theta-repository/notify-controller.d.ts +3 -1
  162. package/lib/typescript/theta-repository/notify-controller.d.ts.map +1 -1
  163. package/lib/typescript/theta-repository/options/index.d.ts +16 -2
  164. package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
  165. package/lib/typescript/theta-repository/options/option-access-info.d.ts +91 -0
  166. package/lib/typescript/theta-repository/options/option-access-info.d.ts.map +1 -0
  167. package/lib/typescript/theta-repository/options/option-ai-auto-thumbnail.d.ts +2 -0
  168. package/lib/typescript/theta-repository/options/option-ai-auto-thumbnail.d.ts.map +1 -1
  169. package/lib/typescript/theta-repository/options/option-aperture.d.ts +18 -0
  170. package/lib/typescript/theta-repository/options/option-aperture.d.ts.map +1 -0
  171. package/lib/typescript/theta-repository/options/option-auto-bracket.d.ts +3 -1
  172. package/lib/typescript/theta-repository/options/option-auto-bracket.d.ts.map +1 -1
  173. package/lib/typescript/theta-repository/options/option-camera-control-source.d.ts +2 -0
  174. package/lib/typescript/theta-repository/options/option-camera-control-source.d.ts.map +1 -1
  175. package/lib/typescript/theta-repository/options/option-camera-lock-config.d.ts +26 -0
  176. package/lib/typescript/theta-repository/options/option-camera-lock-config.d.ts.map +1 -0
  177. package/lib/typescript/theta-repository/options/option-camera-lock.d.ts +21 -0
  178. package/lib/typescript/theta-repository/options/option-camera-lock.d.ts.map +1 -0
  179. package/lib/typescript/theta-repository/options/option-camera-power.d.ts +3 -0
  180. package/lib/typescript/theta-repository/options/option-camera-power.d.ts.map +1 -1
  181. package/lib/typescript/theta-repository/options/option-compass-direction-ref.d.ts +24 -0
  182. package/lib/typescript/theta-repository/options/option-compass-direction-ref.d.ts.map +1 -0
  183. package/lib/typescript/theta-repository/options/option-ethernet-config.d.ts +8 -4
  184. package/lib/typescript/theta-repository/options/option-ethernet-config.d.ts.map +1 -1
  185. package/lib/typescript/theta-repository/options/option-exposure-compensation.d.ts +58 -0
  186. package/lib/typescript/theta-repository/options/option-exposure-compensation.d.ts.map +1 -0
  187. package/lib/typescript/theta-repository/options/option-file-format.d.ts +42 -0
  188. package/lib/typescript/theta-repository/options/option-file-format.d.ts.map +1 -1
  189. package/lib/typescript/theta-repository/options/option-gps-tag-recording.d.ts +12 -0
  190. package/lib/typescript/theta-repository/options/option-gps-tag-recording.d.ts.map +1 -0
  191. package/lib/typescript/theta-repository/options/option-microphone-noise-reduction.d.ts +17 -0
  192. package/lib/typescript/theta-repository/options/option-microphone-noise-reduction.d.ts.map +1 -0
  193. package/lib/typescript/theta-repository/options/option-mobile-network-setting.d.ts +34 -0
  194. package/lib/typescript/theta-repository/options/option-mobile-network-setting.d.ts.map +1 -0
  195. package/lib/typescript/theta-repository/options/option-network-type.d.ts +17 -1
  196. package/lib/typescript/theta-repository/options/option-network-type.d.ts.map +1 -1
  197. package/lib/typescript/theta-repository/options/option-off-delay-usb.d.ts +36 -0
  198. package/lib/typescript/theta-repository/options/option-off-delay-usb.d.ts.map +1 -0
  199. package/lib/typescript/theta-repository/options/option-preview-format.d.ts +12 -6
  200. package/lib/typescript/theta-repository/options/option-preview-format.d.ts.map +1 -1
  201. package/lib/typescript/theta-repository/options/option-top-bottom-correction-rotation-support.d.ts +19 -0
  202. package/lib/typescript/theta-repository/options/option-top-bottom-correction-rotation-support.d.ts.map +1 -0
  203. package/lib/typescript/theta-repository/options/option-usb-connection.d.ts +17 -0
  204. package/lib/typescript/theta-repository/options/option-usb-connection.d.ts.map +1 -0
  205. package/lib/typescript/theta-repository/options/option-wlan-antenna-config.d.ts +14 -0
  206. package/lib/typescript/theta-repository/options/option-wlan-antenna-config.d.ts.map +1 -0
  207. package/lib/typescript/theta-repository/options/option-wlan-frequency-cl-mode.d.ts +20 -0
  208. package/lib/typescript/theta-repository/options/option-wlan-frequency-cl-mode.d.ts.map +1 -0
  209. package/lib/typescript/theta-repository/options/option-wlan-frequency.d.ts +7 -1
  210. package/lib/typescript/theta-repository/options/option-wlan-frequency.d.ts.map +1 -1
  211. package/lib/typescript/theta-repository/options/options.d.ts +131 -63
  212. package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
  213. package/lib/typescript/theta-repository/theta-files.d.ts +4 -0
  214. package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -1
  215. package/lib/typescript/theta-repository/theta-info.d.ts +9 -1
  216. package/lib/typescript/theta-repository/theta-info.d.ts.map +1 -1
  217. package/lib/typescript/theta-repository/theta-repository.d.ts +54 -13
  218. package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
  219. package/lib/typescript/theta-repository/theta-state/capture-status.d.ts +5 -0
  220. package/lib/typescript/theta-repository/theta-state/capture-status.d.ts.map +1 -1
  221. package/package.json +1 -1
  222. package/src/capture/capture.ts +11 -0
  223. package/src/capture/continuous-capture.ts +2 -4
  224. package/src/capture/index.ts +1 -0
  225. package/src/capture/time-shift-manual-capture.ts +203 -0
  226. package/src/theta-repository/access-point.ts +11 -3
  227. package/src/theta-repository/libs/convert-utils.ts +27 -0
  228. package/src/theta-repository/libs/index.ts +1 -0
  229. package/src/theta-repository/notify-controller.ts +18 -8
  230. package/src/theta-repository/options/index.ts +16 -2
  231. package/src/theta-repository/options/option-access-info.ts +108 -0
  232. package/src/theta-repository/options/option-ai-auto-thumbnail.ts +2 -0
  233. package/src/theta-repository/options/option-aperture.ts +18 -0
  234. package/src/theta-repository/options/option-auto-bracket.ts +3 -7
  235. package/src/theta-repository/options/option-camera-control-source.ts +3 -0
  236. package/src/theta-repository/options/option-camera-lock-config.ts +25 -0
  237. package/src/theta-repository/options/option-camera-lock.ts +22 -0
  238. package/src/theta-repository/options/option-camera-power.ts +3 -0
  239. package/src/theta-repository/options/option-compass-direction-ref.ts +25 -0
  240. package/src/theta-repository/options/option-ethernet-config.ts +8 -4
  241. package/src/theta-repository/options/option-exposure-compensation.ts +59 -0
  242. package/src/theta-repository/options/option-file-format.ts +29 -0
  243. package/src/theta-repository/options/option-gps-tag-recording.ts +13 -0
  244. package/src/theta-repository/options/option-microphone-noise-reduction.ts +18 -0
  245. package/src/theta-repository/options/option-mobile-network-setting.ts +38 -0
  246. package/src/theta-repository/options/option-network-type.ts +17 -1
  247. package/src/theta-repository/options/option-off-delay-usb.ts +57 -0
  248. package/src/theta-repository/options/option-preview-format.ts +12 -6
  249. package/src/theta-repository/options/option-top-bottom-correction-rotation-support.ts +19 -0
  250. package/src/theta-repository/options/option-usb-connection.ts +18 -0
  251. package/src/theta-repository/options/option-wlan-antenna-config.ts +15 -0
  252. package/src/theta-repository/options/option-wlan-frequency-cl-mode.ts +19 -0
  253. package/src/theta-repository/options/option-wlan-frequency.ts +7 -1
  254. package/src/theta-repository/options/options.ts +133 -71
  255. package/src/theta-repository/theta-files.ts +4 -0
  256. package/src/theta-repository/theta-info.ts +9 -1
  257. package/src/theta-repository/theta-repository.ts +117 -30
  258. package/src/theta-repository/theta-state/capture-status.ts +5 -0
  259. package/theta-client-react-native.podspec +1 -1
@@ -20,6 +20,11 @@ export declare const CaptureStatusEnum: {
20
20
  readonly RETROSPECTIVE_IMAGE_RECORDING: "RETROSPECTIVE_IMAGE_RECORDING";
21
21
  /** Performing burst shooting */
22
22
  readonly BURST_SHOOTING: "BURST_SHOOTING";
23
+ /**
24
+ * In the case of time-lag shooting by manual lens,
25
+ * set while waiting for the second shot to be taken after the first shot is completed.
26
+ */
27
+ readonly TIME_SHIFT_SHOOTING_IDLE: "TIME_SHIFT_SHOOTING_IDLE";
23
28
  };
24
29
  /** type definition of CaptureStatusEnum */
25
30
  export type CaptureStatusEnum = (typeof CaptureStatusEnum)[keyof typeof CaptureStatusEnum];
@@ -1 +1 @@
1
- {"version":3,"file":"capture-status.d.ts","sourceRoot":"","sources":["../../../../src/theta-repository/theta-state/capture-status.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,eAAO,MAAM,iBAAiB;IAC5B,sBAAsB;;IAEtB,oCAAoC;;IAEpC,iBAAiB;;IAEjB,8BAA8B;;IAE9B,wCAAwC;;IAExC,8BAA8B;;IAE9B,oCAAoC;;IAEpC,qCAAqC;;IAErC,yCAAyC;;IAEzC,gCAAgC;;CAExB,CAAC;AAEX,2CAA2C;AAC3C,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"capture-status.d.ts","sourceRoot":"","sources":["../../../../src/theta-repository/theta-state/capture-status.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,eAAO,MAAM,iBAAiB;IAC5B,sBAAsB;;IAEtB,oCAAoC;;IAEpC,iBAAiB;;IAEjB,8BAA8B;;IAE9B,wCAAwC;;IAExC,8BAA8B;;IAE9B,oCAAoC;;IAEpC,qCAAqC;;IAErC,yCAAyC;;IAEzC,gCAAgC;;IAEhC;;;OAGG;;CAEK,CAAC;AAEX,2CAA2C;AAC3C,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theta-client-react-native",
3
- "version": "1.12.1",
3
+ "version": "1.13.0",
4
4
  "description": "This library provides a way to control RICOH THETA using.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -126,10 +126,21 @@ export abstract class CaptureBuilder<T extends CaptureBuilder<T>> {
126
126
 
127
127
  /** Capturing status */
128
128
  export const CapturingStatusEnum = {
129
+ /** The process is starting */
130
+ STARTING: 'STARTING',
129
131
  /** Capture in progress */
130
132
  CAPTURING: 'CAPTURING',
131
133
  /** Self-timer in progress */
132
134
  SELF_TIMER_COUNTDOWN: 'SELF_TIMER_COUNTDOWN',
135
+ /** Performing timeShift shooting */
136
+ TIME_SHIFT_SHOOTING: 'TIME_SHIFT_SHOOTING',
137
+ /** Performing second capture of manual timeShift shooting */
138
+ TIME_SHIFT_SHOOTING_SECOND: 'TIME_SHIFT_SHOOTING_SECOND',
139
+ /**
140
+ * In the case of time-lag shooting by manual lens,
141
+ * set while waiting for the second shot to be taken after the first shot is completed.
142
+ */
143
+ TIME_SHIFT_SHOOTING_IDLE: 'TIME_SHIFT_SHOOTING_IDLE',
133
144
  } as const;
134
145
 
135
146
  /** type definition of CapturingStatusEnum */
@@ -78,10 +78,8 @@ export class ContinuousCapture {
78
78
  * @returns ContinuousNumberEnum
79
79
  */
80
80
  async getContinuousNumber(): Promise<ContinuousNumberEnum> {
81
- return (
82
- (await getOptions([OptionNameEnum.ContinuousNumber])).continuousNumber ??
83
- ContinuousNumberEnum.UNSUPPORTED
84
- );
81
+ const options = await getOptions([OptionNameEnum.ContinuousNumber]);
82
+ return options?.continuousNumber ?? ContinuousNumberEnum.UNSUPPORTED;
85
83
  }
86
84
  }
87
85
 
@@ -2,6 +2,7 @@ export * from './capture';
2
2
  export * from './photo-capture';
3
3
  export * from './video-capture';
4
4
  export * from './time-shift-capture';
5
+ export * from './time-shift-manual-capture';
5
6
  export * from './limitless-interval-capture';
6
7
  export * from './shot-count-specified-interval-capture';
7
8
  export * from './composite-interval-capture';
@@ -0,0 +1,203 @@
1
+ import { CaptureBuilder, CapturingStatusEnum } from './capture';
2
+ import { NativeModules } from 'react-native';
3
+ import type { TimeShiftIntervalEnum } from '../theta-repository/options';
4
+ import {
5
+ BaseNotify,
6
+ NotifyController,
7
+ } from '../theta-repository/notify-controller';
8
+ const ThetaClientReactNative = NativeModules.ThetaClientReactNative;
9
+
10
+ const NOTIFY_NAME = 'TIME-SHIFT-MANUAL-PROGRESS';
11
+ const NOTIFY_STOP_ERROR = 'TIME-SHIFT-MANUAL-STOP-ERROR';
12
+ const NOTIFY_CAPTURING = 'TIME-SHIFT-MANUAL-CAPTURING';
13
+
14
+ interface CaptureProgressNotify extends BaseNotify {
15
+ params?: {
16
+ completion: number;
17
+ };
18
+ }
19
+
20
+ interface CaptureStopErrorNotify extends BaseNotify {
21
+ params?: {
22
+ message: string;
23
+ };
24
+ }
25
+
26
+ interface CapturingNotify extends BaseNotify {
27
+ params?: {
28
+ status: CapturingStatusEnum;
29
+ };
30
+ }
31
+
32
+ /**
33
+ * TimeShiftManualCapture class
34
+ */
35
+ export class TimeShiftManualCapture {
36
+ notify: NotifyController;
37
+ constructor(notify: NotifyController) {
38
+ this.notify = notify;
39
+ }
40
+ /**
41
+ * start manual time-shift
42
+ *
43
+ * Later, need to call startSecondCapture() or cancelCapture()
44
+ *
45
+ * @param onProgress the block for time-shift onProgress
46
+ * @param onStopFailed the block for error of cancelCapture
47
+ * @param onCapturing Called when change capture status
48
+ * @return promise of captured file url
49
+ */
50
+ async startCapture(
51
+ onProgress?: (completion?: number) => void,
52
+ onStopFailed?: (error: any) => void,
53
+ onCapturing?: (status: CapturingStatusEnum) => void
54
+ ): Promise<string | undefined> {
55
+ if (onProgress) {
56
+ this.notify.addNotify(NOTIFY_NAME, (event: CaptureProgressNotify) => {
57
+ onProgress(event.params?.completion);
58
+ });
59
+ }
60
+ if (onStopFailed) {
61
+ this.notify.addNotify(
62
+ NOTIFY_STOP_ERROR,
63
+ (event: CaptureStopErrorNotify) => {
64
+ onStopFailed(event.params);
65
+ }
66
+ );
67
+ }
68
+ if (onCapturing) {
69
+ this.notify.addNotify(NOTIFY_CAPTURING, (event: CapturingNotify) => {
70
+ if (event.params?.status) {
71
+ onCapturing(event.params.status);
72
+ }
73
+ });
74
+ }
75
+
76
+ return new Promise<string | undefined>(async (resolve, reject) => {
77
+ await ThetaClientReactNative.startTimeShiftManualCapture()
78
+ .then((result?: string) => {
79
+ resolve(result ?? undefined);
80
+ })
81
+ .catch((error: any) => {
82
+ reject(error);
83
+ })
84
+ .finally(() => {
85
+ this.notify.removeNotify(NOTIFY_NAME);
86
+ this.notify.removeNotify(NOTIFY_STOP_ERROR);
87
+ this.notify.removeNotify(NOTIFY_CAPTURING);
88
+ });
89
+ });
90
+ }
91
+
92
+ /**
93
+ * cancel manual time-shift
94
+ */
95
+ async startSecondCapture(): Promise<any> {
96
+ return await ThetaClientReactNative.startTimeShiftManualSecondCapture();
97
+ }
98
+
99
+ /**
100
+ * cancel manual time-shift
101
+ */
102
+ async cancelCapture(): Promise<any> {
103
+ return await ThetaClientReactNative.cancelTimeShiftManualCapture();
104
+ }
105
+ }
106
+
107
+ /**
108
+ * TimeShiftManualCaptureBuilder class
109
+ */
110
+ export class TimeShiftManualCaptureBuilder extends CaptureBuilder<TimeShiftManualCaptureBuilder> {
111
+ interval?: number;
112
+
113
+ /** construct TimeShiftManualCaptureBuilder instance */
114
+ constructor() {
115
+ super();
116
+
117
+ this.interval = undefined;
118
+ }
119
+
120
+ /**
121
+ * set interval of checking time-shift status command
122
+ * @param timeMillis interval
123
+ * @returns TimeShiftManualCaptureBuilder
124
+ */
125
+ setCheckStatusCommandInterval(
126
+ timeMillis: number
127
+ ): TimeShiftManualCaptureBuilder {
128
+ this.interval = timeMillis;
129
+ return this;
130
+ }
131
+
132
+ /**
133
+ * Set is front first.
134
+ * @param isFrontFirst is front first
135
+ * @returns TimeShiftManualCaptureBuilder
136
+ */
137
+ setIsFrontFirst(isFrontFirst: boolean): TimeShiftManualCaptureBuilder {
138
+ this.checkAndInitTimeShiftSetting();
139
+ if (this.options.timeShift != null) {
140
+ this.options.timeShift.isFrontFirst = isFrontFirst;
141
+ }
142
+ return this;
143
+ }
144
+
145
+ /**
146
+ * set time (sec) before 1st lens shooting
147
+ * @param interval 1st interval
148
+ * @returns TimeShiftManualCaptureBuilder
149
+ */
150
+ setFirstInterval(
151
+ interval: TimeShiftIntervalEnum
152
+ ): TimeShiftManualCaptureBuilder {
153
+ this.checkAndInitTimeShiftSetting();
154
+ if (this.options.timeShift != null) {
155
+ this.options.timeShift.firstInterval = interval;
156
+ }
157
+ return this;
158
+ }
159
+
160
+ /**
161
+ * set time (sec) from 1st lens shooting until start of 2nd lens shooting.
162
+ * @param interval 2nd interval
163
+ * @returns TimeShiftManualCaptureBuilder
164
+ */
165
+ setSecondInterval(
166
+ interval: TimeShiftIntervalEnum
167
+ ): TimeShiftManualCaptureBuilder {
168
+ this.checkAndInitTimeShiftSetting();
169
+ if (this.options.timeShift != null) {
170
+ this.options.timeShift.secondInterval = interval;
171
+ }
172
+ return this;
173
+ }
174
+
175
+ private checkAndInitTimeShiftSetting() {
176
+ if (this.options.timeShift == null) {
177
+ this.options.timeShift = {};
178
+ }
179
+ }
180
+
181
+ /**
182
+ * Builds an instance of a TimeShiftManualCapture that has all the combined
183
+ * parameters of the Options that have been added to the Builder.
184
+ *
185
+ * @return promise of TimeShiftManualCapture instance
186
+ */
187
+ build(): Promise<TimeShiftManualCapture> {
188
+ let params = {
189
+ ...this.options,
190
+ // Cannot pass negative values in IOS, use objects
191
+ _capture_interval: this.interval ?? -1,
192
+ };
193
+ return new Promise<TimeShiftManualCapture>(async (resolve, reject) => {
194
+ try {
195
+ await ThetaClientReactNative.getTimeShiftManualCaptureBuilder();
196
+ await ThetaClientReactNative.buildTimeShiftManualCapture(params);
197
+ resolve(new TimeShiftManualCapture(NotifyController.instance));
198
+ } catch (error) {
199
+ reject(error);
200
+ }
201
+ });
202
+ }
203
+ }
@@ -4,12 +4,16 @@ import type { Proxy } from './options';
4
4
  * Enum for authentication mode.
5
5
  */
6
6
  export const AuthModeEnum = {
7
+ /** Undefined value */
8
+ UNKNOWN: 'UNKNOWN',
7
9
  /** None of authentication */
8
10
  NONE: 'NONE',
9
11
  /** Wep authentication */
10
12
  WEP: 'WEP',
11
13
  /** WPA PSK or WPA2 PSK authentication */
12
14
  WPA: 'WPA',
15
+ /** WPA3-SAE authentication */
16
+ WPA3: 'WPA3',
13
17
  } as const;
14
18
 
15
19
  /** type definition of AuthModeEnum */
@@ -17,13 +21,13 @@ export type AuthModeEnum = (typeof AuthModeEnum)[keyof typeof AuthModeEnum];
17
21
 
18
22
  /** Access point information. */
19
23
  export type AccessPoint = {
20
- /** SSID of the access point. */
24
+ /** SSID */
21
25
  ssid: string;
22
- /** true if SSID stealth is enabled. */
26
+ /** SSID stealth. Default is false. */
23
27
  ssidStealth: boolean;
24
28
  /** Authentication mode. */
25
29
  authMode: AuthModeEnum;
26
- /** Connection priority 1 to 5. */
30
+ /** Connection priority (1 to 5). Default is 1. */
27
31
  connectionPriority: number;
28
32
  /** Using DHCP or not. */
29
33
  usingDhcp: boolean;
@@ -33,6 +37,10 @@ export type AccessPoint = {
33
37
  subnetMask?: string;
34
38
  /** Default Gateway. */
35
39
  defaultGateway?: string;
40
+ /** Primary DNS server. */
41
+ dns1?: string;
42
+ /** Secondary DNS server. */
43
+ dns2?: string;
36
44
  /** Proxy information to be used when wired LAN is enabled. */
37
45
  proxy?: Proxy;
38
46
  };
@@ -0,0 +1,27 @@
1
+ import type { Options } from '../options';
2
+
3
+ export function convertOptions(
4
+ options: Options,
5
+ jsonOptions?: Record<string, string>
6
+ ): Options {
7
+ if (!jsonOptions) {
8
+ return options;
9
+ }
10
+
11
+ const result = { ...options };
12
+
13
+ let jsonString = JSON.stringify(jsonOptions);
14
+ jsonString = jsonString
15
+ .replace(/\\"/g, '"')
16
+ .replace(/\\n/g, '')
17
+ .replace(/"{/g, '{')
18
+ .replace(/}"/g, '}');
19
+ const parsedOptions = JSON.parse(jsonString) as Options;
20
+
21
+ if (parsedOptions.topBottomCorrectionRotationSupport) {
22
+ result.topBottomCorrectionRotationSupport =
23
+ parsedOptions.topBottomCorrectionRotationSupport;
24
+ }
25
+
26
+ return result;
27
+ }
@@ -1 +1,2 @@
1
1
  export * from './convert-video-formats';
2
+ export * from './convert-utils';
@@ -15,19 +15,27 @@ export class NotifyController {
15
15
  return NotifyController._instance;
16
16
  }
17
17
 
18
+ eventEmitter?: NativeEventEmitter = undefined;
18
19
  eventListener?: EmitterSubscription = undefined;
19
20
  notifyList = new Map<string, ((notify: BaseNotify) => void) | undefined>();
20
21
 
21
22
  init() {
22
- this.release();
23
- this.eventListener = this.addNotifyListener((notify: BaseNotify) => {
24
- this.notifyList.get(notify.name)?.(notify as BaseNotify);
25
- });
23
+ this.notifyList.clear();
24
+ if (this.eventListener == null) {
25
+ this.eventListener = this.addNotifyListener((notify: BaseNotify) => {
26
+ this.notifyList.get(notify.name)?.(notify as BaseNotify);
27
+ });
28
+ }
29
+ }
30
+
31
+ isInit() {
32
+ return this.eventListener != null;
26
33
  }
27
34
 
28
35
  release() {
29
36
  this.eventListener?.remove();
30
37
  this.eventListener = undefined;
38
+ this.eventEmitter = undefined;
31
39
  this.notifyList.clear();
32
40
  }
33
41
 
@@ -46,9 +54,11 @@ export class NotifyController {
46
54
  private addNotifyListener(
47
55
  callback: (event: BaseNotify) => void
48
56
  ): EmitterSubscription {
49
- const eventEmitter = new NativeEventEmitter(
50
- NativeModules.ThetaClientReactNative
51
- );
52
- return eventEmitter.addListener('ThetaNotify', callback);
57
+ if (this.eventEmitter == null) {
58
+ this.eventEmitter = new NativeEventEmitter(
59
+ NativeModules.ThetaClientReactNative
60
+ );
61
+ }
62
+ return this.eventEmitter.addListener('ThetaNotify', callback);
53
63
  }
54
64
  }
@@ -1,23 +1,34 @@
1
1
  export * from './options';
2
+ export * from './option-access-info';
2
3
  export * from './option-ai-auto-thumbnail';
4
+ export * from './option-aperture';
3
5
  export * from './option-auto-bracket';
4
6
  export * from './option-bitrate';
5
7
  export * from './option-bluetooth-role';
6
8
  export * from './option-burst-mode';
7
9
  export * from './option-burst-option';
8
10
  export * from './option-camera-control-source';
11
+ export * from './option-camera-lock-config';
12
+ export * from './option-camera-lock';
9
13
  export * from './option-camera-mode';
10
14
  export * from './option-camera-power';
11
15
  export * from './option-capture-mode';
16
+ export * from './option-compass-direction-ref';
12
17
  export * from './option-continuous-number';
18
+ export * from './option-ethernet-config';
19
+ export * from './option-exposure-compensation';
13
20
  export * from './option-face-detect';
14
21
  export * from './option-file-format';
15
22
  export * from './option-filter';
16
23
  export * from './option-function';
17
24
  export * from './option-gain';
25
+ export * from './option-gps-tag-recording';
18
26
  export * from './option-image-stitching';
19
27
  export * from './option-max-recordable-time';
28
+ export * from './option-microphone-noise-reduction';
29
+ export * from './option-mobile-network-setting';
20
30
  export * from './option-network-type';
31
+ export * from './option-off-delay-usb';
21
32
  export * from './option-off-delay';
22
33
  export * from './option-power-saving';
23
34
  export * from './option-preset';
@@ -27,10 +38,13 @@ export * from './option-shooting-method';
27
38
  export * from './option-shutter-speed';
28
39
  export * from './option-sleep-delay';
29
40
  export * from './option-time-shift';
30
- export * from './option-top-bottom-correction';
41
+ export * from './option-top-bottom-correction-rotation-support';
31
42
  export * from './option-top-bottom-correction-rotation';
43
+ export * from './option-top-bottom-correction';
44
+ export * from './option-usb-connection';
32
45
  export * from './option-video-stitching';
33
46
  export * from './option-visibility-reduction';
34
47
  export * from './option-white-balance-auto-strength';
48
+ export * from './option-wlan-antenna-config';
49
+ export * from './option-wlan-frequency-cl-mode';
35
50
  export * from './option-wlan-frequency';
36
- export * from './option-ethernet-config';
@@ -0,0 +1,108 @@
1
+ /**
2
+ * Connected network information.
3
+ */
4
+ export type AccessInfo = {
5
+ /**
6
+ * SSID of the wireless LAN access point that THETA connects to
7
+ */
8
+ ssid: string;
9
+
10
+ /**
11
+ * IP address of access point
12
+ */
13
+ ipAddress: string;
14
+
15
+ /**
16
+ * subnet mask of access point
17
+ */
18
+ subnetMask: string;
19
+
20
+ /**
21
+ * default gateway of access point
22
+ */
23
+ defaultGateway: string;
24
+
25
+ /**
26
+ * Primary DNS server
27
+ */
28
+ dns1?: string;
29
+
30
+ /**
31
+ * Secondary DNS server
32
+ */
33
+ dns2?: string;
34
+
35
+ /**
36
+ * proxy URL of access point
37
+ */
38
+ proxyURL: string;
39
+
40
+ /**
41
+ * Radio frequency.
42
+ * @see WlanFrequencyAccessInfoEnum
43
+ */
44
+ frequency: WlanFrequencyAccessInfoEnum;
45
+
46
+ /**
47
+ * WLAN signal strength.
48
+ */
49
+ wlanSignalStrength: number;
50
+
51
+ /**
52
+ * WLAN signal level.
53
+ */
54
+ wlanSignalLevel: number;
55
+
56
+ /**
57
+ * LTE signal strength.
58
+ */
59
+ lteSignalStrength: number;
60
+
61
+ /**
62
+ * LTE signal level.
63
+ */
64
+ lteSignalLevel: number;
65
+
66
+ /**
67
+ * client devices information
68
+ */
69
+ dhcpLeaseAddress?: DhcpLeaseAddress[];
70
+ };
71
+
72
+ /** WLAN standards of the access points. */
73
+ export const WlanFrequencyAccessInfoEnum = {
74
+ /** Undefined value */
75
+ UNKNOWN: 'UNKNOWN',
76
+ /** 2.4GHz */
77
+ GHZ_2_4: 'GHZ_2_4',
78
+ /** 5.2GHz */
79
+ GHZ_5_2: 'GHZ_5_2',
80
+ /** 5.8GHz */
81
+ GHZ_5_8: 'GHZ_5_8',
82
+ /** Initial value */
83
+ INITIAL_VALUE: 'INITIAL_VALUE',
84
+ } as const;
85
+
86
+ /** type definition of WlanFrequencyAccessInfoEnum */
87
+ export type WlanFrequencyAccessInfoEnum =
88
+ (typeof WlanFrequencyAccessInfoEnum)[keyof typeof WlanFrequencyAccessInfoEnum];
89
+
90
+ /**
91
+ * client devices information
92
+ */
93
+ export interface DhcpLeaseAddress {
94
+ /**
95
+ * IP address of client device
96
+ */
97
+ ipAddress: string;
98
+
99
+ /**
100
+ * MAC address of client device
101
+ */
102
+ macAddress: string;
103
+
104
+ /**
105
+ * host name of client device
106
+ */
107
+ hostName: string;
108
+ }
@@ -1,5 +1,7 @@
1
1
  /** AI auto thumbnail setting. */
2
2
  export const AiAutoThumbnailEnum = {
3
+ /** Undefined value */
4
+ UNKNOWN: 'UNKNOWN',
3
5
  /** ON */
4
6
  ON: 'ON',
5
7
  /** OFF */
@@ -0,0 +1,18 @@
1
+ /** Aperture value. */
2
+ export const ApertureEnum = {
3
+ /** AUTO(0) */
4
+ APERTURE_AUTO: 'APERTURE_AUTO',
5
+ /** 2.0F RICOH THETA V or prior */
6
+ APERTURE_2_0: 'APERTURE_2_0',
7
+ /** 2.1F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
8
+ APERTURE_2_1: 'APERTURE_2_1',
9
+ /** 2.4F RICOH THETA X or later */
10
+ APERTURE_2_4: 'APERTURE_2_4',
11
+ /** 3.5F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
12
+ APERTURE_3_5: 'APERTURE_3_5',
13
+ /** 5.6F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
14
+ APERTURE_5_6: 'APERTURE_5_6',
15
+ } as const;
16
+
17
+ /** type definition of ApertureEnum */
18
+ export type ApertureEnum = (typeof ApertureEnum)[keyof typeof ApertureEnum];
@@ -1,11 +1,7 @@
1
- import type {
2
- ApertureEnum,
3
- ExposureCompensationEnum,
4
- ExposureProgramEnum,
5
- IsoEnum,
6
- WhiteBalanceEnum,
7
- } from './options';
1
+ import type { ExposureProgramEnum, IsoEnum, WhiteBalanceEnum } from './options';
2
+ import type { ApertureEnum } from './option-aperture';
8
3
  import type { ShutterSpeedEnum } from './option-shutter-speed';
4
+ import type { ExposureCompensationEnum } from './option-exposure-compensation';
9
5
 
10
6
  /**
11
7
  * Multi bracket shooting setting
@@ -6,6 +6,9 @@
6
6
  * For RICOH THETA X
7
7
  */
8
8
  export const CameraControlSourceEnum = {
9
+ /** Undefined value */
10
+ UNKNOWN: 'UNKNOWN',
11
+
9
12
  /**
10
13
  * Operation is possible with the camera. Locks the smartphone
11
14
  * application UI (supported app only).
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Camera Lock Config
3
+ *
4
+ * - It is possible to enable/disable the function for each HW key.
5
+ * - It is possible to enable/disable the operation of the panel.
6
+ * - When all supported buttons/components are in the "unlock" state, it will be the same as the normal setting.
7
+ * - For THETA models, if there are no wlanKey, fnKey, or panel, it will return "lock". If there are no supported buttons/components, setting to "unlock" or "lock" will not return an error and will not perform any action.
8
+ */
9
+ export type CameraLockConfig = {
10
+ /** power key locked or unlocked. */
11
+ isPowerKeyLocked?: boolean;
12
+ /** Shutter key locked or unlocked. */
13
+ isShutterKeyLocked?: boolean;
14
+ /** mode key locked or unlocked. */
15
+ isModeKeyLocked?: boolean;
16
+ /** wlan key locked or unlocked. */
17
+ isWlanKeyLocked?: boolean;
18
+ /** fn key locked or unlocked. */
19
+ isFnKeyLocked?: boolean;
20
+ /**
21
+ * panel locked or unlocked.
22
+ * Fixed to true. Does not cause an error when false, but it is not reflected either.
23
+ */
24
+ isPanelLocked?: boolean;
25
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Control camera lock/unlock
3
+ */
4
+ export const CameraLockEnum = {
5
+ /** Undefined value */
6
+ UNKNOWN: 'UNKNOWN',
7
+ /** Camera is unlocked */
8
+ UNLOCK: 'UNLOCK',
9
+ /**
10
+ * Camera basic lock state
11
+ * (Mode button, WLAN button, and Fn button presses are inhibited)
12
+ */
13
+ BASIC_LOCK: 'BASIC_LOCK',
14
+ /**
15
+ * Lock according to the parameters set in _cameraLockConfig.
16
+ */
17
+ CUSTOM_LOCK: 'CUSTOM_LOCK',
18
+ } as const;
19
+
20
+ /** type definition of CameraLockEnum */
21
+ export type CameraLockEnum =
22
+ (typeof CameraLockEnum)[keyof typeof CameraLockEnum];
@@ -1,4 +1,5 @@
1
1
  /**
2
+ * Camera power state.
2
3
  * _cameraPower is the power status of camera.
3
4
  *
4
5
  * For RICOH THETA X v2.61.0 or later
@@ -10,6 +11,8 @@ export const CameraPowerEnum = {
10
11
  ON: 'ON',
11
12
  /** Power OFF */
12
13
  OFF: 'OFF',
14
+ /** Sleep */
15
+ SLEEP: 'SLEEP',
13
16
  /**
14
17
  * Power on, power saving mode. Camera is closed.
15
18
  * Unavailable parameter when plugin is running. In this case, invalidParameterValue error will be returned.