theta-client-react-native 1.12.0 → 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.
- package/android/build.gradle +2 -1
- package/android/src/main/AndroidManifest.xml +1 -3
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +533 -33
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +201 -50
- package/ios/ConvertUtil.swift +573 -105
- package/ios/ThetaClientReactNative.m +25 -15
- package/ios/ThetaClientReactNative.swift +302 -121
- package/lib/commonjs/capture/capture.js +12 -1
- package/lib/commonjs/capture/capture.js.map +1 -1
- package/lib/commonjs/capture/continuous-capture.js +2 -1
- package/lib/commonjs/capture/continuous-capture.js.map +1 -1
- package/lib/commonjs/capture/index.js +11 -0
- package/lib/commonjs/capture/index.js.map +1 -1
- package/lib/commonjs/capture/multi-bracket-capture.js +13 -2
- package/lib/commonjs/capture/multi-bracket-capture.js.map +1 -1
- package/lib/commonjs/capture/time-shift-manual-capture.js +168 -0
- package/lib/commonjs/capture/time-shift-manual-capture.js.map +1 -0
- package/lib/commonjs/theta-repository/access-point.js +5 -1
- package/lib/commonjs/theta-repository/access-point.js.map +1 -1
- package/lib/commonjs/theta-repository/libs/convert-utils.js +22 -0
- package/lib/commonjs/theta-repository/libs/convert-utils.js.map +1 -0
- package/lib/commonjs/theta-repository/libs/index.js +11 -0
- package/lib/commonjs/theta-repository/libs/index.js.map +1 -1
- package/lib/commonjs/theta-repository/notify-controller.js +16 -7
- package/lib/commonjs/theta-repository/notify-controller.js.map +1 -1
- package/lib/commonjs/theta-repository/options/index.js +166 -12
- package/lib/commonjs/theta-repository/options/index.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-access-info.js +30 -0
- package/lib/commonjs/theta-repository/options/option-access-info.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js +2 -0
- package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-aperture.js +24 -0
- package/lib/commonjs/theta-repository/options/option-aperture.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-camera-control-source.js +2 -0
- package/lib/commonjs/theta-repository/options/option-camera-control-source.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-camera-lock-config.js +2 -0
- package/lib/commonjs/theta-repository/options/option-camera-lock-config.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-camera-lock.js +27 -0
- package/lib/commonjs/theta-repository/options/option-camera-lock.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-camera-power.js +3 -0
- package/lib/commonjs/theta-repository/options/option-camera-power.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-compass-direction-ref.js +30 -0
- package/lib/commonjs/theta-repository/options/option-compass-direction-ref.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-exposure-compensation.js +64 -0
- package/lib/commonjs/theta-repository/options/option-exposure-compensation.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-file-format.js +29 -1
- package/lib/commonjs/theta-repository/options/option-file-format.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-gps-tag-recording.js +18 -0
- package/lib/commonjs/theta-repository/options/option-gps-tag-recording.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-microphone-noise-reduction.js +23 -0
- package/lib/commonjs/theta-repository/options/option-microphone-noise-reduction.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-mobile-network-setting.js +32 -0
- package/lib/commonjs/theta-repository/options/option-mobile-network-setting.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-network-type.js +18 -2
- package/lib/commonjs/theta-repository/options/option-network-type.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-off-delay-usb.js +61 -0
- package/lib/commonjs/theta-repository/options/option-off-delay-usb.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-preview-format.js +12 -6
- package/lib/commonjs/theta-repository/options/option-preview-format.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-top-bottom-correction-rotation-support.js +6 -0
- package/lib/commonjs/theta-repository/options/option-top-bottom-correction-rotation-support.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-usb-connection.js +23 -0
- package/lib/commonjs/theta-repository/options/option-usb-connection.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-wlan-antenna-config.js +20 -0
- package/lib/commonjs/theta-repository/options/option-wlan-antenna-config.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-wlan-frequency-cl-mode.js +2 -0
- package/lib/commonjs/theta-repository/options/option-wlan-frequency-cl-mode.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-wlan-frequency.js +8 -2
- package/lib/commonjs/theta-repository/options/option-wlan-frequency.js.map +1 -1
- package/lib/commonjs/theta-repository/options/options.js +44 -62
- package/lib/commonjs/theta-repository/options/options.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-files.js +5 -1
- package/lib/commonjs/theta-repository/theta-files.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-info.js +3 -1
- package/lib/commonjs/theta-repository/theta-info.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-repository.js +116 -17
- package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-state/capture-status.js +6 -1
- package/lib/commonjs/theta-repository/theta-state/capture-status.js.map +1 -1
- package/lib/module/capture/capture.js +12 -1
- package/lib/module/capture/capture.js.map +1 -1
- package/lib/module/capture/continuous-capture.js +2 -1
- package/lib/module/capture/continuous-capture.js.map +1 -1
- package/lib/module/capture/index.js +1 -0
- package/lib/module/capture/index.js.map +1 -1
- package/lib/module/capture/multi-bracket-capture.js +13 -2
- package/lib/module/capture/multi-bracket-capture.js.map +1 -1
- package/lib/module/capture/time-shift-manual-capture.js +160 -0
- package/lib/module/capture/time-shift-manual-capture.js.map +1 -0
- package/lib/module/theta-repository/access-point.js +5 -1
- package/lib/module/theta-repository/access-point.js.map +1 -1
- package/lib/module/theta-repository/libs/convert-utils.js +16 -0
- package/lib/module/theta-repository/libs/convert-utils.js.map +1 -0
- package/lib/module/theta-repository/libs/index.js +1 -0
- package/lib/module/theta-repository/libs/index.js.map +1 -1
- package/lib/module/theta-repository/notify-controller.js +16 -7
- package/lib/module/theta-repository/notify-controller.js.map +1 -1
- package/lib/module/theta-repository/options/index.js +16 -2
- package/lib/module/theta-repository/options/index.js.map +1 -1
- package/lib/module/theta-repository/options/option-access-info.js +24 -0
- package/lib/module/theta-repository/options/option-access-info.js.map +1 -0
- package/lib/module/theta-repository/options/option-ai-auto-thumbnail.js +2 -0
- package/lib/module/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -1
- package/lib/module/theta-repository/options/option-aperture.js +18 -0
- package/lib/module/theta-repository/options/option-aperture.js.map +1 -0
- package/lib/module/theta-repository/options/option-camera-control-source.js +2 -0
- package/lib/module/theta-repository/options/option-camera-control-source.js.map +1 -1
- package/lib/module/theta-repository/options/option-camera-lock-config.js +2 -0
- package/lib/module/theta-repository/options/option-camera-lock-config.js.map +1 -0
- package/lib/module/theta-repository/options/option-camera-lock.js +21 -0
- package/lib/module/theta-repository/options/option-camera-lock.js.map +1 -0
- package/lib/module/theta-repository/options/option-camera-power.js +3 -0
- package/lib/module/theta-repository/options/option-camera-power.js.map +1 -1
- package/lib/module/theta-repository/options/option-compass-direction-ref.js +24 -0
- package/lib/module/theta-repository/options/option-compass-direction-ref.js.map +1 -0
- package/lib/module/theta-repository/options/option-exposure-compensation.js +58 -0
- package/lib/module/theta-repository/options/option-exposure-compensation.js.map +1 -0
- package/lib/module/theta-repository/options/option-file-format.js +29 -1
- package/lib/module/theta-repository/options/option-file-format.js.map +1 -1
- package/lib/module/theta-repository/options/option-gps-tag-recording.js +12 -0
- package/lib/module/theta-repository/options/option-gps-tag-recording.js.map +1 -0
- package/lib/module/theta-repository/options/option-microphone-noise-reduction.js +17 -0
- package/lib/module/theta-repository/options/option-microphone-noise-reduction.js.map +1 -0
- package/lib/module/theta-repository/options/option-mobile-network-setting.js +26 -0
- package/lib/module/theta-repository/options/option-mobile-network-setting.js.map +1 -0
- package/lib/module/theta-repository/options/option-network-type.js +18 -2
- package/lib/module/theta-repository/options/option-network-type.js.map +1 -1
- package/lib/module/theta-repository/options/option-off-delay-usb.js +54 -0
- package/lib/module/theta-repository/options/option-off-delay-usb.js.map +1 -0
- package/lib/module/theta-repository/options/option-preview-format.js +12 -6
- package/lib/module/theta-repository/options/option-preview-format.js.map +1 -1
- package/lib/module/theta-repository/options/option-top-bottom-correction-rotation-support.js +2 -0
- package/lib/module/theta-repository/options/option-top-bottom-correction-rotation-support.js.map +1 -0
- package/lib/module/theta-repository/options/option-usb-connection.js +17 -0
- package/lib/module/theta-repository/options/option-usb-connection.js.map +1 -0
- package/lib/module/theta-repository/options/option-wlan-antenna-config.js +14 -0
- package/lib/module/theta-repository/options/option-wlan-antenna-config.js.map +1 -0
- package/lib/module/theta-repository/options/option-wlan-frequency-cl-mode.js +2 -0
- package/lib/module/theta-repository/options/option-wlan-frequency-cl-mode.js.map +1 -0
- package/lib/module/theta-repository/options/option-wlan-frequency.js +8 -2
- package/lib/module/theta-repository/options/option-wlan-frequency.js.map +1 -1
- package/lib/module/theta-repository/options/options.js +43 -61
- package/lib/module/theta-repository/options/options.js.map +1 -1
- package/lib/module/theta-repository/theta-files.js +5 -1
- package/lib/module/theta-repository/theta-files.js.map +1 -1
- package/lib/module/theta-repository/theta-info.js +3 -1
- package/lib/module/theta-repository/theta-info.js.map +1 -1
- package/lib/module/theta-repository/theta-repository.js +115 -19
- package/lib/module/theta-repository/theta-repository.js.map +1 -1
- package/lib/module/theta-repository/theta-state/capture-status.js +6 -1
- package/lib/module/theta-repository/theta-state/capture-status.js.map +1 -1
- package/lib/typescript/capture/capture.d.ts +11 -0
- package/lib/typescript/capture/capture.d.ts.map +1 -1
- package/lib/typescript/capture/continuous-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/multi-bracket-capture.d.ts +13 -2
- package/lib/typescript/capture/multi-bracket-capture.d.ts.map +1 -1
- package/lib/typescript/capture/time-shift-manual-capture.d.ts +70 -0
- package/lib/typescript/capture/time-shift-manual-capture.d.ts.map +1 -0
- package/lib/typescript/theta-repository/access-point.d.ts +11 -3
- package/lib/typescript/theta-repository/access-point.d.ts.map +1 -1
- package/lib/typescript/theta-repository/libs/convert-utils.d.ts +3 -0
- package/lib/typescript/theta-repository/libs/convert-utils.d.ts.map +1 -0
- package/lib/typescript/theta-repository/libs/index.d.ts +1 -0
- package/lib/typescript/theta-repository/libs/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/notify-controller.d.ts +3 -1
- package/lib/typescript/theta-repository/notify-controller.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/index.d.ts +16 -2
- package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-access-info.d.ts +91 -0
- package/lib/typescript/theta-repository/options/option-access-info.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-ai-auto-thumbnail.d.ts +2 -0
- package/lib/typescript/theta-repository/options/option-ai-auto-thumbnail.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-aperture.d.ts +18 -0
- package/lib/typescript/theta-repository/options/option-aperture.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-auto-bracket.d.ts +3 -1
- package/lib/typescript/theta-repository/options/option-auto-bracket.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-camera-control-source.d.ts +2 -0
- package/lib/typescript/theta-repository/options/option-camera-control-source.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-camera-lock-config.d.ts +26 -0
- package/lib/typescript/theta-repository/options/option-camera-lock-config.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-camera-lock.d.ts +21 -0
- package/lib/typescript/theta-repository/options/option-camera-lock.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-camera-power.d.ts +3 -0
- package/lib/typescript/theta-repository/options/option-camera-power.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-compass-direction-ref.d.ts +24 -0
- package/lib/typescript/theta-repository/options/option-compass-direction-ref.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-ethernet-config.d.ts +8 -4
- package/lib/typescript/theta-repository/options/option-ethernet-config.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-exposure-compensation.d.ts +58 -0
- package/lib/typescript/theta-repository/options/option-exposure-compensation.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-file-format.d.ts +42 -0
- package/lib/typescript/theta-repository/options/option-file-format.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-gps-tag-recording.d.ts +12 -0
- package/lib/typescript/theta-repository/options/option-gps-tag-recording.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-microphone-noise-reduction.d.ts +17 -0
- package/lib/typescript/theta-repository/options/option-microphone-noise-reduction.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-mobile-network-setting.d.ts +34 -0
- package/lib/typescript/theta-repository/options/option-mobile-network-setting.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-network-type.d.ts +17 -1
- package/lib/typescript/theta-repository/options/option-network-type.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-off-delay-usb.d.ts +36 -0
- package/lib/typescript/theta-repository/options/option-off-delay-usb.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-preview-format.d.ts +12 -6
- package/lib/typescript/theta-repository/options/option-preview-format.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-top-bottom-correction-rotation-support.d.ts +19 -0
- package/lib/typescript/theta-repository/options/option-top-bottom-correction-rotation-support.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-usb-connection.d.ts +17 -0
- package/lib/typescript/theta-repository/options/option-usb-connection.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-wlan-antenna-config.d.ts +14 -0
- package/lib/typescript/theta-repository/options/option-wlan-antenna-config.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-wlan-frequency-cl-mode.d.ts +20 -0
- package/lib/typescript/theta-repository/options/option-wlan-frequency-cl-mode.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-wlan-frequency.d.ts +7 -1
- package/lib/typescript/theta-repository/options/option-wlan-frequency.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/options.d.ts +131 -63
- package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-files.d.ts +4 -0
- package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-info.d.ts +9 -1
- package/lib/typescript/theta-repository/theta-info.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-repository.d.ts +54 -13
- package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-state/capture-status.d.ts +5 -0
- package/lib/typescript/theta-repository/theta-state/capture-status.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/capture/capture.ts +11 -0
- package/src/capture/continuous-capture.ts +2 -4
- package/src/capture/index.ts +1 -0
- package/src/capture/multi-bracket-capture.ts +13 -2
- package/src/capture/time-shift-manual-capture.ts +203 -0
- package/src/theta-repository/access-point.ts +11 -3
- package/src/theta-repository/libs/convert-utils.ts +27 -0
- package/src/theta-repository/libs/index.ts +1 -0
- package/src/theta-repository/notify-controller.ts +18 -8
- package/src/theta-repository/options/index.ts +16 -2
- package/src/theta-repository/options/option-access-info.ts +108 -0
- package/src/theta-repository/options/option-ai-auto-thumbnail.ts +2 -0
- package/src/theta-repository/options/option-aperture.ts +18 -0
- package/src/theta-repository/options/option-auto-bracket.ts +3 -7
- package/src/theta-repository/options/option-camera-control-source.ts +3 -0
- package/src/theta-repository/options/option-camera-lock-config.ts +25 -0
- package/src/theta-repository/options/option-camera-lock.ts +22 -0
- package/src/theta-repository/options/option-camera-power.ts +3 -0
- package/src/theta-repository/options/option-compass-direction-ref.ts +25 -0
- package/src/theta-repository/options/option-ethernet-config.ts +8 -4
- package/src/theta-repository/options/option-exposure-compensation.ts +59 -0
- package/src/theta-repository/options/option-file-format.ts +29 -0
- package/src/theta-repository/options/option-gps-tag-recording.ts +13 -0
- package/src/theta-repository/options/option-microphone-noise-reduction.ts +18 -0
- package/src/theta-repository/options/option-mobile-network-setting.ts +38 -0
- package/src/theta-repository/options/option-network-type.ts +17 -1
- package/src/theta-repository/options/option-off-delay-usb.ts +57 -0
- package/src/theta-repository/options/option-preview-format.ts +12 -6
- package/src/theta-repository/options/option-top-bottom-correction-rotation-support.ts +19 -0
- package/src/theta-repository/options/option-usb-connection.ts +18 -0
- package/src/theta-repository/options/option-wlan-antenna-config.ts +15 -0
- package/src/theta-repository/options/option-wlan-frequency-cl-mode.ts +19 -0
- package/src/theta-repository/options/option-wlan-frequency.ts +7 -1
- package/src/theta-repository/options/options.ts +133 -71
- package/src/theta-repository/theta-files.ts +4 -0
- package/src/theta-repository/theta-info.ts +9 -1
- package/src/theta-repository/theta-repository.ts +117 -30
- package/src/theta-repository/theta-state/capture-status.ts +5 -0
- package/theta-client-react-native.podspec +1 -1
|
@@ -1,57 +1,52 @@
|
|
|
1
|
+
import type { AccessInfo } from './option-access-info';
|
|
1
2
|
import type { AiAutoThumbnailEnum } from './option-ai-auto-thumbnail';
|
|
3
|
+
import type { ApertureEnum } from './option-aperture';
|
|
2
4
|
import type { BitrateEnum } from './option-bitrate';
|
|
3
5
|
import type { BluetoothRoleEnum } from './option-bluetooth-role';
|
|
4
6
|
import type { BracketSetting } from './option-auto-bracket';
|
|
5
7
|
import type { BurstModeEnum } from './option-burst-mode';
|
|
6
8
|
import type { BurstOption } from './option-burst-option';
|
|
7
9
|
import type { CameraControlSourceEnum } from './option-camera-control-source';
|
|
10
|
+
import type { CameraLockConfig } from './option-camera-lock-config';
|
|
11
|
+
import type { CameraLockEnum } from './option-camera-lock';
|
|
8
12
|
import type { CameraModeEnum } from './option-camera-mode';
|
|
13
|
+
import type { CameraPowerEnum } from './option-camera-power';
|
|
9
14
|
import type { CaptureModeEnum } from './option-capture-mode';
|
|
15
|
+
import type { CompassDirectionRefEnum } from './option-compass-direction-ref';
|
|
10
16
|
import type { ContinuousNumberEnum } from './option-continuous-number';
|
|
17
|
+
import type { EthernetConfig } from './option-ethernet-config';
|
|
18
|
+
import type { ExposureCompensationEnum } from './option-exposure-compensation';
|
|
11
19
|
import type { FaceDetectEnum } from './option-face-detect';
|
|
20
|
+
import type { FileFormatEnum } from './option-file-format';
|
|
12
21
|
import type { FilterEnum } from './option-filter';
|
|
13
|
-
import type { ShootingFunctionEnum } from './option-function';
|
|
14
22
|
import type { GainEnum } from './option-gain';
|
|
23
|
+
import type { GpsTagRecordingEnum } from './option-gps-tag-recording';
|
|
15
24
|
import type { ImageStitchingEnum } from './option-image-stitching';
|
|
16
25
|
import type { MaxRecordableTimeEnum } from './option-max-recordable-time';
|
|
26
|
+
import type { MicrophoneNoiseReductionEnum } from './option-microphone-noise-reduction';
|
|
27
|
+
import type { MobileNetworkSetting } from './option-mobile-network-setting';
|
|
17
28
|
import type { NetworkTypeEnum } from './option-network-type';
|
|
29
|
+
import type { OffDelayEnum } from './option-off-delay';
|
|
30
|
+
import type { OffDelayUsbEnum } from './option-off-delay-usb';
|
|
18
31
|
import type { PowerSavingEnum } from './option-power-saving';
|
|
19
32
|
import type { PresetEnum } from './option-preset';
|
|
20
33
|
import type { PreviewFormatEnum } from './option-preview-format';
|
|
21
34
|
import type { Proxy } from './option-proxy';
|
|
35
|
+
import type { ShootingFunctionEnum } from './option-function';
|
|
22
36
|
import type { ShootingMethodEnum } from './option-shooting-method';
|
|
23
37
|
import type { ShutterSpeedEnum } from './option-shutter-speed';
|
|
38
|
+
import type { SleepDelayEnum } from './option-sleep-delay';
|
|
24
39
|
import type { TimeShift } from './option-time-shift';
|
|
25
40
|
import type { TopBottomCorrectionOptionEnum } from './option-top-bottom-correction';
|
|
26
41
|
import type { TopBottomCorrectionRotation } from './option-top-bottom-correction-rotation';
|
|
42
|
+
import type { TopBottomCorrectionRotationSupport } from './option-top-bottom-correction-rotation-support';
|
|
43
|
+
import type { UsbConnectionEnum } from './option-usb-connection';
|
|
27
44
|
import type { VideoStitchingEnum } from './option-video-stitching';
|
|
28
45
|
import type { VisibilityReductionEnum } from './option-visibility-reduction';
|
|
29
46
|
import type { WhiteBalanceAutoStrengthEnum } from './option-white-balance-auto-strength';
|
|
47
|
+
import type { WlanAntennaConfigEnum } from './option-wlan-antenna-config';
|
|
48
|
+
import type { WlanFrequencyClMode } from './option-wlan-frequency-cl-mode';
|
|
30
49
|
import type { WlanFrequencyEnum } from './option-wlan-frequency';
|
|
31
|
-
import type { OffDelayEnum } from './option-off-delay';
|
|
32
|
-
import type { SleepDelayEnum } from './option-sleep-delay';
|
|
33
|
-
import type { EthernetConfig } from './option-ethernet-config';
|
|
34
|
-
import type { FileFormatEnum } from './option-file-format';
|
|
35
|
-
import type { CameraPowerEnum } from './option-camera-power';
|
|
36
|
-
|
|
37
|
-
/** Aperture value. */
|
|
38
|
-
export const ApertureEnum = {
|
|
39
|
-
/** AUTO(0) */
|
|
40
|
-
APERTURE_AUTO: 'APERTURE_AUTO',
|
|
41
|
-
/** 2.0F RICOH THETA V or prior */
|
|
42
|
-
APERTURE_2_0: 'APERTURE_2_0',
|
|
43
|
-
/** 2.1F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
|
|
44
|
-
APERTURE_2_1: 'APERTURE_2_1',
|
|
45
|
-
/** 2.4F RICOH THETA X or later */
|
|
46
|
-
APERTURE_2_4: 'APERTURE_2_4',
|
|
47
|
-
/** 3.5F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
|
|
48
|
-
APERTURE_3_5: 'APERTURE_3_5',
|
|
49
|
-
/** 5.6F RICOH THETA Z1 and the exposure program (exposureProgram) is set to Manual or Aperture Priority */
|
|
50
|
-
APERTURE_5_6: 'APERTURE_5_6',
|
|
51
|
-
} as const;
|
|
52
|
-
|
|
53
|
-
/** type definition of ApertureEnum */
|
|
54
|
-
export type ApertureEnum = (typeof ApertureEnum)[keyof typeof ApertureEnum];
|
|
55
50
|
|
|
56
51
|
/** BluetoothPower value. */
|
|
57
52
|
export const BluetoothPowerEnum = {
|
|
@@ -65,40 +60,6 @@ export const BluetoothPowerEnum = {
|
|
|
65
60
|
export type BluetoothPowerEnum =
|
|
66
61
|
(typeof BluetoothPowerEnum)[keyof typeof BluetoothPowerEnum];
|
|
67
62
|
|
|
68
|
-
/** Exposure compensation (EV). */
|
|
69
|
-
export const ExposureCompensationEnum = {
|
|
70
|
-
/** -2.0 */
|
|
71
|
-
M_2_0: 'M2_0',
|
|
72
|
-
/** -1.7 */
|
|
73
|
-
M_1_7: 'M1_7',
|
|
74
|
-
/** -1.3 */
|
|
75
|
-
M_1_3: 'M1_3',
|
|
76
|
-
/** -1.0 */
|
|
77
|
-
M_1_0: 'M1_0',
|
|
78
|
-
/** -0.7 */
|
|
79
|
-
M_0_7: 'M0_7',
|
|
80
|
-
/** -0.3 */
|
|
81
|
-
M_0_3: 'M0_3',
|
|
82
|
-
/** 0 */
|
|
83
|
-
ZERO: 'ZERO',
|
|
84
|
-
/** 0.3 */
|
|
85
|
-
P_0_3: 'P0_3',
|
|
86
|
-
/** 0.7 */
|
|
87
|
-
P_0_7: 'P0_7',
|
|
88
|
-
/** 1.0 */
|
|
89
|
-
P_1_0: 'P1_0',
|
|
90
|
-
/** 1.3 */
|
|
91
|
-
P_1_3: 'P1_3',
|
|
92
|
-
/** 1.7 */
|
|
93
|
-
P_1_7: 'P1_7',
|
|
94
|
-
/** 2.0 */
|
|
95
|
-
P_2_0: 'P2_0',
|
|
96
|
-
} as const;
|
|
97
|
-
|
|
98
|
-
/** type definition of ExposureCompensationEnum */
|
|
99
|
-
export type ExposureCompensationEnum =
|
|
100
|
-
(typeof ExposureCompensationEnum)[keyof typeof ExposureCompensationEnum];
|
|
101
|
-
|
|
102
63
|
/** Operating time (sec.) of the self-timer. */
|
|
103
64
|
export const ExposureDelayEnum = {
|
|
104
65
|
/** Disable self-timer. */
|
|
@@ -159,18 +120,6 @@ export type GpsInfo = {
|
|
|
159
120
|
dateTimeZone: string;
|
|
160
121
|
};
|
|
161
122
|
|
|
162
|
-
/** Turns position information assigning ON/OFF. */
|
|
163
|
-
export const GpsTagRecordingEnum = {
|
|
164
|
-
/** Position information assigning ON. */
|
|
165
|
-
ON: 'ON',
|
|
166
|
-
/** Position information assigning OFF. */
|
|
167
|
-
OFF: 'OFF',
|
|
168
|
-
} as const;
|
|
169
|
-
|
|
170
|
-
/** type definition of GpsTagRecordingEnum */
|
|
171
|
-
export type GpsTagRecordingEnum =
|
|
172
|
-
(typeof GpsTagRecordingEnum)[keyof typeof GpsTagRecordingEnum];
|
|
173
|
-
|
|
174
123
|
/** ISO sensitivity. */
|
|
175
124
|
export const IsoEnum = {
|
|
176
125
|
/** AUTO (0) */
|
|
@@ -329,10 +278,16 @@ export type WhiteBalanceEnum =
|
|
|
329
278
|
|
|
330
279
|
/** Camera setting options name. */
|
|
331
280
|
export const OptionNameEnum = {
|
|
281
|
+
/** _accessInfo */
|
|
282
|
+
AccessInfo: 'AccessInfo',
|
|
332
283
|
/** _aiAutoThumbnail */
|
|
333
284
|
AiAutoThumbnail: 'AiAutoThumbnail',
|
|
285
|
+
/** _aiAutoThumbnailSupport */
|
|
286
|
+
AiAutoThumbnailSupport: 'AiAutoThumbnailSupport',
|
|
334
287
|
/** aperture */
|
|
335
288
|
Aperture: 'Aperture',
|
|
289
|
+
/** apertureSupport */
|
|
290
|
+
ApertureSupport: 'ApertureSupport',
|
|
336
291
|
/** autoBracket */
|
|
337
292
|
AutoBracket: 'AutoBracket',
|
|
338
293
|
/** _bitrate*/
|
|
@@ -347,10 +302,18 @@ export const OptionNameEnum = {
|
|
|
347
302
|
BurstOption: 'BurstOption',
|
|
348
303
|
/** _cameraControlSource */
|
|
349
304
|
CameraControlSource: 'CameraControlSource',
|
|
305
|
+
/** _cameraControlSourceSupport */
|
|
306
|
+
CameraControlSourceSupport: 'CameraControlSourceSupport',
|
|
307
|
+
/** _cameraLock */
|
|
308
|
+
CameraLock: 'CameraLock',
|
|
309
|
+
/** _cameraLockConfig */
|
|
310
|
+
CameraLockConfig: 'CameraLockConfig',
|
|
350
311
|
/** cameraMode */
|
|
351
312
|
CameraMode: 'CameraMode',
|
|
352
313
|
/** cameraPower */
|
|
353
314
|
CameraPower: 'CameraPower',
|
|
315
|
+
/** _cameraPowerSupport */
|
|
316
|
+
CameraPowerSupport: 'CameraPowerSupport',
|
|
354
317
|
/** captureInterval */
|
|
355
318
|
CaptureInterval: 'CaptureInterval',
|
|
356
319
|
/** captureMode */
|
|
@@ -359,10 +322,19 @@ export const OptionNameEnum = {
|
|
|
359
322
|
CaptureNumber: 'CaptureNumber',
|
|
360
323
|
/** colorTemperature */
|
|
361
324
|
ColorTemperature: 'ColorTemperature',
|
|
325
|
+
/** _colorTemperatureSupport */
|
|
326
|
+
ColorTemperatureSupport: 'ColorTemperatureSupport',
|
|
327
|
+
/** _compassDirectionRef */
|
|
328
|
+
CompassDirectionRef: 'CompassDirectionRef',
|
|
362
329
|
/** _compositeShootingOutputInterval */
|
|
363
330
|
CompositeShootingOutputInterval: 'CompositeShootingOutputInterval',
|
|
331
|
+
/** _compositeShootingOutputIntervalSupport */
|
|
332
|
+
CompositeShootingOutputIntervalSupport:
|
|
333
|
+
'CompositeShootingOutputIntervalSupport',
|
|
364
334
|
/** _compositeShootingTime */
|
|
365
335
|
CompositeShootingTime: 'CompositeShootingTime',
|
|
336
|
+
/** _compositeShootingTimeSupport */
|
|
337
|
+
CompositeShootingTimeSupport: 'CompositeShootingTimeSupport',
|
|
366
338
|
/** continuousNumber */
|
|
367
339
|
ContinuousNumber: 'ContinuousNumber',
|
|
368
340
|
/** dateTimeZone */
|
|
@@ -373,6 +345,8 @@ export const OptionNameEnum = {
|
|
|
373
345
|
ExposureCompensation: 'ExposureCompensation',
|
|
374
346
|
/** exposureDelay */
|
|
375
347
|
ExposureDelay: 'ExposureDelay',
|
|
348
|
+
/** exposureDelaySupport */
|
|
349
|
+
ExposureDelaySupport: 'ExposureDelaySupport',
|
|
376
350
|
/** exposureProgram */
|
|
377
351
|
ExposureProgram: 'ExposureProgram',
|
|
378
352
|
/** _faceDetect */
|
|
@@ -387,6 +361,8 @@ export const OptionNameEnum = {
|
|
|
387
361
|
Gain: 'Gain',
|
|
388
362
|
/** gpsInfo */
|
|
389
363
|
GpsInfo: 'GpsInfo',
|
|
364
|
+
/** _gpsTagRecordingSupport */
|
|
365
|
+
GpsTagRecordingSupport: 'GpsTagRecordingSupport',
|
|
390
366
|
/** imageStitching */
|
|
391
367
|
ImageStitching: 'ImageStitching',
|
|
392
368
|
/** isGpsOn */
|
|
@@ -401,10 +377,16 @@ export const OptionNameEnum = {
|
|
|
401
377
|
LatestEnabledExposureDelayTime: 'LatestEnabledExposureDelayTime',
|
|
402
378
|
/** maxRecordableTime */
|
|
403
379
|
MaxRecordableTime: 'MaxRecordableTime',
|
|
380
|
+
/** microphoneNoiseReduction */
|
|
381
|
+
MicrophoneNoiseReduction: 'MicrophoneNoiseReduction',
|
|
382
|
+
/** _mobileNetworkSetting */
|
|
383
|
+
MobileNetworkSetting: 'MobileNetworkSetting',
|
|
404
384
|
/** networkType */
|
|
405
385
|
NetworkType: 'NetworkType',
|
|
406
386
|
/** offDelay */
|
|
407
387
|
OffDelay: 'OffDelay',
|
|
388
|
+
/** _offDelayUSB */
|
|
389
|
+
OffDelayUsb: 'OffDelayUsb',
|
|
408
390
|
/** password */
|
|
409
391
|
Password: 'Password',
|
|
410
392
|
/** powerSaving */
|
|
@@ -433,10 +415,14 @@ export const OptionNameEnum = {
|
|
|
433
415
|
TopBottomCorrection: 'TopBottomCorrection',
|
|
434
416
|
/** topBottomCorrectionRotation */
|
|
435
417
|
TopBottomCorrectionRotation: 'TopBottomCorrectionRotation',
|
|
418
|
+
/** topBottomCorrectionRotationSupport */
|
|
419
|
+
TopBottomCorrectionRotationSupport: 'TopBottomCorrectionRotationSupport',
|
|
436
420
|
/** totalSpace */
|
|
437
421
|
TotalSpace: 'TotalSpace',
|
|
438
422
|
/** shutterVolume */
|
|
439
423
|
ShutterVolume: 'ShutterVolume',
|
|
424
|
+
/** _usbConnection */
|
|
425
|
+
UsbConnection: 'UsbConnection',
|
|
440
426
|
/** username */
|
|
441
427
|
Username: 'Username',
|
|
442
428
|
/** videoStitching */
|
|
@@ -447,8 +433,14 @@ export const OptionNameEnum = {
|
|
|
447
433
|
WhiteBalance: 'WhiteBalance',
|
|
448
434
|
/** _whiteBalanceAutoStrength */
|
|
449
435
|
WhiteBalanceAutoStrength: 'WhiteBalanceAutoStrength',
|
|
436
|
+
/** _wlanAntennaConfig */
|
|
437
|
+
WlanAntennaConfig: 'WlanAntennaConfig',
|
|
450
438
|
/** _wlanFrequency */
|
|
451
439
|
WlanFrequency: 'WlanFrequency',
|
|
440
|
+
/** _wlanFrequencySupport */
|
|
441
|
+
WlanFrequencySupport: 'WlanFrequencySupport',
|
|
442
|
+
/** _wlanFrequencyCLmode */
|
|
443
|
+
WlanFrequencyClMode: 'WlanFrequencyClMode',
|
|
452
444
|
} as const;
|
|
453
445
|
|
|
454
446
|
/** type definition of OptionNameEnum */
|
|
@@ -457,10 +449,16 @@ export type OptionNameEnum =
|
|
|
457
449
|
|
|
458
450
|
/** camera setting options */
|
|
459
451
|
export type Options = {
|
|
452
|
+
/** Connected network information. */
|
|
453
|
+
accessInfo?: AccessInfo;
|
|
460
454
|
/** AI auto thumbnail setting. */
|
|
461
455
|
aiAutoThumbnail?: AiAutoThumbnailEnum;
|
|
456
|
+
/** Supported AI auto thumbnail setting. */
|
|
457
|
+
aiAutoThumbnailSupport?: AiAutoThumbnailEnum[];
|
|
462
458
|
/** Aperture value. */
|
|
463
459
|
aperture?: ApertureEnum;
|
|
460
|
+
/** Supported aperture value. */
|
|
461
|
+
apertureSupport?: ApertureEnum[];
|
|
464
462
|
/** */
|
|
465
463
|
autoBracket?: BracketSetting[];
|
|
466
464
|
/** Bitrate */
|
|
@@ -475,10 +473,18 @@ export type Options = {
|
|
|
475
473
|
burstOption?: BurstOption;
|
|
476
474
|
/** camera control source. */
|
|
477
475
|
cameraControlSource?: CameraControlSourceEnum;
|
|
476
|
+
/** Supported Camera Control Source. */
|
|
477
|
+
cameraControlSourceSupport?: CameraControlSourceEnum[];
|
|
478
|
+
/** Camera lock. */
|
|
479
|
+
cameraLock?: CameraLockEnum;
|
|
480
|
+
/** Camera lock config. */
|
|
481
|
+
cameraLockConfig?: CameraLockConfig;
|
|
478
482
|
/** Camera mode. */
|
|
479
483
|
cameraMode?: CameraModeEnum;
|
|
480
484
|
/** Camera power state */
|
|
481
485
|
cameraPower?: CameraPowerEnum;
|
|
486
|
+
/** Supported Camera Power. */
|
|
487
|
+
cameraPowerSupport?: CameraPowerEnum[];
|
|
482
488
|
/**
|
|
483
489
|
* Shooting interval (sec.) for interval shooting.
|
|
484
490
|
*
|
|
@@ -520,6 +526,10 @@ export type Options = {
|
|
|
520
526
|
captureNumber?: number;
|
|
521
527
|
/** Color temperature of the camera (Kelvin). */
|
|
522
528
|
colorTemperature?: number;
|
|
529
|
+
/** supported color temperature. */
|
|
530
|
+
colorTemperatureSupport?: ValueRange;
|
|
531
|
+
/** _compassDirectionRef */
|
|
532
|
+
compassDirectionRef?: CompassDirectionRefEnum;
|
|
523
533
|
/**
|
|
524
534
|
* In-progress save interval for interval composite shooting (sec).
|
|
525
535
|
*
|
|
@@ -531,6 +541,10 @@ export type Options = {
|
|
|
531
541
|
* RICOH THETA S firmware v01.82 or later
|
|
532
542
|
*/
|
|
533
543
|
compositeShootingOutputInterval?: number;
|
|
544
|
+
/**
|
|
545
|
+
* Supported in-progress save interval for interval composite shooting (sec).
|
|
546
|
+
*/
|
|
547
|
+
compositeShootingOutputIntervalSupport?: ValueRange;
|
|
534
548
|
/**
|
|
535
549
|
* Shooting time for interval composite shooting (sec).
|
|
536
550
|
*
|
|
@@ -542,6 +556,10 @@ export type Options = {
|
|
|
542
556
|
* RICOH THETA S firmware v01.82 or later
|
|
543
557
|
*/
|
|
544
558
|
compositeShootingTime?: number;
|
|
559
|
+
/**
|
|
560
|
+
* Supported shooting time for interval composite shooting (sec).
|
|
561
|
+
*/
|
|
562
|
+
compositeShootingTimeSupport?: ValueRange;
|
|
545
563
|
/** Number of shots for continuous shooting. */
|
|
546
564
|
continuousNumber?: ContinuousNumberEnum;
|
|
547
565
|
/** Current system time of RICOH THETA. Setting another options will result in an error. */
|
|
@@ -552,6 +570,8 @@ export type Options = {
|
|
|
552
570
|
exposureCompensation?: ExposureCompensationEnum;
|
|
553
571
|
/** Operating time (sec.) of the self-timer. */
|
|
554
572
|
exposureDelay?: ExposureDelayEnum;
|
|
573
|
+
/** Supported operating time (sec.) of the self-timer. */
|
|
574
|
+
exposureDelaySupport?: ExposureDelayEnum[];
|
|
555
575
|
/** Exposure program. The exposure settings that take priority can be selected. */
|
|
556
576
|
exposureProgram?: ExposureProgramEnum;
|
|
557
577
|
/** Face detection */
|
|
@@ -566,6 +586,11 @@ export type Options = {
|
|
|
566
586
|
gain?: GainEnum;
|
|
567
587
|
/** GPS location information. */
|
|
568
588
|
gpsInfo?: GpsInfo;
|
|
589
|
+
/**
|
|
590
|
+
* Supported GpsTagRecording
|
|
591
|
+
* For THETA X
|
|
592
|
+
*/
|
|
593
|
+
gpsTagRecordingSupport?: GpsTagRecordingEnum[];
|
|
569
594
|
/** Still image stitching setting during shooting. */
|
|
570
595
|
imageStitching?: ImageStitchingEnum;
|
|
571
596
|
/** Turns position information assigning ON/OFF. */
|
|
@@ -580,10 +605,20 @@ export type Options = {
|
|
|
580
605
|
latestEnabledExposureDelayTime?: ExposureDelayEnum;
|
|
581
606
|
/** Maximum recordable time (in seconds) of the camera. */
|
|
582
607
|
maxRecordableTime?: MaxRecordableTimeEnum;
|
|
608
|
+
/** _microphoneNoiseReduction */
|
|
609
|
+
microphoneNoiseReduction?: MicrophoneNoiseReductionEnum;
|
|
610
|
+
/** _mobileNetworkSetting */
|
|
611
|
+
mobileNetworkSetting?: MobileNetworkSetting;
|
|
583
612
|
/** Network type of the camera */
|
|
584
613
|
networkType?: NetworkTypeEnum;
|
|
585
614
|
/** Length of standby time before the camera automatically powers OFF. */
|
|
586
615
|
offDelay?: OffDelayEnum;
|
|
616
|
+
/**
|
|
617
|
+
* Auto power off time with USB power supply.
|
|
618
|
+
*
|
|
619
|
+
* For RICOH THETA A1
|
|
620
|
+
*/
|
|
621
|
+
offDelayUsb?: OffDelayUsbEnum;
|
|
587
622
|
/** Password used for digest authentication when _networkType is set to client mode. */
|
|
588
623
|
password?: String;
|
|
589
624
|
/** Power saving mode */
|
|
@@ -622,8 +657,12 @@ export type Options = {
|
|
|
622
657
|
* Enabled only for _topBottomCorrection Manual.
|
|
623
658
|
*/
|
|
624
659
|
topBottomCorrectionRotation?: TopBottomCorrectionRotation;
|
|
660
|
+
/** Supported TopBottomCorrectionRotation */
|
|
661
|
+
topBottomCorrectionRotationSupport?: TopBottomCorrectionRotationSupport;
|
|
625
662
|
/** Total storage space (byte). */
|
|
626
663
|
totalSpace?: number;
|
|
664
|
+
/** _usbConnection */
|
|
665
|
+
usbConnection?: UsbConnectionEnum;
|
|
627
666
|
/** User name used for digest authentication when _networkType is set to client mode. */
|
|
628
667
|
username?: String;
|
|
629
668
|
/** Video stitching during shooting. */
|
|
@@ -635,7 +674,30 @@ export type Options = {
|
|
|
635
674
|
/** White balance auto strength. */
|
|
636
675
|
whiteBalanceAutoStrength?: WhiteBalanceAutoStrengthEnum;
|
|
637
676
|
/** WLAN frequency */
|
|
677
|
+
wlanAntennaConfig?: WlanAntennaConfigEnum;
|
|
678
|
+
/** WlanAntennaConfig */
|
|
638
679
|
wlanFrequency?: WlanFrequencyEnum;
|
|
680
|
+
/**
|
|
681
|
+
* Supported WlanFrequency
|
|
682
|
+
*
|
|
683
|
+
* For RICOH THETA X, Z1 and V.
|
|
684
|
+
*/
|
|
685
|
+
wlanFrequencySupport?: WlanFrequencyEnum[];
|
|
686
|
+
/**
|
|
687
|
+
* Whether the camera's WLAN CL mode uses 2.4 GHz, 5.2 GHz, or 5.8 GHz frequencies
|
|
688
|
+
*
|
|
689
|
+
* For RICOH THETA A1
|
|
690
|
+
*/
|
|
691
|
+
wlanFrequencyClMode?: WlanFrequencyClMode;
|
|
639
692
|
/** GPS setting used in only capturing */
|
|
640
693
|
_gpsTagRecording?: GpsTagRecordingEnum;
|
|
641
694
|
};
|
|
695
|
+
|
|
696
|
+
export type ValueRange = {
|
|
697
|
+
/** maximum value */
|
|
698
|
+
max: number;
|
|
699
|
+
/** minimum value */
|
|
700
|
+
min: number;
|
|
701
|
+
/** step size */
|
|
702
|
+
stepSize: number;
|
|
703
|
+
};
|
|
@@ -84,8 +84,12 @@ export type StorageEnum = (typeof StorageEnum)[keyof typeof StorageEnum];
|
|
|
84
84
|
|
|
85
85
|
/** Video codec */
|
|
86
86
|
export const CodecEnum = {
|
|
87
|
+
/** Undefined value */
|
|
88
|
+
UNKNOWN: 'UNKNOWN',
|
|
87
89
|
/** codec H.264/MPEG-4 AVC */
|
|
88
90
|
H264MP4AVC: 'H264MP4AVC',
|
|
91
|
+
/** codec H.265/HEVC */
|
|
92
|
+
H265HEVC: 'H265HEVC',
|
|
89
93
|
} as const;
|
|
90
94
|
|
|
91
95
|
/** type definition of CodecEnum */
|
|
@@ -14,6 +14,8 @@ export const ThetaModel = {
|
|
|
14
14
|
THETA_SC2: 'THETA_SC2',
|
|
15
15
|
/** THETA SC2 for business */
|
|
16
16
|
THETA_SC2_B: 'THETA_SC2_B',
|
|
17
|
+
/** THETA A1 */
|
|
18
|
+
THETA_A1: 'THETA_A1',
|
|
17
19
|
} as const;
|
|
18
20
|
|
|
19
21
|
/** type definition of ThetaModel */
|
|
@@ -27,7 +29,13 @@ export type ThetaInfo = {
|
|
|
27
29
|
model: string;
|
|
28
30
|
/** Theta serial number */
|
|
29
31
|
serialNumber: string;
|
|
30
|
-
/** MAC address of wireless LAN
|
|
32
|
+
/** MAC address of wireless LAN
|
|
33
|
+
* (RICOH THETA V firmware v2.11.1 or later)
|
|
34
|
+
*
|
|
35
|
+
* For THETA X, firmware versions v2.63.0 and earlier display `the communication MAC address`,
|
|
36
|
+
* while v2.71.1 and later diplay `the physical MAC address`.
|
|
37
|
+
* For other than THETA X, `the physical MAC address` is displayed.
|
|
38
|
+
*/
|
|
31
39
|
wlanMacAddress: string | null;
|
|
32
40
|
/** MAC address of Bluetooth (RICOH THETA V firmware v2.11.1 or later) */
|
|
33
41
|
bluetoothMacAddress: string | null;
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
PhotoCaptureBuilder,
|
|
23
23
|
VideoCaptureBuilder,
|
|
24
24
|
TimeShiftCaptureBuilder,
|
|
25
|
+
TimeShiftManualCaptureBuilder,
|
|
25
26
|
LimitlessIntervalCaptureBuilder,
|
|
26
27
|
ShotCountSpecifiedIntervalCaptureBuilder,
|
|
27
28
|
CompositeIntervalCaptureBuilder,
|
|
@@ -33,9 +34,36 @@ import type { ThetaConfig } from './theta-config';
|
|
|
33
34
|
import type { ThetaTimeout } from './theta-timeout';
|
|
34
35
|
import { NotifyController } from './notify-controller';
|
|
35
36
|
import { EventWebSocket } from './event-websocket';
|
|
36
|
-
import { convertVideoFormatsImpl } from './libs';
|
|
37
|
+
import { convertOptions, convertVideoFormatsImpl } from './libs';
|
|
37
38
|
const ThetaClientReactNative = NativeModules.ThetaClientReactNative;
|
|
38
39
|
|
|
40
|
+
const NOTIFY_API_LOG = 'API-LOG';
|
|
41
|
+
let apiLogListener: ((message: string) => void) | undefined;
|
|
42
|
+
|
|
43
|
+
async function setNotifyApiLogListener(listener?: (message: string) => void) {
|
|
44
|
+
if (listener) {
|
|
45
|
+
NotifyController.instance.addNotify(NOTIFY_API_LOG, (event) => {
|
|
46
|
+
listener(event.params.message);
|
|
47
|
+
});
|
|
48
|
+
} else {
|
|
49
|
+
NotifyController.instance.removeNotify(NOTIFY_API_LOG);
|
|
50
|
+
}
|
|
51
|
+
await ThetaClientReactNative.setApiLogListener(listener != null);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Set up a log listener for THETA API calls
|
|
56
|
+
*
|
|
57
|
+
* @param listener Called when there is a THETA API request and response; if undefined, unregister.
|
|
58
|
+
*/
|
|
59
|
+
export async function setApiLogListener(listener?: (message: string) => void) {
|
|
60
|
+
if (!NotifyController.instance.isInit()) {
|
|
61
|
+
NotifyController.instance.init();
|
|
62
|
+
}
|
|
63
|
+
apiLogListener = listener;
|
|
64
|
+
await setNotifyApiLogListener(apiLogListener);
|
|
65
|
+
}
|
|
66
|
+
|
|
39
67
|
/**
|
|
40
68
|
* initialize theta client sdk
|
|
41
69
|
*
|
|
@@ -45,12 +73,15 @@ const ThetaClientReactNative = NativeModules.ThetaClientReactNative;
|
|
|
45
73
|
* @param {ThetaTimeout} timeout Timeout of HTTP call.
|
|
46
74
|
* @return promise of boolean result
|
|
47
75
|
**/
|
|
48
|
-
export function initialize(
|
|
76
|
+
export async function initialize(
|
|
49
77
|
endPoint: string = 'http://192.168.1.1',
|
|
50
78
|
config?: ThetaConfig,
|
|
51
79
|
timeout?: ThetaTimeout
|
|
52
80
|
): Promise<boolean> {
|
|
53
81
|
NotifyController.instance.init();
|
|
82
|
+
if (apiLogListener) {
|
|
83
|
+
await setNotifyApiLogListener(apiLogListener);
|
|
84
|
+
}
|
|
54
85
|
|
|
55
86
|
return ThetaClientReactNative.initialize(endPoint, config, timeout);
|
|
56
87
|
}
|
|
@@ -65,6 +96,19 @@ export function isInitialized(): Promise<boolean> {
|
|
|
65
96
|
return ThetaClientReactNative.isInitialized();
|
|
66
97
|
}
|
|
67
98
|
|
|
99
|
+
/**
|
|
100
|
+
* Turn off/on (reboot) the camera.
|
|
101
|
+
* Supported models are THETA A1 only.
|
|
102
|
+
*
|
|
103
|
+
* Error when connecting in CL mode for Japan-bound models only
|
|
104
|
+
*
|
|
105
|
+
* @function reboot
|
|
106
|
+
* @return promise
|
|
107
|
+
*/
|
|
108
|
+
export function reboot(): Promise<void> {
|
|
109
|
+
return ThetaClientReactNative.reboot();
|
|
110
|
+
}
|
|
111
|
+
|
|
68
112
|
/**
|
|
69
113
|
* Reset all device settings and capture settings.
|
|
70
114
|
* After reset, the camera will be restarted.
|
|
@@ -96,6 +140,16 @@ export function getTimeShiftCaptureBuilder(): TimeShiftCaptureBuilder {
|
|
|
96
140
|
return new TimeShiftCaptureBuilder();
|
|
97
141
|
}
|
|
98
142
|
|
|
143
|
+
/**
|
|
144
|
+
* Get TimeShiftManualCaptureBuilder for manual time-shift.
|
|
145
|
+
*
|
|
146
|
+
* @function getTimeShiftManualCaptureBuilder
|
|
147
|
+
* @return created TimeShiftManualCaptureBuilder
|
|
148
|
+
*/
|
|
149
|
+
export function getTimeShiftManualCaptureBuilder(): TimeShiftManualCaptureBuilder {
|
|
150
|
+
return new TimeShiftManualCaptureBuilder();
|
|
151
|
+
}
|
|
152
|
+
|
|
99
153
|
/**
|
|
100
154
|
* Get VideoCapture.Builder for capture video.
|
|
101
155
|
*
|
|
@@ -415,8 +469,13 @@ export function deleteAllVideoFiles(): Promise<boolean> {
|
|
|
415
469
|
* @param {OptionNameEnum[]} optionNames List of OptionNameEnum.
|
|
416
470
|
* @return promise of Options acquired
|
|
417
471
|
*/
|
|
418
|
-
export function getOptions(
|
|
419
|
-
|
|
472
|
+
export async function getOptions(
|
|
473
|
+
optionNames: OptionNameEnum[]
|
|
474
|
+
): Promise<Options> {
|
|
475
|
+
const response = await ThetaClientReactNative.getOptions(optionNames);
|
|
476
|
+
const { options, json } = response;
|
|
477
|
+
const result = convertOptions(options, json);
|
|
478
|
+
return result;
|
|
420
479
|
}
|
|
421
480
|
|
|
422
481
|
/**
|
|
@@ -456,29 +515,39 @@ export function listAccessPoints(): Promise<AccessPoint[]> {
|
|
|
456
515
|
*
|
|
457
516
|
* @function setAccessPointDynamically
|
|
458
517
|
* @param {string} ssid SSID of the access point.
|
|
459
|
-
* @param {
|
|
460
|
-
* @param {
|
|
461
|
-
* @param {
|
|
462
|
-
* @param {
|
|
463
|
-
* @param {
|
|
518
|
+
* @param {} params - Optional parameters for additional configuration.
|
|
519
|
+
* @param {boolean} params.ssidStealth true if SSID stealth is enabled.
|
|
520
|
+
* @param {AuthModeEnum} params.authMode Authentication mode.
|
|
521
|
+
* @param {string} params.password Password. Not set if authMode is “NONE”.
|
|
522
|
+
* @param {number} params.connectionPriority Connection priority 1 to 5.
|
|
523
|
+
* @param {Proxy} params.proxy Proxy information to be used for the access point.
|
|
464
524
|
* @return promise of boolean result
|
|
465
525
|
*/
|
|
466
526
|
export function setAccessPointDynamically(
|
|
467
527
|
ssid: string,
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
528
|
+
params?: {
|
|
529
|
+
ssidStealth?: boolean;
|
|
530
|
+
authMode?: AuthModeEnum;
|
|
531
|
+
password?: string;
|
|
532
|
+
connectionPriority?: number;
|
|
533
|
+
proxy?: Proxy;
|
|
534
|
+
}
|
|
473
535
|
): Promise<boolean> {
|
|
474
|
-
|
|
536
|
+
const {
|
|
537
|
+
ssidStealth,
|
|
538
|
+
authMode = AuthModeEnum.NONE,
|
|
539
|
+
password,
|
|
540
|
+
connectionPriority,
|
|
541
|
+
proxy,
|
|
542
|
+
} = params ?? {};
|
|
543
|
+
return ThetaClientReactNative.setAccessPointDynamically({
|
|
475
544
|
ssid,
|
|
476
545
|
ssidStealth,
|
|
477
546
|
authMode,
|
|
478
547
|
password,
|
|
479
548
|
connectionPriority,
|
|
480
|
-
proxy
|
|
481
|
-
);
|
|
549
|
+
proxy,
|
|
550
|
+
});
|
|
482
551
|
}
|
|
483
552
|
|
|
484
553
|
/**
|
|
@@ -486,28 +555,44 @@ export function setAccessPointDynamically(
|
|
|
486
555
|
*
|
|
487
556
|
* @function setAccessPointStatically
|
|
488
557
|
* @param {string} ssid SSID of the access point.
|
|
489
|
-
* @param {boolean} ssidStealth True if SSID stealth is enabled.
|
|
490
|
-
* @param {AuthModeEnum} authMode Authentication mode.
|
|
491
|
-
* @param {string} password Password. If authMode is "NONE", pass empty String.
|
|
492
|
-
* @param {number} connectionPriority Connection priority 1 to 5.
|
|
493
558
|
* @param {string} ipAddress IP address assigns to Theta.
|
|
494
559
|
* @param {string} subnetMask Subnet mask.
|
|
495
560
|
* @param {string} defaultGateway Default gateway.
|
|
496
|
-
* @param {
|
|
561
|
+
* @param {} params - Optional parameters for additional configuration.
|
|
562
|
+
* @param {boolean} params.ssidStealth True if SSID stealth is enabled.
|
|
563
|
+
* @param {AuthModeEnum} params.authMode Authentication mode.
|
|
564
|
+
* @param {string} params.password Password. Not set if authMode is “NONE”.
|
|
565
|
+
* @param {number} params.connectionPriority Connection priority 1 to 5.
|
|
566
|
+
* @param {string} params.dns1 Primary DNS server.
|
|
567
|
+
* @param {string} params.dns2 Secondary DNS server.
|
|
568
|
+
* @param {Proxy} params.proxy Proxy information to be used for the access point.
|
|
497
569
|
* @return promise of boolean result
|
|
498
570
|
*/
|
|
499
571
|
export function setAccessPointStatically(
|
|
500
572
|
ssid: string,
|
|
501
|
-
ssidStealth: boolean = false,
|
|
502
|
-
authMode: AuthModeEnum = AuthModeEnum.NONE,
|
|
503
|
-
password: string = '',
|
|
504
|
-
connectionPriority: number = 1,
|
|
505
573
|
ipAddress: string,
|
|
506
574
|
subnetMask: string,
|
|
507
575
|
defaultGateway: string,
|
|
508
|
-
|
|
576
|
+
params?: {
|
|
577
|
+
ssidStealth?: boolean;
|
|
578
|
+
authMode: AuthModeEnum;
|
|
579
|
+
password?: string;
|
|
580
|
+
connectionPriority?: number;
|
|
581
|
+
dns1?: string;
|
|
582
|
+
dns2?: string;
|
|
583
|
+
proxy?: Proxy;
|
|
584
|
+
}
|
|
509
585
|
): Promise<boolean> {
|
|
510
|
-
|
|
586
|
+
const {
|
|
587
|
+
ssidStealth,
|
|
588
|
+
authMode = AuthModeEnum.NONE,
|
|
589
|
+
password,
|
|
590
|
+
connectionPriority,
|
|
591
|
+
dns1,
|
|
592
|
+
dns2,
|
|
593
|
+
proxy,
|
|
594
|
+
} = params ?? {};
|
|
595
|
+
return ThetaClientReactNative.setAccessPointStatically({
|
|
511
596
|
ssid,
|
|
512
597
|
ssidStealth,
|
|
513
598
|
authMode,
|
|
@@ -516,8 +601,10 @@ export function setAccessPointStatically(
|
|
|
516
601
|
ipAddress,
|
|
517
602
|
subnetMask,
|
|
518
603
|
defaultGateway,
|
|
519
|
-
|
|
520
|
-
|
|
604
|
+
dns1,
|
|
605
|
+
dns2,
|
|
606
|
+
proxy,
|
|
607
|
+
});
|
|
521
608
|
}
|
|
522
609
|
|
|
523
610
|
/**
|
|
@@ -20,6 +20,11 @@ export const CaptureStatusEnum = {
|
|
|
20
20
|
RETROSPECTIVE_IMAGE_RECORDING: 'RETROSPECTIVE_IMAGE_RECORDING',
|
|
21
21
|
/** Performing burst shooting */
|
|
22
22
|
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
|
+
TIME_SHIFT_SHOOTING_IDLE: 'TIME_SHIFT_SHOOTING_IDLE',
|
|
23
28
|
} as const;
|
|
24
29
|
|
|
25
30
|
/** type definition of CaptureStatusEnum */
|