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.
- 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 +570 -102
- package/ios/ThetaClientReactNative.m +25 -15
- package/ios/ThetaClientReactNative.swift +296 -120
- 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/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/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/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/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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* _compassDirectionRef
|
|
3
|
+
*/
|
|
4
|
+
export const CompassDirectionRefEnum = {
|
|
5
|
+
/** Undefined value */
|
|
6
|
+
UNKNOWN: 'UNKNOWN',
|
|
7
|
+
/**
|
|
8
|
+
* If GPS positioning is available, record in true north;
|
|
9
|
+
* if GPS is off or not available, record in magnetic north.
|
|
10
|
+
*/
|
|
11
|
+
AUTO: 'AUTO',
|
|
12
|
+
/**
|
|
13
|
+
* If the azimuth is set to true north, GPS is turned off, or positioning is not possible,
|
|
14
|
+
* the azimuth information is not recorded (positioning information is required for conversion).
|
|
15
|
+
*/
|
|
16
|
+
TRUE_NORTH: 'TRUE_NORTH',
|
|
17
|
+
/**
|
|
18
|
+
* Do not set azimuth to true north, set azimuth to magnetic north
|
|
19
|
+
*/
|
|
20
|
+
MAGNETIC: 'MAGNETIC',
|
|
21
|
+
} as const;
|
|
22
|
+
|
|
23
|
+
/** type definition of CompassDirectionRefEnum */
|
|
24
|
+
export type CompassDirectionRefEnum =
|
|
25
|
+
(typeof CompassDirectionRefEnum)[keyof typeof CompassDirectionRefEnum];
|
|
@@ -8,13 +8,17 @@ import type { Proxy } from './option-proxy';
|
|
|
8
8
|
*/
|
|
9
9
|
export type EthernetConfig = {
|
|
10
10
|
/** Using DHCP or not */
|
|
11
|
-
usingDhcp
|
|
12
|
-
/** (optional) IPv4 for IP address */
|
|
11
|
+
usingDhcp: boolean;
|
|
12
|
+
/** (optional) IPv4 for IP address. Do not specify this property when usingDhcp is true. */
|
|
13
13
|
ipAddress?: string;
|
|
14
|
-
/** (optional) IPv4 for subnet mask */
|
|
14
|
+
/** (optional) IPv4 for subnet mask. Do not specify this property when usingDhcp is true. */
|
|
15
15
|
subnetMask?: string;
|
|
16
|
-
/** (optional) IPv4 for default gateway */
|
|
16
|
+
/** (optional) IPv4 for default gateway. Do not specify this property when usingDhcp is true. */
|
|
17
17
|
defaultGateway?: string;
|
|
18
|
+
/** (optional) IPv4 for Primary DNS server. Do not specify this property when usingDhcp is true. */
|
|
19
|
+
dns1?: string;
|
|
20
|
+
/** (optional) IPv4 for Secondary DNS server. Do not specify this property when usingDhcp is true. */
|
|
21
|
+
dns2?: string;
|
|
18
22
|
/**
|
|
19
23
|
* (optional) refer to _proxy for detail
|
|
20
24
|
*
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/** Exposure compensation (EV). */
|
|
2
|
+
export const ExposureCompensationEnum = {
|
|
3
|
+
/** Undefined value */
|
|
4
|
+
UNKNOWN: 'UNKNOWN',
|
|
5
|
+
/** -4.0 */
|
|
6
|
+
M_4_0: 'M4_0',
|
|
7
|
+
/** -3.7 */
|
|
8
|
+
M_3_7: 'M3_7',
|
|
9
|
+
/** -3.3 */
|
|
10
|
+
M_3_3: 'M3_3',
|
|
11
|
+
/** -3.0 */
|
|
12
|
+
M_3_0: 'M3_0',
|
|
13
|
+
/** -2.7 */
|
|
14
|
+
M_2_7: 'M2_7',
|
|
15
|
+
/** -2.3 */
|
|
16
|
+
M_2_3: 'M2_3',
|
|
17
|
+
/** -2.0 */
|
|
18
|
+
M_2_0: 'M2_0',
|
|
19
|
+
/** -1.7 */
|
|
20
|
+
M_1_7: 'M1_7',
|
|
21
|
+
/** -1.3 */
|
|
22
|
+
M_1_3: 'M1_3',
|
|
23
|
+
/** -1.0 */
|
|
24
|
+
M_1_0: 'M1_0',
|
|
25
|
+
/** -0.7 */
|
|
26
|
+
M_0_7: 'M0_7',
|
|
27
|
+
/** -0.3 */
|
|
28
|
+
M_0_3: 'M0_3',
|
|
29
|
+
/** 0 */
|
|
30
|
+
ZERO: 'ZERO',
|
|
31
|
+
/** 0.3 */
|
|
32
|
+
P_0_3: 'P0_3',
|
|
33
|
+
/** 0.7 */
|
|
34
|
+
P_0_7: 'P0_7',
|
|
35
|
+
/** 1.0 */
|
|
36
|
+
P_1_0: 'P1_0',
|
|
37
|
+
/** 1.3 */
|
|
38
|
+
P_1_3: 'P1_3',
|
|
39
|
+
/** 1.7 */
|
|
40
|
+
P_1_7: 'P1_7',
|
|
41
|
+
/** 2.0 */
|
|
42
|
+
P_2_0: 'P2_0',
|
|
43
|
+
/** 2.3 */
|
|
44
|
+
P_2_3: 'P2_3',
|
|
45
|
+
/** 2.7 */
|
|
46
|
+
P_2_7: 'P2_7',
|
|
47
|
+
/** 3.0 */
|
|
48
|
+
P_3_0: 'P3_0',
|
|
49
|
+
/** 3.3 */
|
|
50
|
+
P_3_3: 'P3_3',
|
|
51
|
+
/** 3.7 */
|
|
52
|
+
P_3_7: 'P3_7',
|
|
53
|
+
/** 4.0 */
|
|
54
|
+
P_4_0: 'P4_0',
|
|
55
|
+
} as const;
|
|
56
|
+
|
|
57
|
+
/** type definition of ExposureCompensationEnum */
|
|
58
|
+
export type ExposureCompensationEnum =
|
|
59
|
+
(typeof ExposureCompensationEnum)[keyof typeof ExposureCompensationEnum];
|
|
@@ -44,6 +44,8 @@ export const VideoFileFormatEnum = {
|
|
|
44
44
|
VIDEO_4K: 'VIDEO_4K',
|
|
45
45
|
/** mp4 3840 x 1920 no codec */
|
|
46
46
|
VIDEO_4K_NO_CODEC: 'VIDEO_4K_NO_CODEC',
|
|
47
|
+
/** mp4 1920 x 960 15fps */
|
|
48
|
+
VIDEO_2K_15F: 'VIDEO_2K_15F',
|
|
47
49
|
/** mp4 1920 x 960 30fps */
|
|
48
50
|
VIDEO_2K_30F: 'VIDEO_2K_30F',
|
|
49
51
|
/** mp4 1920 x 960 60fps */
|
|
@@ -64,6 +66,10 @@ export const VideoFileFormatEnum = {
|
|
|
64
66
|
VIDEO_3_6K_1F: 'VIDEO_3_6K_1F',
|
|
65
67
|
/** mp4 3648 x 3648 2fps */
|
|
66
68
|
VIDEO_3_6K_2F: 'VIDEO_3_6K_2F',
|
|
69
|
+
/** mp4 3840 x 1920 2fps */
|
|
70
|
+
VIDEO_4K_2F: 'VIDEO_4K_2F',
|
|
71
|
+
/** mp4 3840 x 1920 5fps */
|
|
72
|
+
VIDEO_4K_5F: 'VIDEO_4K_5F',
|
|
67
73
|
/** mp4 3840 x 1920 10fps */
|
|
68
74
|
VIDEO_4K_10F: 'VIDEO_4K_10F',
|
|
69
75
|
/** mp4 3840 x 1920 15fps */
|
|
@@ -88,6 +94,29 @@ export const VideoFileFormatEnum = {
|
|
|
88
94
|
VIDEO_7K_5F: 'VIDEO_7K_5F',
|
|
89
95
|
/** mp4 7680 x 3840 10fps */
|
|
90
96
|
VIDEO_7K_10F: 'VIDEO_7K_10F',
|
|
97
|
+
|
|
98
|
+
/** mp4 1920 x 960 30fps H.265/HEVC */
|
|
99
|
+
VIDEO_2K_30F_H265_HEVC: 'VIDEO_2K_30F_H265_HEVC',
|
|
100
|
+
/** mp4 3840 x 1920 2fps H.265/HEVC */
|
|
101
|
+
VIDEO_4K_2F_H265_HEVC: 'VIDEO_4K_2F_H265_HEVC',
|
|
102
|
+
/** mp4 3840 x 1920 5fps H.265/HEVC */
|
|
103
|
+
VIDEO_4K_5F_H265_HEVC: 'VIDEO_4K_5F_H265_HEVC',
|
|
104
|
+
/** mp4 3840 x 1920 10fps H.265/HEVC */
|
|
105
|
+
VIDEO_4K_10F_H265_HEVC: 'VIDEO_4K_10F_H265_HEVC',
|
|
106
|
+
/** mp4 3840 x 1920 30fps H.265/HEVC */
|
|
107
|
+
VIDEO_4K_30F_H265_HEVC: 'VIDEO_4K_30F_H265_HEVC',
|
|
108
|
+
/** mp4 5760 x 2880 2fps H.265/HEVC */
|
|
109
|
+
VIDEO_5_7K_2F_H265_HEVC: 'VIDEO_5_7K_2F_H265_HEVC',
|
|
110
|
+
/** mp4 5760 x 2880 5fps H.265/HEVC */
|
|
111
|
+
VIDEO_5_7K_5F_H265_HEVC: 'VIDEO_5_7K_5F_H265_HEVC',
|
|
112
|
+
/** mp4 5760 x 2880 10fps H.265/HEVC */
|
|
113
|
+
VIDEO_5_7K_10F_H265_HEVC: 'VIDEO_5_7K_10F_H265_HEVC',
|
|
114
|
+
/** mp4 7680 x 3840 2fps H.265/HEVC */
|
|
115
|
+
VIDEO_7K_2F_H265_HEVC: 'VIDEO_7K_2F_H265_HEVC',
|
|
116
|
+
/** mp4 7680 x 3840 5fps H.265/HEVC */
|
|
117
|
+
VIDEO_7K_5F_H265_HEVC: 'VIDEO_7K_5F_H265_HEVC',
|
|
118
|
+
/** mp4 7680 x 3840 10fps H.265/HEVC */
|
|
119
|
+
VIDEO_7K_10F_H265_HEVC: 'VIDEO_7K_10F_H265_HEVC',
|
|
91
120
|
} as const;
|
|
92
121
|
|
|
93
122
|
/** type definition of PhotoFileFormatEnum */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Turns position information assigning ON/OFF. */
|
|
2
|
+
export const GpsTagRecordingEnum = {
|
|
3
|
+
/** Undefined value */
|
|
4
|
+
UNKNOWN: 'UNKNOWN',
|
|
5
|
+
/** Position information assigning ON. */
|
|
6
|
+
ON: 'ON',
|
|
7
|
+
/** Position information assigning OFF. */
|
|
8
|
+
OFF: 'OFF',
|
|
9
|
+
} as const;
|
|
10
|
+
|
|
11
|
+
/** type definition of GpsTagRecordingEnum */
|
|
12
|
+
export type GpsTagRecordingEnum =
|
|
13
|
+
(typeof GpsTagRecordingEnum)[keyof typeof GpsTagRecordingEnum];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Built-in microphone noise reduction.
|
|
3
|
+
*
|
|
4
|
+
* 1) Video: Ignore changes during recording
|
|
5
|
+
* 2) Live Streaming: Ignore changes during delivery
|
|
6
|
+
*/
|
|
7
|
+
export const MicrophoneNoiseReductionEnum = {
|
|
8
|
+
/** Undefined value */
|
|
9
|
+
UNKNOWN: 'UNKNOWN',
|
|
10
|
+
/** ON */
|
|
11
|
+
ON: 'ON',
|
|
12
|
+
/** OFF */
|
|
13
|
+
OFF: 'OFF',
|
|
14
|
+
} as const;
|
|
15
|
+
|
|
16
|
+
/** type definition of MicrophoneNoiseReductionEnum */
|
|
17
|
+
export type MicrophoneNoiseReductionEnum =
|
|
18
|
+
(typeof MicrophoneNoiseReductionEnum)[keyof typeof MicrophoneNoiseReductionEnum];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mobile Network Settings
|
|
3
|
+
*/
|
|
4
|
+
export type MobileNetworkSetting = {
|
|
5
|
+
/**
|
|
6
|
+
* @see RoamingEnum
|
|
7
|
+
*/
|
|
8
|
+
roaming?: RoamingEnum;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @see PlanEnum
|
|
12
|
+
*/
|
|
13
|
+
plan?: PlanEnum;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Roaming of MobileNetworkSetting
|
|
18
|
+
*/
|
|
19
|
+
export const RoamingEnum = {
|
|
20
|
+
UNKNOWN: 'UNKNOWN',
|
|
21
|
+
OFF: 'OFF',
|
|
22
|
+
ON: 'ON',
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
/** Type definition of RoamingEnum */
|
|
26
|
+
export type RoamingEnum = (typeof RoamingEnum)[keyof typeof RoamingEnum];
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Plan of MobileNetworkSetting
|
|
30
|
+
*/
|
|
31
|
+
export const PlanEnum = {
|
|
32
|
+
UNKNOWN: 'UNKNOWN',
|
|
33
|
+
SORACOM: 'SORACOM',
|
|
34
|
+
SORACOM_PLAN_DU: 'SORACOM_PLAN_DU',
|
|
35
|
+
} as const;
|
|
36
|
+
|
|
37
|
+
/** Type definition of PlanEnum */
|
|
38
|
+
export type PlanEnum = (typeof PlanEnum)[keyof typeof PlanEnum];
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
* Network type of the camera.
|
|
3
3
|
* Can be acquired by camera.getOptions and set by camera.setOptions.
|
|
4
4
|
*
|
|
5
|
-
* For Theta X, Z1 and V.
|
|
5
|
+
* For Theta A1, X, Z1 and V.
|
|
6
6
|
*/
|
|
7
7
|
export const NetworkTypeEnum = {
|
|
8
|
+
/** Undefined value */
|
|
9
|
+
UNKNOWN: 'UNKNOWN',
|
|
8
10
|
/** Direct mode */
|
|
9
11
|
DIRECT: 'DIRECT',
|
|
10
12
|
/** Client mode via WLAN */
|
|
@@ -13,6 +15,20 @@ export const NetworkTypeEnum = {
|
|
|
13
15
|
ETHERNET: 'ETHERNET',
|
|
14
16
|
/** Network is off. This value can be gotten only by plugin. */
|
|
15
17
|
OFF: 'OFF',
|
|
18
|
+
/** LTE plan-D */
|
|
19
|
+
LTE_D: 'LTE_D',
|
|
20
|
+
/** LTE plan-DU */
|
|
21
|
+
LTE_DU: 'LTE_DU',
|
|
22
|
+
/** LTE plan01s */
|
|
23
|
+
LTE_01S: 'LTE_01S',
|
|
24
|
+
/** LTE planX3 */
|
|
25
|
+
LTE_X3: 'LTE_X3',
|
|
26
|
+
/** LTE planP1 */
|
|
27
|
+
LTE_P1: 'LTE_P1',
|
|
28
|
+
/** LTE plan-K2 */
|
|
29
|
+
LTE_K2: 'LTE_K2',
|
|
30
|
+
/** LTE plan-K */
|
|
31
|
+
LTE_K: 'LTE_K',
|
|
16
32
|
} as const;
|
|
17
33
|
|
|
18
34
|
/** Type definition of NetworkTypeEnum */
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto power off time with USB power supply.
|
|
3
|
+
*
|
|
4
|
+
* For RICOH THETA A1
|
|
5
|
+
*/
|
|
6
|
+
export const OffDelayUsbEnum = {
|
|
7
|
+
/** Do not turn power off. */
|
|
8
|
+
DISABLE: 'DISABLE',
|
|
9
|
+
/** Power off after 10 minutes.(600sec) */
|
|
10
|
+
OFF_DELAY_10M: 'OFF_DELAY_10M',
|
|
11
|
+
/** Power off after 1 hour.(3,600sec) */
|
|
12
|
+
OFF_DELAY_1H: 'OFF_DELAY_1H',
|
|
13
|
+
/** Power off after 2 hour.(7,200sec) */
|
|
14
|
+
OFF_DELAY_2H: 'OFF_DELAY_2H',
|
|
15
|
+
/** Power off after 4 hour.(14,400sec) */
|
|
16
|
+
OFF_DELAY_4H: 'OFF_DELAY_4H',
|
|
17
|
+
/** Power off after 8 hour.(28,800sec) */
|
|
18
|
+
OFF_DELAY_8H: 'OFF_DELAY_8H',
|
|
19
|
+
/** Power off after 12 hour.(43,200sec) */
|
|
20
|
+
OFF_DELAY_12H: 'OFF_DELAY_12H',
|
|
21
|
+
/** Power off after 18 hour.(64,800sec) */
|
|
22
|
+
OFF_DELAY_18H: 'OFF_DELAY_18H',
|
|
23
|
+
/** Power off after 24 hour.(86,400sec) */
|
|
24
|
+
OFF_DELAY_24H: 'OFF_DELAY_24H',
|
|
25
|
+
/** Power off after 2 days.(172,800sec) */
|
|
26
|
+
OFF_DELAY_2D: 'OFF_DELAY_2D',
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
/** type definition of OffDelayEnum */
|
|
30
|
+
export type OffDelayUsbEnum =
|
|
31
|
+
| (typeof OffDelayUsbEnum)[keyof typeof OffDelayUsbEnum]
|
|
32
|
+
| number;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Get time(seconds) from OffDelayEnum
|
|
36
|
+
* @param offDelayUsb enum of OffDelayUsb
|
|
37
|
+
* @returns time(seconds)
|
|
38
|
+
*/
|
|
39
|
+
export function offDelayUsbToSeconds(offDelayUsb: OffDelayUsbEnum): number {
|
|
40
|
+
if (typeof offDelayUsb === 'number') {
|
|
41
|
+
return offDelayUsb;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const table: Record<OffDelayUsbEnum, number> = {
|
|
45
|
+
DISABLE: 0,
|
|
46
|
+
OFF_DELAY_10M: 600,
|
|
47
|
+
OFF_DELAY_1H: 3600,
|
|
48
|
+
OFF_DELAY_2H: 7200,
|
|
49
|
+
OFF_DELAY_4H: 14400,
|
|
50
|
+
OFF_DELAY_8H: 28800,
|
|
51
|
+
OFF_DELAY_12H: 43200,
|
|
52
|
+
OFF_DELAY_18H: 64800,
|
|
53
|
+
OFF_DELAY_24H: 86400,
|
|
54
|
+
OFF_DELAY_2D: 172800,
|
|
55
|
+
};
|
|
56
|
+
return table[offDelayUsb];
|
|
57
|
+
}
|
|
@@ -2,23 +2,29 @@
|
|
|
2
2
|
* Format of live view
|
|
3
3
|
*/
|
|
4
4
|
export const PreviewFormatEnum = {
|
|
5
|
+
/** Undefined value */
|
|
6
|
+
UNKNOWN: 'UNKNOWN',
|
|
5
7
|
/** width-height-framerate */
|
|
8
|
+
/** For Theta X firmware v2.71.1 or later */
|
|
9
|
+
W1920_H960_F30: 'W1920_H960_F30',
|
|
10
|
+
/** For Theta Z1 and V */
|
|
11
|
+
W1920_H960_F8: 'W1920_H960_F8',
|
|
6
12
|
/** For Theta X, Z1, V and SC2 */
|
|
7
13
|
W1024_H512_F30: 'W1024_H512_F30',
|
|
8
14
|
/** For Theta X. This value can't set. */
|
|
9
15
|
W1024_H512_F15: 'W1024_H512_F15',
|
|
10
|
-
/** For Theta
|
|
11
|
-
|
|
12
|
-
/** For Theta Z1 and V */
|
|
13
|
-
W1920_H960_F8: 'W1920_H960_F8',
|
|
16
|
+
/** For Theta A1 */
|
|
17
|
+
W1024_H512_F10: 'W1024_H512_F10',
|
|
14
18
|
/** For Theta Z1 and V */
|
|
15
19
|
W1024_H512_F8: 'W1024_H512_F8',
|
|
16
20
|
/** For Theta Z1 and V */
|
|
17
21
|
W640_H320_F30: 'W640_H320_F30',
|
|
18
|
-
/** For Theta Z1 and V */
|
|
19
|
-
W640_H320_F8: 'W640_H320_F8',
|
|
20
22
|
/** For Theta S and SC */
|
|
21
23
|
W640_H320_F10: 'W640_H320_F10',
|
|
24
|
+
/** For Theta Z1 and V */
|
|
25
|
+
W640_H320_F8: 'W640_H320_F8',
|
|
26
|
+
/** For Theta X */
|
|
27
|
+
W512_H512_F30: 'W512_H512_F30',
|
|
22
28
|
/** For Theta X */
|
|
23
29
|
W3840_H1920_F30: 'W3840_H1920_F30',
|
|
24
30
|
} as const;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ValueRange } from './options';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Supported TopBottomCorrectionRotation
|
|
5
|
+
*/
|
|
6
|
+
export type TopBottomCorrectionRotationSupport = {
|
|
7
|
+
/**
|
|
8
|
+
* Supported pitch
|
|
9
|
+
*/
|
|
10
|
+
pitch: ValueRange;
|
|
11
|
+
/**
|
|
12
|
+
* Supported roll
|
|
13
|
+
*/
|
|
14
|
+
roll: ValueRange;
|
|
15
|
+
/**
|
|
16
|
+
* Supported yaw
|
|
17
|
+
*/
|
|
18
|
+
yaw: ValueRange;
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* USB connection of the camera.
|
|
3
|
+
*
|
|
4
|
+
* Default value is "MTP".
|
|
5
|
+
* After switching the setting value, reconnect the camera to USB to enable it.
|
|
6
|
+
*/
|
|
7
|
+
export const UsbConnectionEnum = {
|
|
8
|
+
/** Undefined value */
|
|
9
|
+
UNKNOWN: 'UNKNOWN',
|
|
10
|
+
/** MTP */
|
|
11
|
+
MTP: 'MTP',
|
|
12
|
+
/** MSC */
|
|
13
|
+
MSC: 'MSC',
|
|
14
|
+
} as const;
|
|
15
|
+
|
|
16
|
+
/** type definition of UsbConnectionEnum */
|
|
17
|
+
export type UsbConnectionEnum =
|
|
18
|
+
(typeof UsbConnectionEnum)[keyof typeof UsbConnectionEnum];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configure SISO or MIMO for Wireless LAN.
|
|
3
|
+
*/
|
|
4
|
+
export const WlanAntennaConfigEnum = {
|
|
5
|
+
/** Undefined value */
|
|
6
|
+
UNKNOWN: 'UNKNOWN',
|
|
7
|
+
/** SISO */
|
|
8
|
+
SISO: 'SISO',
|
|
9
|
+
/** MIMO */
|
|
10
|
+
MIMO: 'MIMO',
|
|
11
|
+
} as const;
|
|
12
|
+
|
|
13
|
+
/** type definition of WlanAntennaConfigEnum */
|
|
14
|
+
export type WlanAntennaConfigEnum =
|
|
15
|
+
(typeof WlanAntennaConfigEnum)[keyof typeof WlanAntennaConfigEnum];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the camera's WLAN CL mode uses 2.4 GHz, 5.2 GHz, or 5.8 GHz frequencies.
|
|
3
|
+
*
|
|
4
|
+
* For RICOH THETA A1
|
|
5
|
+
*/
|
|
6
|
+
export type WlanFrequencyClMode = {
|
|
7
|
+
/**
|
|
8
|
+
* 2.4GHz
|
|
9
|
+
*/
|
|
10
|
+
enable2_4: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 5.2GHz
|
|
13
|
+
*/
|
|
14
|
+
enable5_2: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 5.8GHz
|
|
17
|
+
*/
|
|
18
|
+
enable5_8: boolean;
|
|
19
|
+
};
|
|
@@ -2,13 +2,19 @@
|
|
|
2
2
|
* Wireless LAN frequency of the camera.
|
|
3
3
|
* Can be acquired by camera.getOptions and set by camera.setOptions.
|
|
4
4
|
*
|
|
5
|
-
* For Theta X, Z1 amd V.
|
|
5
|
+
* For Theta A1, X, Z1 amd V.
|
|
6
6
|
*/
|
|
7
7
|
export const WlanFrequencyEnum = {
|
|
8
|
+
/** Undefined value */
|
|
9
|
+
UNKNOWN: 'UNKNOWN',
|
|
8
10
|
/** 2.4GHz */
|
|
9
11
|
GHZ_2_4: 'GHZ_2_4',
|
|
10
12
|
/** 5GHz */
|
|
11
13
|
GHZ_5: 'GHZ_5',
|
|
14
|
+
/** 5.2GHz */
|
|
15
|
+
GHZ_5_2: 'GHZ_5_2',
|
|
16
|
+
/** 5.8GHz */
|
|
17
|
+
GHZ_5_8: 'GHZ_5_8',
|
|
12
18
|
} as const;
|
|
13
19
|
|
|
14
20
|
/** type definition of WlanFrequency */
|