theta-client-react-native 1.8.0 → 1.9.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 +151 -9
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +97 -50
- package/ios/ConvertUtil.swift +138 -29
- package/ios/ThetaClientReactNative.m +12 -0
- package/ios/ThetaClientReactNative.swift +134 -23
- package/lib/commonjs/capture/capture.js +13 -1
- package/lib/commonjs/capture/capture.js.map +1 -1
- package/lib/commonjs/capture/photo-capture.js +1 -11
- package/lib/commonjs/capture/photo-capture.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/theta-repository/event-websocket.js +39 -0
- package/lib/commonjs/theta-repository/event-websocket.js.map +1 -0
- package/lib/commonjs/theta-repository/index.js +11 -0
- package/lib/commonjs/theta-repository/index.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-ethernet-config.js +6 -0
- package/lib/commonjs/theta-repository/options/option-ethernet-config.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-file-format.js +109 -0
- package/lib/commonjs/theta-repository/options/option-file-format.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-max-recordable-time.js +28 -0
- package/lib/commonjs/theta-repository/options/option-max-recordable-time.js.map +1 -0
- package/lib/commonjs/theta-repository/options/options.js +3 -81
- package/lib/commonjs/theta-repository/options/options.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-repository.js +22 -0
- package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
- package/lib/module/capture/capture.js +11 -0
- package/lib/module/capture/capture.js.map +1 -1
- package/lib/module/capture/photo-capture.js +2 -12
- package/lib/module/capture/photo-capture.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/theta-repository/event-websocket.js +32 -0
- package/lib/module/theta-repository/event-websocket.js.map +1 -0
- package/lib/module/theta-repository/index.js +1 -0
- package/lib/module/theta-repository/index.js.map +1 -1
- 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-ethernet-config.js +2 -0
- package/lib/module/theta-repository/options/option-ethernet-config.js.map +1 -0
- package/lib/module/theta-repository/options/option-file-format.js +103 -0
- package/lib/module/theta-repository/options/option-file-format.js.map +1 -0
- package/lib/module/theta-repository/options/option-max-recordable-time.js +22 -0
- package/lib/module/theta-repository/options/option-max-recordable-time.js.map +1 -0
- package/lib/module/theta-repository/options/options.js +2 -80
- package/lib/module/theta-repository/options/options.js.map +1 -1
- package/lib/module/theta-repository/theta-repository.js +20 -0
- package/lib/module/theta-repository/theta-repository.js.map +1 -1
- package/lib/typescript/capture/capture.d.ts +9 -1
- package/lib/typescript/capture/capture.d.ts.map +1 -1
- package/lib/typescript/capture/photo-capture.d.ts +3 -9
- package/lib/typescript/capture/photo-capture.d.ts.map +1 -1
- package/lib/typescript/theta-repository/event-websocket.d.ts +14 -0
- package/lib/typescript/theta-repository/event-websocket.d.ts.map +1 -0
- package/lib/typescript/theta-repository/index.d.ts +1 -0
- package/lib/typescript/theta-repository/index.d.ts.map +1 -1
- 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-ethernet-config.d.ts +29 -0
- package/lib/typescript/theta-repository/options/option-ethernet-config.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-file-format.d.ts +132 -0
- package/lib/typescript/theta-repository/options/option-file-format.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-max-recordable-time.d.ts +22 -0
- package/lib/typescript/theta-repository/options/option-max-recordable-time.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/options.d.ts +8 -77
- package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-files.d.ts +1 -1
- package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-repository.d.ts +9 -0
- package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-state/theta-state.d.ts +24 -24
- package/lib/typescript/theta-repository/theta-state/theta-state.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/capture/capture.ts +15 -0
- package/src/capture/photo-capture.ts +3 -17
- package/src/theta-repository/event-websocket.ts +52 -0
- package/src/theta-repository/index.ts +1 -0
- package/src/theta-repository/options/index.ts +3 -0
- package/src/theta-repository/options/option-ethernet-config.ts +29 -0
- package/src/theta-repository/options/option-file-format.ts +110 -0
- package/src/theta-repository/options/option-max-recordable-time.ts +23 -0
- package/src/theta-repository/options/options.ts +8 -89
- package/src/theta-repository/theta-files.ts +1 -1
- package/src/theta-repository/theta-repository.ts +23 -0
- package/src/theta-repository/theta-state/theta-state.ts +24 -24
- package/theta-client-react-native.podspec +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Maximum recordable time (in seconds) of the camera
|
|
3
|
+
*/
|
|
4
|
+
export const MaxRecordableTimeEnum = {
|
|
5
|
+
/** Undefined value */
|
|
6
|
+
UNKNOWN: 'UNKNOWN',
|
|
7
|
+
/** 180 seconds for SC2 only. */
|
|
8
|
+
RECORDABLE_TIME_180: 'RECORDABLE_TIME_180',
|
|
9
|
+
/** 300 seconds for other than SC2. */
|
|
10
|
+
RECORDABLE_TIME_300: 'RECORDABLE_TIME_300',
|
|
11
|
+
/** 1500 seconds for other than SC2. */
|
|
12
|
+
RECORDABLE_TIME_1500: 'RECORDABLE_TIME_1500',
|
|
13
|
+
/** 3000 seconds for other than SC2. */
|
|
14
|
+
RECORDABLE_TIME_3000: 'RECORDABLE_TIME_3000',
|
|
15
|
+
/** 7200 seconds for Theta X only */
|
|
16
|
+
RECORDABLE_TIME_7200: 'RECORDABLE_TIME_7200',
|
|
17
|
+
/** Just used by getMySetting/setMySetting command */
|
|
18
|
+
DO_NOT_UPDATE_MY_SETTING_CONDITION: 'DO_NOT_UPDATE_MY_SETTING_CONDITION',
|
|
19
|
+
} as const;
|
|
20
|
+
|
|
21
|
+
/** type definition of MaxRecordableTimeEnum */
|
|
22
|
+
export type MaxRecordableTimeEnum =
|
|
23
|
+
(typeof MaxRecordableTimeEnum)[keyof typeof MaxRecordableTimeEnum];
|
|
@@ -13,6 +13,7 @@ import type { FilterEnum } from './option-filter';
|
|
|
13
13
|
import type { ShootingFunctionEnum } from './option-function';
|
|
14
14
|
import type { GainEnum } from './option-gain';
|
|
15
15
|
import type { ImageStitchingEnum } from './option-image-stitching';
|
|
16
|
+
import type { MaxRecordableTimeEnum } from './option-max-recordable-time';
|
|
16
17
|
import type { NetworkTypeEnum } from './option-network-type';
|
|
17
18
|
import type { PowerSavingEnum } from './option-power-saving';
|
|
18
19
|
import type { PresetEnum } from './option-preset';
|
|
@@ -29,6 +30,8 @@ import type { WhiteBalanceAutoStrengthEnum } from './option-white-balance-auto-s
|
|
|
29
30
|
import type { WlanFrequencyEnum } from './option-wlan-frequency';
|
|
30
31
|
import type { OffDelayEnum } from './option-off-delay';
|
|
31
32
|
import type { SleepDelayEnum } from './option-sleep-delay';
|
|
33
|
+
import type { EthernetConfig } from './option-ethernet-config';
|
|
34
|
+
import type { FileFormatEnum } from './option-file-format';
|
|
32
35
|
|
|
33
36
|
/** Aperture value. */
|
|
34
37
|
export const ApertureEnum = {
|
|
@@ -143,76 +146,6 @@ export const ExposureProgramEnum = {
|
|
|
143
146
|
export type ExposureProgramEnum =
|
|
144
147
|
(typeof ExposureProgramEnum)[keyof typeof ExposureProgramEnum];
|
|
145
148
|
|
|
146
|
-
/** file format type in theta */
|
|
147
|
-
export const FileFormatTypeEnum = {
|
|
148
|
-
/** jpeg image */
|
|
149
|
-
JPEG: 'JPEG',
|
|
150
|
-
/** mp4 video */
|
|
151
|
-
MP4: 'MP4',
|
|
152
|
-
/** raw+ image */
|
|
153
|
-
RAW: 'RAW',
|
|
154
|
-
} as const;
|
|
155
|
-
|
|
156
|
-
/** type definition of FileFormatTypeEnum */
|
|
157
|
-
export type FileFormatTypeEnum =
|
|
158
|
-
(typeof FileFormatTypeEnum)[keyof typeof FileFormatTypeEnum];
|
|
159
|
-
|
|
160
|
-
/** Photo image format */
|
|
161
|
-
export const PhotoFileFormatEnum = {
|
|
162
|
-
/** jpeg 2048 x 1024 */
|
|
163
|
-
IMAGE_2K: 'IMAGE_2K',
|
|
164
|
-
/** jpeg 5376 x 2688 */
|
|
165
|
-
IMAGE_5K: 'IMAGE_5K',
|
|
166
|
-
/** jpeg 6720 x 3360 */
|
|
167
|
-
IMAGE_6_7K: 'IMAGE_6_7K',
|
|
168
|
-
/** row+ 6720 x 3360 */
|
|
169
|
-
RAW_P_6_7K: 'RAW_P_6_7K',
|
|
170
|
-
/** jpeg 5504 x 2752 */
|
|
171
|
-
IMAGE_5_5K: 'IMAGE_5_5K',
|
|
172
|
-
/** jpeg 11008 x 5504 */
|
|
173
|
-
IMAGE_11K: 'IMAGE_11K',
|
|
174
|
-
} as const;
|
|
175
|
-
|
|
176
|
-
/** Video image format */
|
|
177
|
-
export const VideoFileFormatEnum = {
|
|
178
|
-
/** mp4 1280 x 570 */
|
|
179
|
-
VIDEO_HD: 'VIDEO_HD',
|
|
180
|
-
/** mp4 1920 x 1080 */
|
|
181
|
-
VIDEO_FULL_HD: 'VIDEO_FULL_HD',
|
|
182
|
-
/** mp4 1920 x 960 */
|
|
183
|
-
VIDEO_2K: 'VIDEO_2K',
|
|
184
|
-
/** mp4 3840 x 1920 */
|
|
185
|
-
VIDEO_4K: 'VIDEO_4K',
|
|
186
|
-
/** mp4 1920 x 960 30fps */
|
|
187
|
-
VIDEO_2K_30F: 'VIDEO_2K_30F',
|
|
188
|
-
/** mp4 1920 x 960 60fps */
|
|
189
|
-
VIDEO_2K_60F: 'VIDEO_2K_60F',
|
|
190
|
-
/** mp4 3840 x 1920 30fps */
|
|
191
|
-
VIDEO_4K_30F: 'VIDEO_4K_30F',
|
|
192
|
-
/** mp4 3840 x 1920 60fps */
|
|
193
|
-
VIDEO_4K_60F: 'VIDEO_4K_60F',
|
|
194
|
-
/** mp4 5760 x 2880 2fps */
|
|
195
|
-
VIDEO_5_7K_2F: 'VIDEO_5_7K_2F',
|
|
196
|
-
/** mp4 5760 x 2880 5fps */
|
|
197
|
-
VIDEO_5_7K_5F: 'VIDEO_5_7K_5F',
|
|
198
|
-
/** mp4 5760 x 2880 30fps */
|
|
199
|
-
VIDEO_5_7K_30F: 'VIDEO_5_7K_30F',
|
|
200
|
-
/** mp4 7680 x 3840 2fps */
|
|
201
|
-
VIDEO_7K_2F: 'VIDEO_7K_2F',
|
|
202
|
-
/** mp4 7680 x 3840 5fps */
|
|
203
|
-
VIDEO_7K_5F: 'VIDEO_7K_5F',
|
|
204
|
-
/** mp4 7680 x 3840 10fps */
|
|
205
|
-
VIDEO_7K_10F: 'VIDEO_7K_10F',
|
|
206
|
-
} as const;
|
|
207
|
-
|
|
208
|
-
/** type definition of PhotoFileFormatEnum */
|
|
209
|
-
export type PhotoFileFormatEnum =
|
|
210
|
-
(typeof PhotoFileFormatEnum)[keyof typeof PhotoFileFormatEnum];
|
|
211
|
-
|
|
212
|
-
/** type definition of VideoFileFormatEnum */
|
|
213
|
-
export type VideoFileFormatEnum =
|
|
214
|
-
(typeof VideoFileFormatEnum)[keyof typeof VideoFileFormatEnum];
|
|
215
|
-
|
|
216
149
|
/** GPS information */
|
|
217
150
|
export type GpsInfo = {
|
|
218
151
|
/** Latitude (-90.000000 – 90.000000) */
|
|
@@ -361,24 +294,6 @@ export const LanguageEnum = {
|
|
|
361
294
|
/** type definition of LanguageEnum */
|
|
362
295
|
export type LanguageEnum = (typeof LanguageEnum)[keyof typeof LanguageEnum];
|
|
363
296
|
|
|
364
|
-
/** Maximum recordable time (in seconds) of the camera */
|
|
365
|
-
export const MaxRecordableTimeEnum = {
|
|
366
|
-
/** 180 seconds for SC2 only. */
|
|
367
|
-
RECORDABLE_TIME_180: 'RECORDABLE_TIME_180',
|
|
368
|
-
/** 300 seconds for other than SC2. */
|
|
369
|
-
RECORDABLE_TIME_300: 'RECORDABLE_TIME_300',
|
|
370
|
-
/** 1500 seconds for other than SC2. */
|
|
371
|
-
RECORDABLE_TIME_1500: 'RECORDABLE_TIME_1500',
|
|
372
|
-
/** 7200 seconds for Theta X only */
|
|
373
|
-
RECORDABLE_TIME_7200: 'RECORDABLE_TIME_7200',
|
|
374
|
-
/** Just used by getMySetting/setMySetting command */
|
|
375
|
-
DO_NOT_UPDATE_MY_SETTING_CONDITION: 'DO_NOT_UPDATE_MY_SETTING_CONDITION',
|
|
376
|
-
} as const;
|
|
377
|
-
|
|
378
|
-
/** type definition of MaxRecordableTimeEnum */
|
|
379
|
-
export type MaxRecordableTimeEnum =
|
|
380
|
-
(typeof MaxRecordableTimeEnum)[keyof typeof MaxRecordableTimeEnum];
|
|
381
|
-
|
|
382
297
|
/** White balance. */
|
|
383
298
|
export const WhiteBalanceEnum = {
|
|
384
299
|
/** Automatic */
|
|
@@ -449,6 +364,8 @@ export const OptionNameEnum = {
|
|
|
449
364
|
ContinuousNumber: 'ContinuousNumber',
|
|
450
365
|
/** dateTimeZone */
|
|
451
366
|
DateTimeZone: 'DateTimeZone',
|
|
367
|
+
/** ethernetConfig */
|
|
368
|
+
EthernetConfig: 'EthernetConfig',
|
|
452
369
|
/** exposureCompensation */
|
|
453
370
|
ExposureCompensation: 'ExposureCompensation',
|
|
454
371
|
/** exposureDelay */
|
|
@@ -624,6 +541,8 @@ export type Options = {
|
|
|
624
541
|
continuousNumber?: ContinuousNumberEnum;
|
|
625
542
|
/** Current system time of RICOH THETA. Setting another options will result in an error. */
|
|
626
543
|
dateTimeZone?: string;
|
|
544
|
+
/** IP address allocation to be used when wired LAN is enabled. */
|
|
545
|
+
ethernetConfig?: EthernetConfig;
|
|
627
546
|
/** Exposure compensation (EV). */
|
|
628
547
|
exposureCompensation?: ExposureCompensationEnum;
|
|
629
548
|
/** Operating time (sec.) of the self-timer. */
|
|
@@ -633,7 +552,7 @@ export type Options = {
|
|
|
633
552
|
/** Face detection */
|
|
634
553
|
faceDetect?: FaceDetectEnum;
|
|
635
554
|
/** Image format used in shooting. */
|
|
636
|
-
fileFormat?:
|
|
555
|
+
fileFormat?: FileFormatEnum;
|
|
637
556
|
/** Image processing filter. */
|
|
638
557
|
filter?: FilterEnum;
|
|
639
558
|
/** Shooting function. */
|
|
@@ -38,7 +38,7 @@ export type FileInfo = {
|
|
|
38
38
|
projectionType?: ProjectionTypeEnum;
|
|
39
39
|
/** Group ID of continuous shooting. (RICOH THETA X or later) */
|
|
40
40
|
continuousShootingGroupId?: string;
|
|
41
|
-
/** Frame rate. (RICOH THETA X or later) */
|
|
41
|
+
/** Frame rate. (RICOH THETA Z1 Version 3.01.1 or later, RICOH THETA X or later) */
|
|
42
42
|
frameRate?: number;
|
|
43
43
|
/** Favorite. (RICOH THETA X or later) */
|
|
44
44
|
favorite?: boolean;
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
import type { ThetaConfig } from './theta-config';
|
|
33
33
|
import type { ThetaTimeout } from './theta-timeout';
|
|
34
34
|
import { NotifyController } from './notify-controller';
|
|
35
|
+
import { EventWebSocket } from './event-websocket';
|
|
35
36
|
const ThetaClientReactNative = NativeModules.ThetaClientReactNative;
|
|
36
37
|
|
|
37
38
|
/**
|
|
@@ -310,6 +311,16 @@ export function getThetaInfo(): Promise<ThetaInfo> {
|
|
|
310
311
|
return ThetaClientReactNative.getThetaInfo();
|
|
311
312
|
}
|
|
312
313
|
|
|
314
|
+
/**
|
|
315
|
+
* Acquires open source license information related to the camera.
|
|
316
|
+
*
|
|
317
|
+
* @function getThetaLicense
|
|
318
|
+
* @return Promise of string result, HTML string of the license.
|
|
319
|
+
*/
|
|
320
|
+
export function getThetaLicense(): Promise<string> {
|
|
321
|
+
return ThetaClientReactNative.getThetaLicense();
|
|
322
|
+
}
|
|
323
|
+
|
|
313
324
|
/**
|
|
314
325
|
* Get current state of Theta.
|
|
315
326
|
*
|
|
@@ -636,3 +647,15 @@ export function getPluginOrders(): Promise<string[]> {
|
|
|
636
647
|
export function setPluginOrders(plugins: string[]): Promise<boolean> {
|
|
637
648
|
return ThetaClientReactNative.setPluginOrders(plugins);
|
|
638
649
|
}
|
|
650
|
+
|
|
651
|
+
export function getEventWebSocket(): Promise<EventWebSocket> {
|
|
652
|
+
return new Promise<EventWebSocket>(async (resolve, reject) => {
|
|
653
|
+
ThetaClientReactNative.getEventWebSocket()
|
|
654
|
+
.then(() => {
|
|
655
|
+
resolve(new EventWebSocket(NotifyController.instance));
|
|
656
|
+
})
|
|
657
|
+
.catch((error: any) => {
|
|
658
|
+
reject(error);
|
|
659
|
+
});
|
|
660
|
+
});
|
|
661
|
+
}
|
|
@@ -57,51 +57,51 @@ export type MicrophoneOptionEnum =
|
|
|
57
57
|
/** Mutable values representing Theta status. */
|
|
58
58
|
export type ThetaState = {
|
|
59
59
|
/** Fingerprint (unique identifier) of the current camera state */
|
|
60
|
-
fingerprint
|
|
60
|
+
fingerprint?: string;
|
|
61
61
|
/** Battery level between 0.0 and 1.0 */
|
|
62
|
-
batteryLevel
|
|
62
|
+
batteryLevel?: number;
|
|
63
63
|
/** Storage URI */
|
|
64
|
-
storageUri
|
|
64
|
+
storageUri?: string;
|
|
65
65
|
/** Storage ID */
|
|
66
|
-
storageID
|
|
66
|
+
storageID?: string;
|
|
67
67
|
/** Continuously shoots state */
|
|
68
|
-
captureStatus
|
|
68
|
+
captureStatus?: CaptureStatusEnum;
|
|
69
69
|
/** Recorded time of movie (seconds) */
|
|
70
|
-
recordedTime
|
|
70
|
+
recordedTime?: number;
|
|
71
71
|
/** Recordable time of movie (seconds) */
|
|
72
|
-
recordableTime
|
|
72
|
+
recordableTime?: number;
|
|
73
73
|
/** Number of still images captured during continuous shooting, Unit: images */
|
|
74
|
-
capturedPictures
|
|
74
|
+
capturedPictures?: number;
|
|
75
75
|
/** Elapsed time for interval composite shooting (sec) */
|
|
76
|
-
compositeShootingElapsedTime
|
|
76
|
+
compositeShootingElapsedTime?: number;
|
|
77
77
|
/** URL of the last saved file */
|
|
78
|
-
latestFileUrl
|
|
78
|
+
latestFileUrl?: string;
|
|
79
79
|
/** Charging state */
|
|
80
|
-
chargingState
|
|
80
|
+
chargingState?: ChargingStateEnum;
|
|
81
81
|
/** API version currently set (1: v2.0, 2: v2.1) */
|
|
82
|
-
apiVersion
|
|
82
|
+
apiVersion?: number;
|
|
83
83
|
/** Plugin running state (true: running, false: stop) */
|
|
84
|
-
isPluginRunning
|
|
84
|
+
isPluginRunning?: boolean;
|
|
85
85
|
/** Plugin web server state (true: enabled, false: disabled) */
|
|
86
|
-
isPluginWebServer
|
|
86
|
+
isPluginWebServer?: boolean;
|
|
87
87
|
/** Shooting function status*/
|
|
88
|
-
function
|
|
88
|
+
function?: ShootingFunctionEnum;
|
|
89
89
|
/** My setting changed state */
|
|
90
|
-
isMySettingChanged
|
|
90
|
+
isMySettingChanged?: boolean;
|
|
91
91
|
/** Identifies the microphone used while recording video */
|
|
92
|
-
currentMicrophone
|
|
92
|
+
currentMicrophone?: MicrophoneOptionEnum;
|
|
93
93
|
/** true if record to SD card */
|
|
94
|
-
isSdCard
|
|
94
|
+
isSdCard?: boolean;
|
|
95
95
|
/** Error information of the camera */
|
|
96
|
-
cameraError
|
|
96
|
+
cameraError?: Array<CameraErrorEnum>;
|
|
97
97
|
/** true: Battery inserted; false: Battery not inserted */
|
|
98
|
-
isBatteryInsert
|
|
98
|
+
isBatteryInsert?: boolean;
|
|
99
99
|
/** Location data is obtained through an external device using WebAPI or BLE-API. */
|
|
100
|
-
externalGpsInfo
|
|
100
|
+
externalGpsInfo?: StateGpsInfo;
|
|
101
101
|
/** Location data is obtained through an internal GPS module. RICOH THETA Z1 does not have a built-in GPS module. */
|
|
102
|
-
internalGpsInfo
|
|
102
|
+
internalGpsInfo?: StateGpsInfo;
|
|
103
103
|
/** This represents the current temperature inside the camera as an integer value, ranging from -10°C to 100°C with a precision of 1°C. */
|
|
104
|
-
boardTemp
|
|
104
|
+
boardTemp?: number;
|
|
105
105
|
/** This represents the current temperature inside the battery as an integer value, ranging from -10°C to 100°C with a precision of 1°C. */
|
|
106
|
-
batteryTemp
|
|
106
|
+
batteryTemp?: number;
|
|
107
107
|
};
|
|
@@ -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.9.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
|