theta-client-react-native 1.6.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +115 -12
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +361 -1
- package/ios/ConvertUtil.swift +144 -19
- package/ios/ThetaClientReactNative.m +42 -0
- package/ios/ThetaClientReactNative.swift +419 -0
- package/lib/commonjs/capture/burst-capture.js +119 -0
- package/lib/commonjs/capture/burst-capture.js.map +1 -0
- package/lib/commonjs/capture/continuous-capture.js +108 -0
- package/lib/commonjs/capture/continuous-capture.js.map +1 -0
- package/lib/commonjs/capture/index.js +33 -0
- package/lib/commonjs/capture/index.js.map +1 -1
- package/lib/commonjs/capture/multi-bracket-capture.js +121 -0
- package/lib/commonjs/capture/multi-bracket-capture.js.map +1 -0
- package/lib/commonjs/index.js +1 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/theta-repository/access-point.js +1 -2
- package/lib/commonjs/theta-repository/access-point.js.map +1 -1
- package/lib/commonjs/theta-repository/options/index.js +33 -0
- package/lib/commonjs/theta-repository/options/index.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js +1 -2
- package/lib/commonjs/theta-repository/options/option-ai-auto-thumbnail.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-bitrate.js +1 -2
- package/lib/commonjs/theta-repository/options/option-bitrate.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-bluetooth-role.js +20 -0
- package/lib/commonjs/theta-repository/options/option-bluetooth-role.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-burst-mode.js +1 -2
- package/lib/commonjs/theta-repository/options/option-burst-mode.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-burst-option.js +11 -12
- package/lib/commonjs/theta-repository/options/option-burst-option.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-camera-control-source.js +1 -2
- package/lib/commonjs/theta-repository/options/option-camera-control-source.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-camera-mode.js +1 -2
- package/lib/commonjs/theta-repository/options/option-camera-mode.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-capture-mode.js +1 -2
- package/lib/commonjs/theta-repository/options/option-capture-mode.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-continuous-number.js +1 -2
- package/lib/commonjs/theta-repository/options/option-continuous-number.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-face-detect.js +1 -2
- package/lib/commonjs/theta-repository/options/option-face-detect.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-filter.js +1 -2
- package/lib/commonjs/theta-repository/options/option-filter.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-function.js +1 -2
- package/lib/commonjs/theta-repository/options/option-function.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-gain.js +1 -2
- package/lib/commonjs/theta-repository/options/option-gain.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-image-stitching.js +1 -2
- package/lib/commonjs/theta-repository/options/option-image-stitching.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-network-type.js +1 -2
- package/lib/commonjs/theta-repository/options/option-network-type.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-off-delay.js +42 -0
- package/lib/commonjs/theta-repository/options/option-off-delay.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-power-saving.js +1 -2
- package/lib/commonjs/theta-repository/options/option-power-saving.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-preset.js +1 -2
- package/lib/commonjs/theta-repository/options/option-preset.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-preview-format.js +1 -2
- package/lib/commonjs/theta-repository/options/option-preview-format.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-shooting-method.js +1 -2
- package/lib/commonjs/theta-repository/options/option-shooting-method.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-shutter-speed.js +1 -2
- package/lib/commonjs/theta-repository/options/option-shutter-speed.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-sleep-delay.js +42 -0
- package/lib/commonjs/theta-repository/options/option-sleep-delay.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-time-shift.js +1 -2
- package/lib/commonjs/theta-repository/options/option-time-shift.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-top-bottom-correction.js +1 -2
- package/lib/commonjs/theta-repository/options/option-top-bottom-correction.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-video-stitching.js +1 -2
- package/lib/commonjs/theta-repository/options/option-video-stitching.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-visibility-reduction.js +1 -2
- package/lib/commonjs/theta-repository/options/option-visibility-reduction.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-white-balance-auto-strength.js +1 -2
- package/lib/commonjs/theta-repository/options/option-white-balance-auto-strength.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-wlan-frequency.js +1 -2
- package/lib/commonjs/theta-repository/options/option-wlan-frequency.js.map +1 -1
- package/lib/commonjs/theta-repository/options/options.js +30 -62
- package/lib/commonjs/theta-repository/options/options.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-files.js +7 -8
- package/lib/commonjs/theta-repository/theta-files.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-info.js +1 -2
- package/lib/commonjs/theta-repository/theta-info.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-repository.js +38 -23
- package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
- package/lib/commonjs/theta-repository/{theta-state.js → theta-state/camera-error.js} +6 -53
- package/lib/commonjs/theta-repository/theta-state/camera-error.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-state/index.js +28 -0
- package/lib/commonjs/theta-repository/theta-state/index.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-state/theta-state.js +54 -0
- package/lib/commonjs/theta-repository/theta-state/theta-state.js.map +1 -0
- package/lib/module/capture/burst-capture.js +111 -0
- package/lib/module/capture/burst-capture.js.map +1 -0
- package/lib/module/capture/continuous-capture.js +100 -0
- package/lib/module/capture/continuous-capture.js.map +1 -0
- package/lib/module/capture/index.js +3 -0
- package/lib/module/capture/index.js.map +1 -1
- package/lib/module/capture/multi-bracket-capture.js +113 -0
- package/lib/module/capture/multi-bracket-capture.js.map +1 -0
- package/lib/module/theta-repository/options/index.js +3 -0
- package/lib/module/theta-repository/options/index.js.map +1 -1
- package/lib/module/theta-repository/options/option-bluetooth-role.js +14 -0
- package/lib/module/theta-repository/options/option-bluetooth-role.js.map +1 -0
- package/lib/module/theta-repository/options/option-off-delay.js +35 -0
- package/lib/module/theta-repository/options/option-off-delay.js.map +1 -0
- package/lib/module/theta-repository/options/option-sleep-delay.js +35 -0
- package/lib/module/theta-repository/options/option-sleep-delay.js.map +1 -0
- package/lib/module/theta-repository/options/options.js +2 -32
- package/lib/module/theta-repository/options/options.js.map +1 -1
- package/lib/module/theta-repository/theta-repository.js +36 -24
- package/lib/module/theta-repository/theta-repository.js.map +1 -1
- package/lib/module/theta-repository/{theta-state.js → theta-state/camera-error.js} +4 -50
- package/lib/module/theta-repository/theta-state/camera-error.js.map +1 -0
- package/lib/module/theta-repository/theta-state/index.js +3 -0
- package/lib/module/theta-repository/theta-state/index.js.map +1 -0
- package/lib/module/theta-repository/theta-state/theta-state.js +48 -0
- package/lib/module/theta-repository/theta-state/theta-state.js.map +1 -0
- package/lib/typescript/capture/burst-capture.d.ts +55 -0
- package/lib/typescript/capture/burst-capture.d.ts.map +1 -0
- package/lib/typescript/capture/continuous-capture.d.ts +49 -0
- package/lib/typescript/capture/continuous-capture.d.ts.map +1 -0
- package/lib/typescript/capture/index.d.ts +3 -0
- package/lib/typescript/capture/index.d.ts.map +1 -1
- package/lib/typescript/capture/multi-bracket-capture.d.ts +56 -0
- package/lib/typescript/capture/multi-bracket-capture.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/index.d.ts +3 -0
- package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-bluetooth-role.d.ts +14 -0
- package/lib/typescript/theta-repository/options/option-bluetooth-role.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-off-delay.d.ts +22 -0
- package/lib/typescript/theta-repository/options/option-off-delay.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-sleep-delay.d.ts +22 -0
- package/lib/typescript/theta-repository/options/option-sleep-delay.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/options.d.ts +7 -30
- package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-repository.d.ts +24 -2
- package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-state/camera-error.d.ts +55 -0
- package/lib/typescript/theta-repository/theta-state/camera-error.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-state/index.d.ts +3 -0
- package/lib/typescript/theta-repository/theta-state/index.d.ts.map +1 -0
- package/lib/typescript/theta-repository/{theta-state.d.ts → theta-state/theta-state.d.ts} +2 -53
- package/lib/typescript/theta-repository/theta-state/theta-state.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/capture/burst-capture.ts +169 -0
- package/src/capture/continuous-capture.ts +126 -0
- package/src/capture/index.ts +3 -0
- package/src/capture/multi-bracket-capture.ts +145 -0
- package/src/theta-repository/options/index.ts +3 -0
- package/src/theta-repository/options/option-bluetooth-role.ts +15 -0
- package/src/theta-repository/options/option-off-delay.ts +38 -0
- package/src/theta-repository/options/option-sleep-delay.ts +37 -0
- package/src/theta-repository/options/options.ts +7 -38
- package/src/theta-repository/theta-repository.ts +54 -0
- package/src/theta-repository/theta-state/camera-error.ts +56 -0
- package/src/theta-repository/theta-state/index.ts +2 -0
- package/src/theta-repository/{theta-state.ts → theta-state/theta-state.ts} +2 -56
- package/theta-client-react-native.podspec +1 -1
- package/lib/commonjs/theta-repository/theta-state.js.map +0 -1
- package/lib/module/theta-repository/theta-state.js.map +0 -1
- package/lib/typescript/theta-repository/theta-state.d.ts.map +0 -1
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { CaptureBuilder } from './capture';
|
|
2
|
+
import { NativeModules } from 'react-native';
|
|
3
|
+
import {
|
|
4
|
+
BaseNotify,
|
|
5
|
+
NotifyController,
|
|
6
|
+
} from '../theta-repository/notify-controller';
|
|
7
|
+
import type { BracketSetting } from 'src/theta-repository/options';
|
|
8
|
+
const ThetaClientReactNative = NativeModules.ThetaClientReactNative;
|
|
9
|
+
|
|
10
|
+
const NOTIFY_PROGRESS = 'MULTI-BRACKET-PROGRESS';
|
|
11
|
+
const NOTIFY_STOP_ERROR = 'MULTI-BRACKET-STOP-ERROR';
|
|
12
|
+
|
|
13
|
+
interface CaptureProgressNotify extends BaseNotify {
|
|
14
|
+
params?: {
|
|
15
|
+
completion: number;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface CaptureStopErrorNotify extends BaseNotify {
|
|
20
|
+
params?: {
|
|
21
|
+
message: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* MultiBracketCapture class
|
|
27
|
+
*/
|
|
28
|
+
export class MultiBracketCapture {
|
|
29
|
+
notify: NotifyController;
|
|
30
|
+
constructor(notify: NotifyController) {
|
|
31
|
+
this.notify = notify;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* start multi bracket shooting
|
|
36
|
+
* @param onProgress the block for multi bracket shooting onProgress
|
|
37
|
+
* @return promise of captured file urls
|
|
38
|
+
*/
|
|
39
|
+
async startCapture(
|
|
40
|
+
onProgress?: (completion?: number) => void,
|
|
41
|
+
onStopFailed?: (error: any) => void
|
|
42
|
+
): Promise<string[] | undefined> {
|
|
43
|
+
if (onProgress) {
|
|
44
|
+
this.notify.addNotify(NOTIFY_PROGRESS, (event: CaptureProgressNotify) => {
|
|
45
|
+
onProgress(event.params?.completion);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
if (onStopFailed) {
|
|
49
|
+
this.notify.addNotify(
|
|
50
|
+
NOTIFY_STOP_ERROR,
|
|
51
|
+
(event: CaptureStopErrorNotify) => {
|
|
52
|
+
onStopFailed(event.params);
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return new Promise<string[] | undefined>(async (resolve, reject) => {
|
|
58
|
+
await ThetaClientReactNative.startMultiBracketCapture()
|
|
59
|
+
.then((result?: string[]) => {
|
|
60
|
+
resolve(result ?? undefined);
|
|
61
|
+
})
|
|
62
|
+
.catch((error: any) => {
|
|
63
|
+
reject(error);
|
|
64
|
+
})
|
|
65
|
+
.finally(() => {
|
|
66
|
+
this.notify.removeNotify(NOTIFY_PROGRESS);
|
|
67
|
+
this.notify.removeNotify(NOTIFY_STOP_ERROR);
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* cancel multi bracket shooting
|
|
74
|
+
*/
|
|
75
|
+
async cancelCapture(): Promise<any> {
|
|
76
|
+
return await ThetaClientReactNative.cancelMultiBracketCapture();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* MultiBracketCaptureBuilder class
|
|
82
|
+
*/
|
|
83
|
+
export class MultiBracketCaptureBuilder extends CaptureBuilder<MultiBracketCaptureBuilder> {
|
|
84
|
+
interval?: number;
|
|
85
|
+
|
|
86
|
+
/** construct MultiBracketCaptureBuilder instance */
|
|
87
|
+
constructor() {
|
|
88
|
+
super();
|
|
89
|
+
|
|
90
|
+
this.interval = undefined;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* set interval of checking multi bracket shooting status command
|
|
95
|
+
* @param timeMillis interval
|
|
96
|
+
* @returns MultiBracketCaptureBuilder
|
|
97
|
+
*/
|
|
98
|
+
setCheckStatusCommandInterval(
|
|
99
|
+
timeMillis: number
|
|
100
|
+
): MultiBracketCaptureBuilder {
|
|
101
|
+
this.interval = timeMillis;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Set bracket settings for multi bracket shooting
|
|
107
|
+
*
|
|
108
|
+
* @param params array of bracket setting.
|
|
109
|
+
* Number of settings have to be 2 to 13.
|
|
110
|
+
* For Theta SC2, S and SC, other settings than iso, shutterSpeed and
|
|
111
|
+
* colorTemperature are ignored.
|
|
112
|
+
* For Theta X, exposureProgram and exposureCompensation are ignored
|
|
113
|
+
* so that always manual program.
|
|
114
|
+
* For others than Theta Z1, aperture is ignored.
|
|
115
|
+
* To setting parameters that are not specified, default values are used.
|
|
116
|
+
*
|
|
117
|
+
* @returns MultiBracketCaptureBuilder
|
|
118
|
+
*/
|
|
119
|
+
setBracketSettings(settings: BracketSetting[]): MultiBracketCaptureBuilder {
|
|
120
|
+
this.options.autoBracket = settings;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Builds an instance of a MultiBracketCapture that has all the combined
|
|
126
|
+
* parameters of the Options that have been added to the Builder.
|
|
127
|
+
* @return promise of MultiBracketCapture instance
|
|
128
|
+
*/
|
|
129
|
+
build(): Promise<MultiBracketCapture> {
|
|
130
|
+
let params = {
|
|
131
|
+
...this.options,
|
|
132
|
+
// Cannot pass negative values in IOS, use objects
|
|
133
|
+
_capture_interval: this.interval ?? -1,
|
|
134
|
+
};
|
|
135
|
+
return new Promise<MultiBracketCapture>(async (resolve, reject) => {
|
|
136
|
+
try {
|
|
137
|
+
await ThetaClientReactNative.getMultiBracketCaptureBuilder();
|
|
138
|
+
await ThetaClientReactNative.buildMultiBracketCapture(params);
|
|
139
|
+
resolve(new MultiBracketCapture(NotifyController.instance));
|
|
140
|
+
} catch (error) {
|
|
141
|
+
reject(error);
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from './options';
|
|
|
2
2
|
export * from './option-ai-auto-thumbnail';
|
|
3
3
|
export * from './option-auto-bracket';
|
|
4
4
|
export * from './option-bitrate';
|
|
5
|
+
export * from './option-bluetooth-role';
|
|
5
6
|
export * from './option-burst-mode';
|
|
6
7
|
export * from './option-burst-option';
|
|
7
8
|
export * from './option-camera-control-source';
|
|
@@ -14,12 +15,14 @@ export * from './option-function';
|
|
|
14
15
|
export * from './option-gain';
|
|
15
16
|
export * from './option-image-stitching';
|
|
16
17
|
export * from './option-network-type';
|
|
18
|
+
export * from './option-off-delay';
|
|
17
19
|
export * from './option-power-saving';
|
|
18
20
|
export * from './option-preset';
|
|
19
21
|
export * from './option-preview-format';
|
|
20
22
|
export * from './option-proxy';
|
|
21
23
|
export * from './option-shooting-method';
|
|
22
24
|
export * from './option-shutter-speed';
|
|
25
|
+
export * from './option-sleep-delay';
|
|
23
26
|
export * from './option-time-shift';
|
|
24
27
|
export * from './option-top-bottom-correction';
|
|
25
28
|
export * from './option-top-bottom-correction-rotation';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Role of the Bluetooth module.
|
|
3
|
+
*/
|
|
4
|
+
export const BluetoothRoleEnum = {
|
|
5
|
+
/** Central: ON, Peripheral: OFF */
|
|
6
|
+
CENTRAL: 'CENTRAL',
|
|
7
|
+
/** Central: OFF, Peripheral: ON */
|
|
8
|
+
PERIPHERAL: 'PERIPHERAL',
|
|
9
|
+
/** Central: ON, Peripheral: ON */
|
|
10
|
+
CENTRAL_PERIPHERAL: 'CENTRAL_PERIPHERAL',
|
|
11
|
+
} as const;
|
|
12
|
+
|
|
13
|
+
/** Type definition of BluetoothRoleEnum */
|
|
14
|
+
export type BluetoothRoleEnum =
|
|
15
|
+
(typeof BluetoothRoleEnum)[keyof typeof BluetoothRoleEnum];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** Length of standby time before the camera automatically powers OFF. */
|
|
2
|
+
export const OffDelayEnum = {
|
|
3
|
+
/** Do not turn power off. */
|
|
4
|
+
DISABLE: 'DISABLE',
|
|
5
|
+
/** Power off after 5 minutes.(300sec) */
|
|
6
|
+
OFF_DELAY_5M: 'OFF_DELAY_5M',
|
|
7
|
+
/** Power off after 10 minutes.(600sec) */
|
|
8
|
+
OFF_DELAY_10M: 'OFF_DELAY_10M',
|
|
9
|
+
/** Power off after 15 minutes.(900sec) */
|
|
10
|
+
OFF_DELAY_15M: 'OFF_DELAY_15M',
|
|
11
|
+
/** Power off after 30 minutes.(1,800sec) */
|
|
12
|
+
OFF_DELAY_30M: 'OFF_DELAY_30M',
|
|
13
|
+
} as const;
|
|
14
|
+
|
|
15
|
+
/** type definition of OffDelayEnum */
|
|
16
|
+
export type OffDelayEnum =
|
|
17
|
+
| (typeof OffDelayEnum)[keyof typeof OffDelayEnum]
|
|
18
|
+
| number;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Get time(seconds) from OffDelayEnum
|
|
22
|
+
* @param offDelay enum of OffDelay
|
|
23
|
+
* @returns time(seconds)
|
|
24
|
+
*/
|
|
25
|
+
export function offDelayToSeconds(offDelay: OffDelayEnum): number {
|
|
26
|
+
if (typeof offDelay === 'number') {
|
|
27
|
+
return offDelay;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const table: Record<OffDelayEnum, number> = {
|
|
31
|
+
DISABLE: 0,
|
|
32
|
+
OFF_DELAY_5M: 300,
|
|
33
|
+
OFF_DELAY_10M: 600,
|
|
34
|
+
OFF_DELAY_15M: 900,
|
|
35
|
+
OFF_DELAY_30M: 1800,
|
|
36
|
+
};
|
|
37
|
+
return table[offDelay];
|
|
38
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Length of standby time before the camera enters the sleep mode. */
|
|
2
|
+
export const SleepDelayEnum = {
|
|
3
|
+
/** Do not turn sleep mode. */
|
|
4
|
+
DISABLE: 'DISABLE',
|
|
5
|
+
/** sleep mode after 3 minutes.(180seconds) */
|
|
6
|
+
SLEEP_DELAY_3M: 'SLEEP_DELAY_3M',
|
|
7
|
+
/** sleep mode after 5 minutes.(300seconds) */
|
|
8
|
+
SLEEP_DELAY_5M: 'SLEEP_DELAY_5M',
|
|
9
|
+
/** sleep mode after 7 minutes.(420seconds) */
|
|
10
|
+
SLEEP_DELAY_7M: 'SLEEP_DELAY_7M',
|
|
11
|
+
/** sleep mode after 10 minutes.(600seconds) */
|
|
12
|
+
SLEEP_DELAY_10M: 'SLEEP_DELAY_10M',
|
|
13
|
+
} as const;
|
|
14
|
+
|
|
15
|
+
/** type definition of SleepDelayEnum */
|
|
16
|
+
export type SleepDelayEnum =
|
|
17
|
+
| (typeof SleepDelayEnum)[keyof typeof SleepDelayEnum]
|
|
18
|
+
| number;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Get time(seconds) from SleepDelayEnum
|
|
22
|
+
* @param offDelay enum of SleepDelay
|
|
23
|
+
* @returns time(seconds)
|
|
24
|
+
*/
|
|
25
|
+
export function sleepDelayToSeconds(sleepDelay: SleepDelayEnum): number {
|
|
26
|
+
if (typeof sleepDelay === 'number') {
|
|
27
|
+
return sleepDelay;
|
|
28
|
+
}
|
|
29
|
+
const table: Record<SleepDelayEnum, number> = {
|
|
30
|
+
DISABLE: 0,
|
|
31
|
+
SLEEP_DELAY_3M: 180,
|
|
32
|
+
SLEEP_DELAY_5M: 300,
|
|
33
|
+
SLEEP_DELAY_7M: 420,
|
|
34
|
+
SLEEP_DELAY_10M: 600,
|
|
35
|
+
};
|
|
36
|
+
return table[sleepDelay];
|
|
37
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AiAutoThumbnailEnum } from './option-ai-auto-thumbnail';
|
|
2
2
|
import type { BitrateEnum } from './option-bitrate';
|
|
3
|
+
import type { BluetoothRoleEnum } from './option-bluetooth-role';
|
|
3
4
|
import type { BracketSetting } from './option-auto-bracket';
|
|
4
5
|
import type { BurstModeEnum } from './option-burst-mode';
|
|
5
6
|
import type { BurstOption } from './option-burst-option';
|
|
@@ -26,6 +27,8 @@ import type { VideoStitchingEnum } from './option-video-stitching';
|
|
|
26
27
|
import type { VisibilityReductionEnum } from './option-visibility-reduction';
|
|
27
28
|
import type { WhiteBalanceAutoStrengthEnum } from './option-white-balance-auto-strength';
|
|
28
29
|
import type { WlanFrequencyEnum } from './option-wlan-frequency';
|
|
30
|
+
import type { OffDelayEnum } from './option-off-delay';
|
|
31
|
+
import type { SleepDelayEnum } from './option-sleep-delay';
|
|
29
32
|
|
|
30
33
|
/** Aperture value. */
|
|
31
34
|
export const ApertureEnum = {
|
|
@@ -376,44 +379,6 @@ export const MaxRecordableTimeEnum = {
|
|
|
376
379
|
export type MaxRecordableTimeEnum =
|
|
377
380
|
(typeof MaxRecordableTimeEnum)[keyof typeof MaxRecordableTimeEnum];
|
|
378
381
|
|
|
379
|
-
/** Length of standby time before the camera automatically powers OFF. */
|
|
380
|
-
export const OffDelayEnum = {
|
|
381
|
-
/** Do not turn power off. */
|
|
382
|
-
DISABLE: 'DISABLE',
|
|
383
|
-
/** Power off after 5 minutes.(300sec) */
|
|
384
|
-
OFF_DELAY_5M: 'OFF_DELAY_5M',
|
|
385
|
-
/** Power off after 10 minutes.(600sec) */
|
|
386
|
-
OFF_DELAY_10M: 'OFF_DELAY_10M',
|
|
387
|
-
/** Power off after 15 minutes.(900sec) */
|
|
388
|
-
OFF_DELAY_15M: 'OFF_DELAY_15M',
|
|
389
|
-
/** Power off after 30 minutes.(1,800sec) */
|
|
390
|
-
OFF_DELAY_30M: 'OFF_DELAY_30M',
|
|
391
|
-
} as const;
|
|
392
|
-
|
|
393
|
-
/** type definition of OffDelayEnum */
|
|
394
|
-
export type OffDelayEnum =
|
|
395
|
-
| (typeof OffDelayEnum)[keyof typeof OffDelayEnum]
|
|
396
|
-
| number;
|
|
397
|
-
|
|
398
|
-
/** Length of standby time before the camera enters the sleep mode. */
|
|
399
|
-
export const SleepDelayEnum = {
|
|
400
|
-
/** Do not turn sleep mode. */
|
|
401
|
-
DISABLE: 'DISABLE',
|
|
402
|
-
/** sleep mode after 3 minutes.(180seconds) */
|
|
403
|
-
SLEEP_DELAY_3M: 'SLEEP_DELAY_3M',
|
|
404
|
-
/** sleep mode after 5 minutes.(300seconds) */
|
|
405
|
-
SLEEP_DELAY_5M: 'SLEEP_DELAY_5M',
|
|
406
|
-
/** sleep mode after 7 minutes.(420seconds) */
|
|
407
|
-
SLEEP_DELAY_7M: 'SLEEP_DELAY_7M',
|
|
408
|
-
/** sleep mode after 10 minutes.(600seconds) */
|
|
409
|
-
SLEEP_DELAY_10M: 'SLEEP_DELAY_10M',
|
|
410
|
-
} as const;
|
|
411
|
-
|
|
412
|
-
/** type definition of SleepDelayEnum */
|
|
413
|
-
export type SleepDelayEnum =
|
|
414
|
-
| (typeof SleepDelayEnum)[keyof typeof SleepDelayEnum]
|
|
415
|
-
| number;
|
|
416
|
-
|
|
417
382
|
/** White balance. */
|
|
418
383
|
export const WhiteBalanceEnum = {
|
|
419
384
|
/** Automatic */
|
|
@@ -458,6 +423,8 @@ export const OptionNameEnum = {
|
|
|
458
423
|
Bitrate: 'Bitrate',
|
|
459
424
|
/** _bluetoothPower*/
|
|
460
425
|
BluetoothPower: 'BluetoothPower',
|
|
426
|
+
/** _bluetoothRole*/
|
|
427
|
+
BluetoothRole: 'BluetoothRole',
|
|
461
428
|
/** _burstMode*/
|
|
462
429
|
BurstMode: 'BurstMode',
|
|
463
430
|
/** _burstOption*/
|
|
@@ -580,6 +547,8 @@ export type Options = {
|
|
|
580
547
|
bitrate?: BitrateEnum;
|
|
581
548
|
/** BluetoothPower */
|
|
582
549
|
bluetoothPower?: BluetoothPowerEnum;
|
|
550
|
+
/** BluetoothRole */
|
|
551
|
+
bluetoothRole?: BluetoothRoleEnum;
|
|
583
552
|
/** BurstMode */
|
|
584
553
|
burstMode?: BurstModeEnum;
|
|
585
554
|
/** BurstOption */
|
|
@@ -11,6 +11,12 @@ import type {
|
|
|
11
11
|
Options,
|
|
12
12
|
CaptureModeEnum,
|
|
13
13
|
Proxy,
|
|
14
|
+
BurstCaptureNumEnum,
|
|
15
|
+
BurstBracketStepEnum,
|
|
16
|
+
BurstCompensationEnum,
|
|
17
|
+
BurstMaxExposureTimeEnum,
|
|
18
|
+
BurstEnableIsoControlEnum,
|
|
19
|
+
BurstOrderEnum,
|
|
14
20
|
} from './options';
|
|
15
21
|
import {
|
|
16
22
|
PhotoCaptureBuilder,
|
|
@@ -19,6 +25,9 @@ import {
|
|
|
19
25
|
LimitlessIntervalCaptureBuilder,
|
|
20
26
|
ShotCountSpecifiedIntervalCaptureBuilder,
|
|
21
27
|
CompositeIntervalCaptureBuilder,
|
|
28
|
+
BurstCaptureBuilder,
|
|
29
|
+
ContinuousCaptureBuilder,
|
|
30
|
+
MultiBracketCaptureBuilder,
|
|
22
31
|
} from '../capture';
|
|
23
32
|
import type { ThetaConfig } from './theta-config';
|
|
24
33
|
import type { ThetaTimeout } from './theta-timeout';
|
|
@@ -131,6 +140,51 @@ export function getCompositeIntervalCaptureBuilder(
|
|
|
131
140
|
return new CompositeIntervalCaptureBuilder(shootingTimeSec);
|
|
132
141
|
}
|
|
133
142
|
|
|
143
|
+
/**
|
|
144
|
+
* Get BurstCapture.Builder for take burst shooting.
|
|
145
|
+
*
|
|
146
|
+
* @function getBurstCaptureBuilder
|
|
147
|
+
* @param burstOption Burst shooting setting.
|
|
148
|
+
* @return created BurstCaptureBuilder instance
|
|
149
|
+
*/
|
|
150
|
+
export function getBurstCaptureBuilder(
|
|
151
|
+
burstCaptureNum: BurstCaptureNumEnum,
|
|
152
|
+
burstBracketStep: BurstBracketStepEnum,
|
|
153
|
+
burstCompensation: BurstCompensationEnum,
|
|
154
|
+
burstMaxExposureTime: BurstMaxExposureTimeEnum,
|
|
155
|
+
burstEnableIsoControl: BurstEnableIsoControlEnum,
|
|
156
|
+
burstOrder: BurstOrderEnum
|
|
157
|
+
): BurstCaptureBuilder {
|
|
158
|
+
return new BurstCaptureBuilder(
|
|
159
|
+
burstCaptureNum,
|
|
160
|
+
burstBracketStep,
|
|
161
|
+
burstCompensation,
|
|
162
|
+
burstMaxExposureTime,
|
|
163
|
+
burstEnableIsoControl,
|
|
164
|
+
burstOrder
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Get MultiBracketCapture.Builder for take multi bracket shooting.
|
|
170
|
+
*
|
|
171
|
+
* @function getMultiBracketCaptureBuilder
|
|
172
|
+
* @return created MultiBracketCaptureBuilder instance
|
|
173
|
+
*/
|
|
174
|
+
export function getMultiBracketCaptureBuilder(): MultiBracketCaptureBuilder {
|
|
175
|
+
return new MultiBracketCaptureBuilder();
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Get ContinuousCapture.Builder for take limitless interval shooting.
|
|
180
|
+
*
|
|
181
|
+
* @function getContinuousCaptureBuilder
|
|
182
|
+
* @return created ContinuousCaptureBuilder instance
|
|
183
|
+
*/
|
|
184
|
+
export function getContinuousCaptureBuilder(): ContinuousCaptureBuilder {
|
|
185
|
+
return new ContinuousCaptureBuilder();
|
|
186
|
+
}
|
|
187
|
+
|
|
134
188
|
/**
|
|
135
189
|
* Start live preview.
|
|
136
190
|
* preview frame (JPEG DataURL) send THETA_EVENT_NAME event as
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/** Camera error constants */
|
|
2
|
+
export const CameraErrorEnum = {
|
|
3
|
+
/** Undefined value */
|
|
4
|
+
UNKNOWN: 'UNKNOWN',
|
|
5
|
+
/** Insufficient memory */
|
|
6
|
+
NO_MEMORY: 'NO_MEMORY',
|
|
7
|
+
/** Maximum file number exceeded */
|
|
8
|
+
FILE_NUMBER_OVER: 'FILE_NUMBER_OVER',
|
|
9
|
+
/** Camera clock not set */
|
|
10
|
+
NO_DATE_SETTING: 'NO_DATE_SETTING',
|
|
11
|
+
/** Includes when the card is removed */
|
|
12
|
+
READ_ERROR: 'READ_ERROR',
|
|
13
|
+
/** Unsupported media (SDHC, etc.) */
|
|
14
|
+
NOT_SUPPORTED_MEDIA_TYPE: 'NOT_SUPPORTED_MEDIA_TYPE',
|
|
15
|
+
/** FAT32, etc. */
|
|
16
|
+
NOT_SUPPORTED_FILE_SYSTEM: 'NOT_SUPPORTED_FILE_SYSTEM',
|
|
17
|
+
/** Error warning while mounting */
|
|
18
|
+
MEDIA_NOT_READY: 'MEDIA_NOT_READY',
|
|
19
|
+
/** Battery level warning (firmware update) */
|
|
20
|
+
NOT_ENOUGH_BATTERY: 'NOT_ENOUGH_BATTERY',
|
|
21
|
+
/** Firmware file mismatch warning */
|
|
22
|
+
INVALID_FILE: 'INVALID_FILE',
|
|
23
|
+
/** Plugin start warning (IoT technical standards compliance) */
|
|
24
|
+
PLUGIN_BOOT_ERROR: 'PLUGIN_BOOT_ERROR',
|
|
25
|
+
/**
|
|
26
|
+
* When performing continuous shooting by operating the camera while executing <Delete object>,
|
|
27
|
+
* <Transfer firmware file>, <Install plugin> or <Uninstall plugin> with the WebAPI or MTP.
|
|
28
|
+
*/
|
|
29
|
+
IN_PROGRESS_ERROR: 'IN_PROGRESS_ERROR',
|
|
30
|
+
/** Battery inserted + WLAN ON + Video mode + 4K 60fps / 5.7K 10fps / 5.7K 15fps / 5.7K 30fps / 8K 10fps */
|
|
31
|
+
CANNOT_RECORDING: 'CANNOT_RECORDING',
|
|
32
|
+
/** Battery inserted AND Specified battery level or lower + WLAN ON + Video mode + 4K 30fps */
|
|
33
|
+
CANNOT_RECORD_LOWBAT: 'CANNOT_RECORD_LOWBAT',
|
|
34
|
+
/** Shooting hardware failure */
|
|
35
|
+
CAPTURE_HW_FAILED: 'CAPTURE_HW_FAILED',
|
|
36
|
+
/** Software error */
|
|
37
|
+
CAPTURE_SW_FAILED: 'CAPTURE_SW_FAILED',
|
|
38
|
+
/** Internal memory access error */
|
|
39
|
+
INTERNAL_MEM_ACCESS_FAIL: 'INTERNAL_MEM_ACCESS_FAIL',
|
|
40
|
+
/** Undefined error */
|
|
41
|
+
UNEXPECTED_ERROR: 'UNEXPECTED_ERROR',
|
|
42
|
+
/** Charging error */
|
|
43
|
+
BATTERY_CHARGE_FAIL: 'BATTERY_CHARGE_FAIL',
|
|
44
|
+
/** (Board) temperature warning */
|
|
45
|
+
HIGH_TEMPERATURE_WARNING: 'HIGH_TEMPERATURE_WARNING',
|
|
46
|
+
/** (Board) temperature error */
|
|
47
|
+
HIGH_TEMPERATURE: 'HIGH_TEMPERATURE',
|
|
48
|
+
/** Battery temperature error */
|
|
49
|
+
BATTERY_HIGH_TEMPERATURE: 'BATTERY_HIGH_TEMPERATURE',
|
|
50
|
+
/** Electronic compass error */
|
|
51
|
+
COMPASS_CALIBRATION: 'COMPASS_CALIBRATION',
|
|
52
|
+
} as const;
|
|
53
|
+
|
|
54
|
+
/** type definition of CameraErrorEnum */
|
|
55
|
+
export type CameraErrorEnum =
|
|
56
|
+
(typeof CameraErrorEnum)[keyof typeof CameraErrorEnum];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ShootingFunctionEnum } from '
|
|
1
|
+
import type { ShootingFunctionEnum } from '../options/option-function';
|
|
2
|
+
import type { CameraErrorEnum } from './camera-error';
|
|
2
3
|
|
|
3
4
|
/** Battery charging state constants */
|
|
4
5
|
export const ChargingStateEnum = {
|
|
@@ -52,61 +53,6 @@ export const MicrophoneOptionEnum = {
|
|
|
52
53
|
export type MicrophoneOptionEnum =
|
|
53
54
|
(typeof MicrophoneOptionEnum)[keyof typeof MicrophoneOptionEnum];
|
|
54
55
|
|
|
55
|
-
/** Camera error constants */
|
|
56
|
-
export const CameraErrorEnum = {
|
|
57
|
-
/** Insufficient memory */
|
|
58
|
-
NO_MEMORY: 'NO_MEMORY',
|
|
59
|
-
/** Maximum file number exceeded */
|
|
60
|
-
FILE_NUMBER_OVER: 'FILE_NUMBER_OVER',
|
|
61
|
-
/** Camera clock not set */
|
|
62
|
-
NO_DATA_SETTING: 'NO_DATE_SETTING',
|
|
63
|
-
/** Includes when the card is removed */
|
|
64
|
-
READ_ERROR: 'READ_ERROR',
|
|
65
|
-
/** Unsupported media (SDHC, etc.) */
|
|
66
|
-
NOT_SUPPORTED_MEDIA_TYPE: 'NOT_SUPPORTED_MEDIA_TYPE',
|
|
67
|
-
/** FAT32, etc. */
|
|
68
|
-
NOT_SUPPORTED_FILE_SYSTEM: 'NOT_SUPPORTED_FILE_SYSTEM',
|
|
69
|
-
/** Error warning while mounting */
|
|
70
|
-
MEDIA_NOT_READY: 'MEDIA_NOT_READY',
|
|
71
|
-
/** Battery level warning (firmware update) */
|
|
72
|
-
NOT_ENOUGH_BATTERY: 'NOT_ENOUGH_BATTERY',
|
|
73
|
-
/** Firmware file mismatch warning */
|
|
74
|
-
INVALID_FILE: 'INVALID_FILE',
|
|
75
|
-
/** Plugin start warning (IoT technical standards compliance) */
|
|
76
|
-
PLUGIN_BOOT_ERROR: 'PLUGIN_BOOT_ERROR',
|
|
77
|
-
/**
|
|
78
|
-
* When performing continuous shooting by operating the camera while executing <Delete object>,
|
|
79
|
-
* <Transfer firmware file>, <Install plugin> or <Uninstall plugin> with the WebAPI or MTP.
|
|
80
|
-
*/
|
|
81
|
-
IN_PROGRESS_ERROR: 'IN_PROGRESS_ERROR',
|
|
82
|
-
/** Battery inserted + WLAN ON + Video mode + 4K 60fps / 5.7K 10fps / 5.7K 15fps / 5.7K 30fps / 8K 10fps */
|
|
83
|
-
CANNOT_RECORDING: 'CANNOT_RECORDING',
|
|
84
|
-
/** Battery inserted AND Specified battery level or lower + WLAN ON + Video mode + 4K 30fps */
|
|
85
|
-
CANNOT_RECORD_LOWBAT: 'CANNOT_RECORD_LOWBAT',
|
|
86
|
-
/** Shooting hardware failure */
|
|
87
|
-
CAPTURE_HW_FAILED: 'CAPTURE_HW_FAILED',
|
|
88
|
-
/** Software error */
|
|
89
|
-
CAPTURE_SW_FAILED: 'CAPTURE_SW_FAILED',
|
|
90
|
-
/** Internal memory access error */
|
|
91
|
-
INTERNAL_MEM_ACCESS_FAIL: 'INTERNAL_MEM_ACCESS_FAIL',
|
|
92
|
-
/** Undefined error */
|
|
93
|
-
UNEXPECTED_ERROR: 'UNEXPECTED_ERROR',
|
|
94
|
-
/** Charging error */
|
|
95
|
-
BATTERY_CHARGE_FAIL: 'BATTERY_CHARGE_FAIL',
|
|
96
|
-
/** (Board) temperature warning */
|
|
97
|
-
HIGH_TEMPERATURE_WARNING: 'HIGH_TEMPERATURE_WARNING',
|
|
98
|
-
/** (Board) temperature error */
|
|
99
|
-
HIGH_TEMPERATURE: 'HIGH_TEMPERATURE',
|
|
100
|
-
/** Battery temperature error */
|
|
101
|
-
BATTERY_HIGH_TEMPERATURE: 'BATTERY_HIGH_TEMPERATURE',
|
|
102
|
-
/** Electronic compass error */
|
|
103
|
-
COMPASS_CALIBRATION: 'COMPASS_CALIBRATION',
|
|
104
|
-
} as const;
|
|
105
|
-
|
|
106
|
-
/** type definition of CameraErrorEnum */
|
|
107
|
-
export type CameraErrorEnum =
|
|
108
|
-
(typeof CameraErrorEnum)[keyof typeof CameraErrorEnum];
|
|
109
|
-
|
|
110
56
|
/** Mutable values representing Theta status. */
|
|
111
57
|
export type ThetaState = {
|
|
112
58
|
/** Fingerprint (unique identifier) of the current camera state */
|
|
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
18
18
|
|
|
19
19
|
s.dependency "React-Core"
|
|
20
|
-
s.dependency "THETAClient", "1.
|
|
20
|
+
s.dependency "THETAClient", "1.7.1"
|
|
21
21
|
|
|
22
22
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
23
23
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ChargingStateEnum","CHARGING","COMPLETED","NOT_CHARGING","exports","CaptureStatusEnum","SHOOTING","IDLE","SELF_TIMER_COUNTDOWN","BRACKET_SHOOTING","CONVERTING","TIME_SHIFT_SHOOTING","CONTINUOUS_SHOOTING","RETROSPECTIVE_IMAGE_RECORDING","MicrophoneOptionEnum","AUTO","INTERNAL","EXTERNAL","CameraErrorEnum","NO_MEMORY","FILE_NUMBER_OVER","NO_DATA_SETTING","READ_ERROR","NOT_SUPPORTED_MEDIA_TYPE","NOT_SUPPORTED_FILE_SYSTEM","MEDIA_NOT_READY","NOT_ENOUGH_BATTERY","INVALID_FILE","PLUGIN_BOOT_ERROR","IN_PROGRESS_ERROR","CANNOT_RECORDING","CANNOT_RECORD_LOWBAT","CAPTURE_HW_FAILED","CAPTURE_SW_FAILED","INTERNAL_MEM_ACCESS_FAIL","UNEXPECTED_ERROR","BATTERY_CHARGE_FAIL","HIGH_TEMPERATURE_WARNING","HIGH_TEMPERATURE","BATTERY_HIGH_TEMPERATURE","COMPASS_CALIBRATION"],"sourceRoot":"../../../src","sources":["theta-repository/theta-state.ts"],"mappings":";;;;;;AAEA;AACO,MAAMA,iBAAiB,GAAG;EAC/B;EACAC,QAAQ,EAAE,UAAU;EACpB;EACAC,SAAS,EAAE,WAAW;EACtB;EACAC,YAAY,EAAE;AAChB,CAAU;;AAEV;AAAAC,OAAA,CAAAJ,iBAAA,GAAAA,iBAAA;AAIA;AACO,MAAMK,iBAAiB,GAAG;EAC/B;EACAC,QAAQ,EAAE,UAAU;EACpB;EACAC,IAAI,EAAE,MAAM;EACZ;EACAC,oBAAoB,EAAE,sBAAsB;EAC5C;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,UAAU,EAAE,YAAY;EACxB;EACAC,mBAAmB,EAAE,qBAAqB;EAC1C;EACAC,mBAAmB,EAAE,qBAAqB;EAC1C;EACAC,6BAA6B,EAAE;AACjC,CAAU;;AAEV;AAAAT,OAAA,CAAAC,iBAAA,GAAAA,iBAAA;AAIA;AACO,MAAMS,oBAAoB,GAAG;EAClC;EACAC,IAAI,EAAE,MAAM;EACZ;EACAC,QAAQ,EAAE,UAAU;EACpB;EACAC,QAAQ,EAAE;AACZ,CAAU;;AAEV;AAAAb,OAAA,CAAAU,oBAAA,GAAAA,oBAAA;AAIA;AACO,MAAMI,eAAe,GAAG;EAC7B;EACAC,SAAS,EAAE,WAAW;EACtB;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,eAAe,EAAE,iBAAiB;EAClC;EACAC,UAAU,EAAE,YAAY;EACxB;EACAC,wBAAwB,EAAE,0BAA0B;EACpD;EACAC,yBAAyB,EAAE,2BAA2B;EACtD;EACAC,eAAe,EAAE,iBAAiB;EAClC;EACAC,kBAAkB,EAAE,oBAAoB;EACxC;EACAC,YAAY,EAAE,cAAc;EAC5B;EACAC,iBAAiB,EAAE,mBAAmB;EACtC;AACF;AACA;AACA;EACEC,iBAAiB,EAAE,mBAAmB;EACtC;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,oBAAoB,EAAE,sBAAsB;EAC5C;EACAC,iBAAiB,EAAE,mBAAmB;EACtC;EACAC,iBAAiB,EAAE,mBAAmB;EACtC;EACAC,wBAAwB,EAAE,0BAA0B;EACpD;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,mBAAmB,EAAE,qBAAqB;EAC1C;EACAC,wBAAwB,EAAE,0BAA0B;EACpD;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,wBAAwB,EAAE,0BAA0B;EACpD;EACAC,mBAAmB,EAAE;AACvB,CAAU;;AAEV;;AAIA;AAAApC,OAAA,CAAAc,eAAA,GAAAA,eAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ChargingStateEnum","CHARGING","COMPLETED","NOT_CHARGING","CaptureStatusEnum","SHOOTING","IDLE","SELF_TIMER_COUNTDOWN","BRACKET_SHOOTING","CONVERTING","TIME_SHIFT_SHOOTING","CONTINUOUS_SHOOTING","RETROSPECTIVE_IMAGE_RECORDING","MicrophoneOptionEnum","AUTO","INTERNAL","EXTERNAL","CameraErrorEnum","NO_MEMORY","FILE_NUMBER_OVER","NO_DATA_SETTING","READ_ERROR","NOT_SUPPORTED_MEDIA_TYPE","NOT_SUPPORTED_FILE_SYSTEM","MEDIA_NOT_READY","NOT_ENOUGH_BATTERY","INVALID_FILE","PLUGIN_BOOT_ERROR","IN_PROGRESS_ERROR","CANNOT_RECORDING","CANNOT_RECORD_LOWBAT","CAPTURE_HW_FAILED","CAPTURE_SW_FAILED","INTERNAL_MEM_ACCESS_FAIL","UNEXPECTED_ERROR","BATTERY_CHARGE_FAIL","HIGH_TEMPERATURE_WARNING","HIGH_TEMPERATURE","BATTERY_HIGH_TEMPERATURE","COMPASS_CALIBRATION"],"sourceRoot":"../../../src","sources":["theta-repository/theta-state.ts"],"mappings":"AAEA;AACA,OAAO,MAAMA,iBAAiB,GAAG;EAC/B;EACAC,QAAQ,EAAE,UAAU;EACpB;EACAC,SAAS,EAAE,WAAW;EACtB;EACAC,YAAY,EAAE;AAChB,CAAU;;AAEV;;AAIA;AACA,OAAO,MAAMC,iBAAiB,GAAG;EAC/B;EACAC,QAAQ,EAAE,UAAU;EACpB;EACAC,IAAI,EAAE,MAAM;EACZ;EACAC,oBAAoB,EAAE,sBAAsB;EAC5C;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,UAAU,EAAE,YAAY;EACxB;EACAC,mBAAmB,EAAE,qBAAqB;EAC1C;EACAC,mBAAmB,EAAE,qBAAqB;EAC1C;EACAC,6BAA6B,EAAE;AACjC,CAAU;;AAEV;;AAIA;AACA,OAAO,MAAMC,oBAAoB,GAAG;EAClC;EACAC,IAAI,EAAE,MAAM;EACZ;EACAC,QAAQ,EAAE,UAAU;EACpB;EACAC,QAAQ,EAAE;AACZ,CAAU;;AAEV;;AAIA;AACA,OAAO,MAAMC,eAAe,GAAG;EAC7B;EACAC,SAAS,EAAE,WAAW;EACtB;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,eAAe,EAAE,iBAAiB;EAClC;EACAC,UAAU,EAAE,YAAY;EACxB;EACAC,wBAAwB,EAAE,0BAA0B;EACpD;EACAC,yBAAyB,EAAE,2BAA2B;EACtD;EACAC,eAAe,EAAE,iBAAiB;EAClC;EACAC,kBAAkB,EAAE,oBAAoB;EACxC;EACAC,YAAY,EAAE,cAAc;EAC5B;EACAC,iBAAiB,EAAE,mBAAmB;EACtC;AACF;AACA;AACA;EACEC,iBAAiB,EAAE,mBAAmB;EACtC;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,oBAAoB,EAAE,sBAAsB;EAC5C;EACAC,iBAAiB,EAAE,mBAAmB;EACtC;EACAC,iBAAiB,EAAE,mBAAmB;EACtC;EACAC,wBAAwB,EAAE,0BAA0B;EACpD;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,mBAAmB,EAAE,qBAAqB;EAC1C;EACAC,wBAAwB,EAAE,0BAA0B;EACpD;EACAC,gBAAgB,EAAE,kBAAkB;EACpC;EACAC,wBAAwB,EAAE,0BAA0B;EACpD;EACAC,mBAAmB,EAAE;AACvB,CAAU;;AAEV;;AAIA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theta-state.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-state.ts"],"names":[],"mappings":"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"}
|