theta-client-react-native 1.0.2 → 1.2.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/README.md +6 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +409 -0
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +700 -24
- package/ios/ThetaClientReactNative.h +6 -0
- package/ios/ThetaClientReactNative.mm +1661 -183
- package/lib/commonjs/capture/capture.js +118 -0
- package/lib/commonjs/capture/capture.js.map +1 -0
- package/lib/commonjs/capture/index.js +50 -0
- package/lib/commonjs/capture/index.js.map +1 -0
- package/lib/commonjs/capture/notify.js +12 -0
- package/lib/commonjs/capture/notify.js.map +1 -0
- package/lib/commonjs/capture/photo-capture.js +64 -0
- package/lib/commonjs/capture/photo-capture.js.map +1 -0
- package/lib/commonjs/capture/time-shift-capture.js +91 -0
- package/lib/commonjs/capture/time-shift-capture.js.map +1 -0
- package/lib/commonjs/capture/video-capture.js +71 -0
- package/lib/commonjs/capture/video-capture.js.map +1 -0
- package/lib/commonjs/index.js +40 -1041
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/theta-repository/access-point.js +23 -0
- package/lib/commonjs/theta-repository/access-point.js.map +1 -0
- package/lib/commonjs/theta-repository/digest-auth.js +2 -0
- package/lib/commonjs/theta-repository/digest-auth.js.map +1 -0
- package/lib/commonjs/theta-repository/index.js +105 -0
- package/lib/commonjs/theta-repository/index.js.map +1 -0
- package/lib/commonjs/theta-repository/options/index.js +138 -0
- package/lib/commonjs/theta-repository/options/index.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-camera-control-source.js +29 -0
- package/lib/commonjs/theta-repository/options/option-camera-control-source.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-camera-mode.js +26 -0
- package/lib/commonjs/theta-repository/options/option-camera-mode.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-network-type.js +26 -0
- package/lib/commonjs/theta-repository/options/option-network-type.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-power-saving.js +24 -0
- package/lib/commonjs/theta-repository/options/option-power-saving.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-preview-format.js +32 -0
- package/lib/commonjs/theta-repository/options/option-preview-format.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-proxy.js +2 -0
- package/lib/commonjs/theta-repository/options/option-proxy.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-shooting-method.js +41 -0
- package/lib/commonjs/theta-repository/options/option-shooting-method.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-shutter-speed.js +302 -0
- package/lib/commonjs/theta-repository/options/option-shutter-speed.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-time-shift.js +43 -0
- package/lib/commonjs/theta-repository/options/option-time-shift.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-white-balance-auto-strength.js +25 -0
- package/lib/commonjs/theta-repository/options/option-white-balance-auto-strength.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-wlan-frequency.js +22 -0
- package/lib/commonjs/theta-repository/options/option-wlan-frequency.js.map +1 -0
- package/lib/commonjs/theta-repository/options/options.js +490 -0
- package/lib/commonjs/theta-repository/options/options.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-config.js +6 -0
- package/lib/commonjs/theta-repository/theta-config.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-files.js +35 -0
- package/lib/commonjs/theta-repository/theta-files.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-info.js +2 -0
- package/lib/commonjs/theta-repository/theta-info.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-meta.js +2 -0
- package/lib/commonjs/theta-repository/theta-meta.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-plugin.js +2 -0
- package/lib/commonjs/theta-repository/theta-plugin.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-repository.js +510 -0
- package/lib/commonjs/theta-repository/theta-repository.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-state.js +120 -0
- package/lib/commonjs/theta-repository/theta-state.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-timeout.js +2 -0
- package/lib/commonjs/theta-repository/theta-timeout.js.map +1 -0
- package/lib/module/capture/capture.js +111 -0
- package/lib/module/capture/capture.js.map +1 -0
- package/lib/module/capture/index.js +5 -0
- package/lib/module/capture/index.js.map +1 -0
- package/lib/module/capture/notify.js +6 -0
- package/lib/module/capture/notify.js.map +1 -0
- package/lib/module/capture/photo-capture.js +56 -0
- package/lib/module/capture/photo-capture.js.map +1 -0
- package/lib/module/capture/time-shift-capture.js +83 -0
- package/lib/module/capture/time-shift-capture.js.map +1 -0
- package/lib/module/capture/video-capture.js +63 -0
- package/lib/module/capture/video-capture.js.map +1 -0
- package/lib/module/index.js +3 -1009
- package/lib/module/index.js.map +1 -1
- package/lib/module/theta-repository/access-point.js +16 -0
- package/lib/module/theta-repository/access-point.js.map +1 -0
- package/lib/module/theta-repository/digest-auth.js +2 -0
- package/lib/module/theta-repository/digest-auth.js.map +1 -0
- package/lib/module/theta-repository/index.js +10 -0
- package/lib/module/theta-repository/index.js.map +1 -0
- package/lib/module/theta-repository/options/index.js +13 -0
- package/lib/module/theta-repository/options/index.js.map +1 -0
- package/lib/module/theta-repository/options/option-camera-control-source.js +22 -0
- package/lib/module/theta-repository/options/option-camera-control-source.js.map +1 -0
- package/lib/module/theta-repository/options/option-camera-mode.js +19 -0
- package/lib/module/theta-repository/options/option-camera-mode.js.map +1 -0
- package/lib/module/theta-repository/options/option-network-type.js +19 -0
- package/lib/module/theta-repository/options/option-network-type.js.map +1 -0
- package/lib/module/theta-repository/options/option-power-saving.js +17 -0
- package/lib/module/theta-repository/options/option-power-saving.js.map +1 -0
- package/lib/module/theta-repository/options/option-preview-format.js +25 -0
- package/lib/module/theta-repository/options/option-preview-format.js.map +1 -0
- package/lib/module/theta-repository/options/option-proxy.js +2 -0
- package/lib/module/theta-repository/options/option-proxy.js.map +1 -0
- package/lib/module/theta-repository/options/option-shooting-method.js +34 -0
- package/lib/module/theta-repository/options/option-shooting-method.js.map +1 -0
- package/lib/module/theta-repository/options/option-shutter-speed.js +295 -0
- package/lib/module/theta-repository/options/option-shutter-speed.js.map +1 -0
- package/lib/module/theta-repository/options/option-time-shift.js +36 -0
- package/lib/module/theta-repository/options/option-time-shift.js.map +1 -0
- package/lib/module/theta-repository/options/option-white-balance-auto-strength.js +18 -0
- package/lib/module/theta-repository/options/option-white-balance-auto-strength.js.map +1 -0
- package/lib/module/theta-repository/options/option-wlan-frequency.js +15 -0
- package/lib/module/theta-repository/options/option-wlan-frequency.js.map +1 -0
- package/lib/module/theta-repository/options/options.js +482 -0
- package/lib/module/theta-repository/options/options.js.map +1 -0
- package/lib/module/theta-repository/theta-config.js +2 -0
- package/lib/module/theta-repository/theta-config.js.map +1 -0
- package/lib/module/theta-repository/theta-files.js +28 -0
- package/lib/module/theta-repository/theta-files.js.map +1 -0
- package/lib/module/theta-repository/theta-info.js +2 -0
- package/lib/module/theta-repository/theta-info.js.map +1 -0
- package/lib/module/theta-repository/theta-meta.js +2 -0
- package/lib/module/theta-repository/theta-meta.js.map +1 -0
- package/lib/module/theta-repository/theta-plugin.js +2 -0
- package/lib/module/theta-repository/theta-plugin.js.map +1 -0
- package/lib/module/theta-repository/theta-repository.js +466 -0
- package/lib/module/theta-repository/theta-repository.js.map +1 -0
- package/lib/module/theta-repository/theta-state.js +113 -0
- package/lib/module/theta-repository/theta-state.js.map +1 -0
- package/lib/module/theta-repository/theta-timeout.js +2 -0
- package/lib/module/theta-repository/theta-timeout.js.map +1 -0
- package/lib/typescript/capture/capture.d.ts +71 -0
- package/lib/typescript/capture/capture.d.ts.map +1 -0
- package/lib/typescript/capture/index.d.ts +5 -0
- package/lib/typescript/capture/index.d.ts.map +1 -0
- package/lib/typescript/capture/notify.d.ts +13 -0
- package/lib/typescript/capture/notify.d.ts.map +1 -0
- package/lib/typescript/capture/photo-capture.d.ts +38 -0
- package/lib/typescript/capture/photo-capture.d.ts.map +1 -0
- package/lib/typescript/capture/time-shift-capture.d.ts +44 -0
- package/lib/typescript/capture/time-shift-capture.d.ts.map +1 -0
- package/lib/typescript/capture/video-capture.d.ts +43 -0
- package/lib/typescript/capture/video-capture.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +3 -972
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/access-point.d.ts +36 -0
- package/lib/typescript/theta-repository/access-point.d.ts.map +1 -0
- package/lib/typescript/theta-repository/digest-auth.d.ts +17 -0
- package/lib/typescript/theta-repository/digest-auth.d.ts.map +1 -0
- package/lib/typescript/theta-repository/index.d.ts +10 -0
- package/lib/typescript/theta-repository/index.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/index.d.ts +13 -0
- package/lib/typescript/theta-repository/options/index.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-camera-control-source.d.ts +22 -0
- package/lib/typescript/theta-repository/options/option-camera-control-source.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-camera-mode.d.ts +19 -0
- package/lib/typescript/theta-repository/options/option-camera-mode.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-network-type.d.ts +19 -0
- package/lib/typescript/theta-repository/options/option-network-type.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-power-saving.d.ts +16 -0
- package/lib/typescript/theta-repository/options/option-power-saving.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-preview-format.d.ts +25 -0
- package/lib/typescript/theta-repository/options/option-preview-format.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-proxy.d.ts +23 -0
- package/lib/typescript/theta-repository/options/option-proxy.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-shooting-method.d.ts +33 -0
- package/lib/typescript/theta-repository/options/option-shooting-method.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-shutter-speed.d.ts +295 -0
- package/lib/typescript/theta-repository/options/option-shutter-speed.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-time-shift.d.ts +54 -0
- package/lib/typescript/theta-repository/options/option-time-shift.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-white-balance-auto-strength.d.ts +18 -0
- package/lib/typescript/theta-repository/options/option-white-balance-auto-strength.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-wlan-frequency.d.ts +15 -0
- package/lib/typescript/theta-repository/options/option-wlan-frequency.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/options.d.ts +566 -0
- package/lib/typescript/theta-repository/options/options.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-config.d.ts +20 -0
- package/lib/typescript/theta-repository/theta-config.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-files.d.ts +45 -0
- package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-info.d.ts +34 -0
- package/lib/typescript/theta-repository/theta-info.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-meta.d.ts +38 -0
- package/lib/typescript/theta-repository/theta-meta.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-plugin.d.ts +26 -0
- package/lib/typescript/theta-repository/theta-plugin.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-repository.d.ts +333 -0
- package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-state.d.ts +150 -0
- package/lib/typescript/theta-repository/theta-state.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-timeout.d.ts +22 -0
- package/lib/typescript/theta-repository/theta-timeout.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/capture/capture.ts +124 -0
- package/src/capture/index.ts +4 -0
- package/src/capture/notify.ts +27 -0
- package/src/capture/photo-capture.ts +62 -0
- package/src/capture/time-shift-capture.ts +99 -0
- package/src/capture/video-capture.ts +69 -0
- package/src/index.tsx +3 -1243
- package/src/theta-repository/access-point.ts +38 -0
- package/src/theta-repository/digest-auth.ts +16 -0
- package/src/theta-repository/index.ts +9 -0
- package/src/theta-repository/options/index.ts +13 -0
- package/src/theta-repository/options/option-camera-control-source.ts +24 -0
- package/src/theta-repository/options/option-camera-mode.ts +20 -0
- package/src/theta-repository/options/option-network-type.ts +20 -0
- package/src/theta-repository/options/option-power-saving.ts +18 -0
- package/src/theta-repository/options/option-preview-format.ts +27 -0
- package/src/theta-repository/options/option-proxy.ts +22 -0
- package/src/theta-repository/options/option-shooting-method.ts +36 -0
- package/src/theta-repository/options/option-shutter-speed.ts +360 -0
- package/src/theta-repository/options/option-time-shift.ts +59 -0
- package/src/theta-repository/options/option-white-balance-auto-strength.ts +19 -0
- package/src/theta-repository/options/option-wlan-frequency.ts +16 -0
- package/src/theta-repository/options/options.ts +622 -0
- package/src/theta-repository/theta-config.ts +20 -0
- package/src/theta-repository/theta-files.ts +49 -0
- package/src/theta-repository/theta-info.ts +35 -0
- package/src/theta-repository/theta-meta.ts +39 -0
- package/src/theta-repository/theta-plugin.ts +25 -0
- package/src/theta-repository/theta-repository.ts +527 -0
- package/src/theta-repository/theta-state.ts +164 -0
- package/src/theta-repository/theta-timeout.ts +21 -0
- package/theta-client-react-native.podspec +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DigestAuth } from './digest-auth';
|
|
2
|
+
import type { LanguageEnum, OffDelayEnum, SleepDelayEnum } from './options';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration of THETA
|
|
5
|
+
*/
|
|
6
|
+
export type ThetaConfig = {
|
|
7
|
+
/** Location information acquisition time */
|
|
8
|
+
dateTime?: string;
|
|
9
|
+
/** Language used in camera OS */
|
|
10
|
+
language?: LanguageEnum;
|
|
11
|
+
/** Length of standby time before the camera automatically power OFF. */
|
|
12
|
+
offDelay?: OffDelayEnum;
|
|
13
|
+
/** Length of standby time before the camera enters the sleep mode. */
|
|
14
|
+
sleepDelay?: SleepDelayEnum;
|
|
15
|
+
/** Shutter volume. */
|
|
16
|
+
shutterVolume?: number;
|
|
17
|
+
/** Authentication information used for client mode connections */
|
|
18
|
+
clientMode?: DigestAuth;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=theta-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theta-config.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,sEAAsE;IACtE,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,sBAAsB;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/** File information in Theta. */
|
|
2
|
+
export type FileInfo = {
|
|
3
|
+
/** File name. */
|
|
4
|
+
name: string;
|
|
5
|
+
/** File size in bytes. */
|
|
6
|
+
size: number;
|
|
7
|
+
/** File creation time in the format "YYYY:MM:DD HH:MM:SS". */
|
|
8
|
+
dateTime: string;
|
|
9
|
+
/** You can get a thumbnail image using HTTP GET to [thumbnailUrl]. */
|
|
10
|
+
thumbnailUrl: string;
|
|
11
|
+
/** fileUrl You can get a file using HTTP GET to [fileUrl]. */
|
|
12
|
+
fileUrl: string;
|
|
13
|
+
/** Storage ID. (RICOH THETA X Version 2.00.0 or later) */
|
|
14
|
+
storageID?: String;
|
|
15
|
+
};
|
|
16
|
+
/** Data about files in Theta. */
|
|
17
|
+
export type ThetaFiles = {
|
|
18
|
+
/** A list of file information */
|
|
19
|
+
fileList: FileInfo[];
|
|
20
|
+
/** number of totalEntries */
|
|
21
|
+
totalEntries: Number;
|
|
22
|
+
};
|
|
23
|
+
/** File type in Theta. */
|
|
24
|
+
export declare const FileTypeEnum: {
|
|
25
|
+
/** still image files. */
|
|
26
|
+
readonly IMAGE: "IMAGE";
|
|
27
|
+
/** video files. */
|
|
28
|
+
readonly VIDEO: "VIDEO";
|
|
29
|
+
/** all files. */
|
|
30
|
+
readonly ALL: "ALL";
|
|
31
|
+
};
|
|
32
|
+
/** type definition of FileTypeEnum */
|
|
33
|
+
export type FileTypeEnum = (typeof FileTypeEnum)[keyof typeof FileTypeEnum];
|
|
34
|
+
/** Specifies the storage. */
|
|
35
|
+
export declare const StorageEnum: {
|
|
36
|
+
/** internal storage */
|
|
37
|
+
readonly INTERNAL: "INTERNAL";
|
|
38
|
+
/** external storage (SD card) */
|
|
39
|
+
readonly SD: "SD";
|
|
40
|
+
/** current storage */
|
|
41
|
+
readonly CURRENT: "CURRENT";
|
|
42
|
+
};
|
|
43
|
+
/** type definition of StorageEnum */
|
|
44
|
+
export type StorageEnum = (typeof StorageEnum)[keyof typeof StorageEnum];
|
|
45
|
+
//# sourceMappingURL=theta-files.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theta-files.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-files.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,MAAM,MAAM,QAAQ,GAAG;IACrB,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,QAAQ,EAAE,MAAM,CAAC;IACjB,sEAAsE;IACtE,YAAY,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iCAAiC;AACjC,MAAM,MAAM,UAAU,GAAG;IACvB,iCAAiC;IACjC,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,6BAA6B;IAC7B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,0BAA0B;AAC1B,eAAO,MAAM,YAAY;IACvB,yBAAyB;;IAEzB,mBAAmB;;IAEnB,iBAAiB;;CAET,CAAC;AAEX,sCAAsC;AACtC,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE5E,6BAA6B;AAC7B,eAAO,MAAM,WAAW;IACtB,uBAAuB;;IAEvB,iCAAiC;;IAEjC,sBAAsB;;CAEd,CAAC;AAEX,qCAAqC;AACrC,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** Static attributes of Theta. */
|
|
2
|
+
export type ThetaInfo = {
|
|
3
|
+
/** Manufacturer name */
|
|
4
|
+
manufacturer: string;
|
|
5
|
+
/** Theta model name */
|
|
6
|
+
model: string;
|
|
7
|
+
/** Theta serial number */
|
|
8
|
+
serialNumber: string;
|
|
9
|
+
/** MAC address of wireless LAN (RICOH THETA V firmware v2.11.1 or later) */
|
|
10
|
+
wlanMacAddress: string | null;
|
|
11
|
+
/** MAC address of Bluetooth (RICOH THETA V firmware v2.11.1 or later) */
|
|
12
|
+
bluetoothMacAddress: string | null;
|
|
13
|
+
/** Theta firmware version */
|
|
14
|
+
firmwareVersion: string;
|
|
15
|
+
supportUrl: string;
|
|
16
|
+
/** true if Theta has GPS. */
|
|
17
|
+
hasGps: boolean;
|
|
18
|
+
/** true if Theta has Gyroscope */
|
|
19
|
+
hasGyro: boolean;
|
|
20
|
+
/** Number of seconds since Theta boot */
|
|
21
|
+
uptime: number;
|
|
22
|
+
/** List of supported APIs */
|
|
23
|
+
api: string[];
|
|
24
|
+
/** Endpoint information */
|
|
25
|
+
endpoints: EndPoint;
|
|
26
|
+
/** List of supported APIs (1: v2.0, 2: v2.1) */
|
|
27
|
+
apiLevel: number[];
|
|
28
|
+
};
|
|
29
|
+
/** endpoint information */
|
|
30
|
+
export type EndPoint = {
|
|
31
|
+
httpPort: number;
|
|
32
|
+
httpUpdatesPort: number;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=theta-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theta-info.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-info.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,MAAM,MAAM,SAAS,GAAG;IACtB,wBAAwB;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,yEAAyE;IACzE,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,6BAA6B;IAC7B,eAAe,EAAE,MAAM,CAAC;IAExB,UAAU,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,kCAAkC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,2BAA2B;IAC3B,SAAS,EAAE,QAAQ,CAAC;IACpB,gDAAgD;IAChD,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,2BAA2B;AAC3B,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* exif information
|
|
3
|
+
*/
|
|
4
|
+
export type Exif = {
|
|
5
|
+
/** EXIF Support version */
|
|
6
|
+
exifVersion: string;
|
|
7
|
+
/** File created or updated date and time */
|
|
8
|
+
dateTime: string;
|
|
9
|
+
/** Image width (pixel). Theta X returns null. */
|
|
10
|
+
imageWidth?: number;
|
|
11
|
+
/** Image height (pixel). Theta X returns null. */
|
|
12
|
+
imageLength?: number;
|
|
13
|
+
/** GPS latitude if exists. */
|
|
14
|
+
gpsLatitude?: number;
|
|
15
|
+
/** GPS longitude if exists. */
|
|
16
|
+
gpsLongitude?: number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Photo sphere XMP metadata of a still image.
|
|
20
|
+
*/
|
|
21
|
+
export type Xmp = {
|
|
22
|
+
/** Compass heading, for the center the image. Theta X returns null. */
|
|
23
|
+
poseHeadingDegrees?: number;
|
|
24
|
+
/** Image width (pixel). */
|
|
25
|
+
fullPanoWidthPixels: number;
|
|
26
|
+
/** Image height (pixel). */
|
|
27
|
+
fullPanoHeightPixels: number;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* metadata of a still image
|
|
31
|
+
*/
|
|
32
|
+
export type MetaInfo = {
|
|
33
|
+
/** exif information */
|
|
34
|
+
exif?: Exif;
|
|
35
|
+
/** xmp information */
|
|
36
|
+
xmp?: Xmp;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=theta-meta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theta-meta.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-meta.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACjB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG;IAChB,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,2BAA2B;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,4BAA4B;IAC5B,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,uBAAuB;IACvB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,sBAAsB;IACtB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* plugin information used by ThetaRepository.listPlugins().
|
|
3
|
+
*/
|
|
4
|
+
export type PluginInfo = {
|
|
5
|
+
/** Plugin name */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Package name */
|
|
8
|
+
packageName: string;
|
|
9
|
+
/** Plugin version */
|
|
10
|
+
version: string;
|
|
11
|
+
/** Pre-installed plugin or not */
|
|
12
|
+
isPreInstalled: boolean;
|
|
13
|
+
/** Is the plugin running or not */
|
|
14
|
+
isRunning: boolean;
|
|
15
|
+
/** Is the plugin foreground or not */
|
|
16
|
+
isForeground: boolean;
|
|
17
|
+
/** Is the plugin to be started on boot or not */
|
|
18
|
+
isBoot: boolean;
|
|
19
|
+
/** Does the plugin have web server or not */
|
|
20
|
+
hasWebServer: boolean;
|
|
21
|
+
/** Exit status of the plugin */
|
|
22
|
+
exitStatus: string;
|
|
23
|
+
/** Message of the plugin */
|
|
24
|
+
message: string;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=theta-plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theta-plugin.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-plugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,kBAAkB;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,cAAc,EAAE,OAAO,CAAC;IACxB,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,YAAY,EAAE,OAAO,CAAC;IACtB,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { AccessPoint, AuthModeEnum } from './access-point';
|
|
2
|
+
import type { FileTypeEnum, StorageEnum, ThetaFiles } from './theta-files';
|
|
3
|
+
import type { ThetaState } from './theta-state';
|
|
4
|
+
import type { ThetaInfo } from './theta-info';
|
|
5
|
+
import type { MetaInfo } from './theta-meta';
|
|
6
|
+
import type { PluginInfo } from './theta-plugin';
|
|
7
|
+
import type { OptionNameEnum, Options, CaptureModeEnum, Proxy } from './options';
|
|
8
|
+
import { PhotoCaptureBuilder, VideoCaptureBuilder, TimeShiftCaptureBuilder } from '../capture';
|
|
9
|
+
import type { ThetaConfig } from './theta-config';
|
|
10
|
+
import type { ThetaTimeout } from './theta-timeout';
|
|
11
|
+
/**
|
|
12
|
+
* initialize theta client sdk
|
|
13
|
+
*
|
|
14
|
+
* @function initialize
|
|
15
|
+
* @param {string} endPoint optional endpoint of camera
|
|
16
|
+
* @param {ThetaConfig} config Configuration of initialize. If null, get from THETA.
|
|
17
|
+
* @param {ThetaTimeout} timeout Timeout of HTTP call.
|
|
18
|
+
* @return promise of boolean result
|
|
19
|
+
**/
|
|
20
|
+
export declare function initialize(endPoint?: string, config?: ThetaConfig, timeout?: ThetaTimeout): Promise<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns whether it is initialized or not.
|
|
23
|
+
*
|
|
24
|
+
* @function isInitialized
|
|
25
|
+
* @return promise of boolean result
|
|
26
|
+
**/
|
|
27
|
+
export declare function isInitialized(): Promise<boolean>;
|
|
28
|
+
/**
|
|
29
|
+
* Reset all device settings and capture settings.
|
|
30
|
+
* After reset, the camera will be restarted.
|
|
31
|
+
*
|
|
32
|
+
* @function reset
|
|
33
|
+
* @return promise of boolean result
|
|
34
|
+
*/
|
|
35
|
+
export declare function reset(): Promise<boolean>;
|
|
36
|
+
/**
|
|
37
|
+
* Get PhotoCaptureBuilder for take a picture.
|
|
38
|
+
*
|
|
39
|
+
* @function getPhotoCaptureBuilder
|
|
40
|
+
* @return created PhotoCaptureBuilder
|
|
41
|
+
*/
|
|
42
|
+
export declare function getPhotoCaptureBuilder(): PhotoCaptureBuilder;
|
|
43
|
+
/**
|
|
44
|
+
* Get TimeShiftCaptureBuilder for time-shift.
|
|
45
|
+
*
|
|
46
|
+
* @function getTimeShiftCaptureBuilder
|
|
47
|
+
* @return created TimeShiftCaptureBuilder
|
|
48
|
+
*/
|
|
49
|
+
export declare function getTimeShiftCaptureBuilder(): TimeShiftCaptureBuilder;
|
|
50
|
+
/**
|
|
51
|
+
* Get PhotoCapture.Builder for capture video.
|
|
52
|
+
*
|
|
53
|
+
* @function getVideoCaptureBuilder
|
|
54
|
+
* @return created VideoCaptureBuilder instance
|
|
55
|
+
*/
|
|
56
|
+
export declare function getVideoCaptureBuilder(): VideoCaptureBuilder;
|
|
57
|
+
/**
|
|
58
|
+
* Start live preview.
|
|
59
|
+
* preview frame (JPEG DataURL) send THETA_EVENT_NAME event as
|
|
60
|
+
* {
|
|
61
|
+
* "data": "DataURL of JPEG Frame"
|
|
62
|
+
* }
|
|
63
|
+
*
|
|
64
|
+
* @function StartLivePreview
|
|
65
|
+
* @return promise of boolean result
|
|
66
|
+
*/
|
|
67
|
+
export declare function getLivePreview(): Promise<boolean>;
|
|
68
|
+
/**
|
|
69
|
+
* Stop live preview.
|
|
70
|
+
*
|
|
71
|
+
* @function StopLivePreview
|
|
72
|
+
*/
|
|
73
|
+
export declare function stopLivePreview(): void;
|
|
74
|
+
/**
|
|
75
|
+
* Restore setting to THETA
|
|
76
|
+
*
|
|
77
|
+
* @function restoreSettings
|
|
78
|
+
* @return promise of boolean result
|
|
79
|
+
*/
|
|
80
|
+
export declare function restoreSettings(): Promise<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* Stop running self-timer.
|
|
83
|
+
*
|
|
84
|
+
* @function stopSelfTimer
|
|
85
|
+
* @return promise of boolean result
|
|
86
|
+
*/
|
|
87
|
+
export declare function stopSelfTimer(): Promise<boolean>;
|
|
88
|
+
/**
|
|
89
|
+
* Converts the movie format of a saved movie.
|
|
90
|
+
*
|
|
91
|
+
* @function convertVideoFormats
|
|
92
|
+
* @param {string} fileUrl URL of a saved movie file to convert
|
|
93
|
+
* @param {boolean} toLowResolution If true generates lower resolution
|
|
94
|
+
* video, otherwise same resolution.
|
|
95
|
+
* @param {boolean} applyTopBottomCorrection apply Top/bottom
|
|
96
|
+
* correction. This parameter is ignored on Theta X.
|
|
97
|
+
* @return promise of URL of a converted movie file.
|
|
98
|
+
*/
|
|
99
|
+
export declare function convertVideoFormats(fileUrl: string, toLowResolution: boolean, applyTopBottomCorrection: boolean): Promise<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Cancels the movie format conversion.
|
|
102
|
+
*
|
|
103
|
+
* @function cancelVideoConvert
|
|
104
|
+
* @return promise of boolean result
|
|
105
|
+
*/
|
|
106
|
+
export declare function cancelVideoConvert(): Promise<boolean>;
|
|
107
|
+
/**
|
|
108
|
+
* Turns the wireless LAN off.
|
|
109
|
+
*
|
|
110
|
+
* @function finishWlan
|
|
111
|
+
* @return promise of boolean result
|
|
112
|
+
*/
|
|
113
|
+
export declare function finishWlan(): Promise<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* Registers identification information (UUID) of a BLE device.
|
|
116
|
+
*
|
|
117
|
+
* @function setBluetoothDevice
|
|
118
|
+
* @param {string} uuid UUID of the BLE device to set.
|
|
119
|
+
* @return promise of String result
|
|
120
|
+
*/
|
|
121
|
+
export declare function setBluetoothDevice(uuid: string): Promise<String>;
|
|
122
|
+
/**
|
|
123
|
+
* Get basic information about Theta.
|
|
124
|
+
*
|
|
125
|
+
* @function getThetaInfo
|
|
126
|
+
* @return promise of ThetaInfo
|
|
127
|
+
**/
|
|
128
|
+
export declare function getThetaInfo(): Promise<ThetaInfo>;
|
|
129
|
+
/**
|
|
130
|
+
* Get current state of Theta.
|
|
131
|
+
*
|
|
132
|
+
* @function getThetaState
|
|
133
|
+
* @return promise of ThetaState
|
|
134
|
+
**/
|
|
135
|
+
export declare function getThetaState(): Promise<ThetaState>;
|
|
136
|
+
/**
|
|
137
|
+
* Lists information of images and videos in Theta.
|
|
138
|
+
*
|
|
139
|
+
* @function listFiles
|
|
140
|
+
* @param {FileTypeEnum} fileType Type of the files to be listed.
|
|
141
|
+
* @param {number} startPosition The position of the first file to be
|
|
142
|
+
* returned in the list. 0 represents the first file. If
|
|
143
|
+
* startPosition is larger than the position of the last file, an
|
|
144
|
+
* empty list is returned.
|
|
145
|
+
* @param {number} entryCount Desired number of entries to return. If
|
|
146
|
+
* entryCount is more than the number of remaining files, just
|
|
147
|
+
* return entries of actual remaining files.
|
|
148
|
+
* @param {StorageEnum} storage Desired storage. If omitted, return current storage. (RICOH THETA X Version 2.00.0 or later)
|
|
149
|
+
* @return promise with a list of file information and number of totalEntries.
|
|
150
|
+
* see [camera.listFiles](https://github.com/ricohapi/theta-api-specs/blob/main/theta-web-api-v2.1/commands/camera.list_files.md).
|
|
151
|
+
*/
|
|
152
|
+
export declare function listFiles(fileTypeEnum: FileTypeEnum, startPosition: number | undefined, entryCount: number, storage?: StorageEnum): Promise<ThetaFiles>;
|
|
153
|
+
/**
|
|
154
|
+
* Delete files in Theta.
|
|
155
|
+
*
|
|
156
|
+
* @function deleteFiles
|
|
157
|
+
* @param {string[]} fileUrls URLs of the file to be deleted.
|
|
158
|
+
* @return promise of boolean result
|
|
159
|
+
*/
|
|
160
|
+
export declare function deleteFiles(fileUrls: string[]): Promise<boolean>;
|
|
161
|
+
/**
|
|
162
|
+
* Delete all files in Theta.
|
|
163
|
+
*
|
|
164
|
+
* @function deleteAllFiles
|
|
165
|
+
* @return promise of boolean result
|
|
166
|
+
*/
|
|
167
|
+
export declare function deleteAllFiles(): Promise<boolean>;
|
|
168
|
+
/**
|
|
169
|
+
* Delete all image files in Theta.
|
|
170
|
+
*
|
|
171
|
+
* @function deleteAllImageFiles
|
|
172
|
+
* @return promise of boolean result
|
|
173
|
+
*/
|
|
174
|
+
export declare function deleteAllImageFiles(): Promise<boolean>;
|
|
175
|
+
/**
|
|
176
|
+
* Delete all video files in Theta.
|
|
177
|
+
*
|
|
178
|
+
* @function deleteAllVideoFiles
|
|
179
|
+
* @return promise of boolean result
|
|
180
|
+
*/
|
|
181
|
+
export declare function deleteAllVideoFiles(): Promise<boolean>;
|
|
182
|
+
/**
|
|
183
|
+
* Acquires the properties and property support specifications for
|
|
184
|
+
* shooting, the camera, etc.
|
|
185
|
+
*
|
|
186
|
+
* @function getOptions
|
|
187
|
+
* @param {OptionNameEnum[]} optionNames List of OptionNameEnum.
|
|
188
|
+
* @return promise of Options acquired
|
|
189
|
+
*/
|
|
190
|
+
export declare function getOptions(optionNames: OptionNameEnum[]): Promise<Options>;
|
|
191
|
+
/**
|
|
192
|
+
* Property settings for shooting, the camera, etc.
|
|
193
|
+
*
|
|
194
|
+
* @function setOptions
|
|
195
|
+
* @param {Options} options Camera setting options.
|
|
196
|
+
* @return promise of boolean result
|
|
197
|
+
*/
|
|
198
|
+
export declare function setOptions(options: Options): Promise<boolean>;
|
|
199
|
+
/**
|
|
200
|
+
* Get metadata of a still image
|
|
201
|
+
*
|
|
202
|
+
* @function getMetadata
|
|
203
|
+
* @param {string} fileUrl URL of a still image file to get metadata
|
|
204
|
+
* @return promise of MetaInfo
|
|
205
|
+
*/
|
|
206
|
+
export declare function getMetadata(fileUrl: string): Promise<MetaInfo>;
|
|
207
|
+
/**
|
|
208
|
+
* Acquires the access point list used in client mode.
|
|
209
|
+
*
|
|
210
|
+
* @function listAccessPoints
|
|
211
|
+
* @return promise of AccessPoint list
|
|
212
|
+
*/
|
|
213
|
+
export declare function listAccessPoints(): Promise<AccessPoint[]>;
|
|
214
|
+
/**
|
|
215
|
+
* Set access point. IP address is set dynamically.
|
|
216
|
+
*
|
|
217
|
+
* @function setAccessPointDynamically
|
|
218
|
+
* @param {string} ssid SSID of the access point.
|
|
219
|
+
* @param {boolean} ssidStealth true if SSID stealth is enabled.
|
|
220
|
+
* @param {AuthModeEnum} authMode Authentication mode.
|
|
221
|
+
* @param {string} password Password. If authMode is "NONE", pass empty String.
|
|
222
|
+
* @param {number} connectionPriority Connection priority 1 to 5.
|
|
223
|
+
* @param {Proxy} proxy Proxy information to be used for the access point.
|
|
224
|
+
* @return promise of boolean result
|
|
225
|
+
*/
|
|
226
|
+
export declare function setAccessPointDynamically(ssid: string, ssidStealth?: boolean, authMode?: AuthModeEnum, password?: string, connectionPriority?: number, proxy?: Proxy): Promise<boolean>;
|
|
227
|
+
/**
|
|
228
|
+
* Set access point. IP address is set statically.
|
|
229
|
+
*
|
|
230
|
+
* @function setAccessPointStatically
|
|
231
|
+
* @param {string} ssid SSID of the access point.
|
|
232
|
+
* @param {boolean} ssidStealth True if SSID stealth is enabled.
|
|
233
|
+
* @param {AuthModeEnum} authMode Authentication mode.
|
|
234
|
+
* @param {string} password Password. If authMode is "NONE", pass empty String.
|
|
235
|
+
* @param {number} connectionPriority Connection priority 1 to 5.
|
|
236
|
+
* @param {string} ipAddress IP address assigns to Theta.
|
|
237
|
+
* @param {string} subnetMask Subnet mask.
|
|
238
|
+
* @param {string} defaultGateway Default gateway.
|
|
239
|
+
* @param {Proxy} proxy Proxy information to be used for the access point.
|
|
240
|
+
* @return promise of boolean result
|
|
241
|
+
*/
|
|
242
|
+
export declare function setAccessPointStatically(ssid: string, ssidStealth: boolean | undefined, authMode: AuthModeEnum | undefined, password: string | undefined, connectionPriority: number | undefined, ipAddress: string, subnetMask: string, defaultGateway: string, proxy?: Proxy): Promise<boolean>;
|
|
243
|
+
/**
|
|
244
|
+
* Deletes access point information used in client mode.
|
|
245
|
+
*
|
|
246
|
+
* @function deleteAccessPoint
|
|
247
|
+
* @param {string} ssid SSID of the access point to delete.
|
|
248
|
+
* @return promise of boolean result
|
|
249
|
+
*/
|
|
250
|
+
export declare function deleteAccessPoint(ssid: string): Promise<boolean>;
|
|
251
|
+
/**
|
|
252
|
+
* Acquires the shooting properties set by the camera._setMySetting command.
|
|
253
|
+
* Just for Theta V and later.
|
|
254
|
+
*
|
|
255
|
+
* @function getMySetting
|
|
256
|
+
* @param captureMode The target shooting mode
|
|
257
|
+
* @returns Options of my setting
|
|
258
|
+
*/
|
|
259
|
+
export declare function getMySetting(captureMode: CaptureModeEnum): Promise<Options>;
|
|
260
|
+
/**
|
|
261
|
+
* Acquires the shooting properties set by the camera._setMySetting command.
|
|
262
|
+
* Just for Theta S and SC.
|
|
263
|
+
*
|
|
264
|
+
* @function getMySetting
|
|
265
|
+
* @param optionNames List of option names to acquire
|
|
266
|
+
* @returns Options of my setting
|
|
267
|
+
*/
|
|
268
|
+
export declare function getMySettingFromOldModel(optionNames: OptionNameEnum[]): Promise<Options>;
|
|
269
|
+
/**
|
|
270
|
+
* Registers shooting conditions in My Settings
|
|
271
|
+
* @function setMySetting
|
|
272
|
+
* @param captureMode The target shooting mode. RICOH THETA S and SC do not support My Settings in video capture mode.
|
|
273
|
+
* @param options registered to My Settings
|
|
274
|
+
* @returns Promise of boolean result, always true
|
|
275
|
+
*/
|
|
276
|
+
export declare function setMySetting(captureMode: CaptureModeEnum, options: Options): Promise<boolean>;
|
|
277
|
+
/**
|
|
278
|
+
* Delete shooting conditions in My Settings. Supported just by Theta X and Z1.
|
|
279
|
+
* @param captureMode The target shooting mode
|
|
280
|
+
* @returns Promise of boolean result, always true
|
|
281
|
+
*/
|
|
282
|
+
export declare function deleteMySetting(captureMode: CaptureModeEnum): Promise<boolean>;
|
|
283
|
+
/**
|
|
284
|
+
* Acquires a list of installed plugins
|
|
285
|
+
* @function listPlugins
|
|
286
|
+
* @return A list of the plugins installed in Theta.
|
|
287
|
+
*/
|
|
288
|
+
export declare function listPlugins(): Promise<PluginInfo[]>;
|
|
289
|
+
/**
|
|
290
|
+
* Sets the installed plugin for boot. Supported just by Theta V.
|
|
291
|
+
* @function setPlugin
|
|
292
|
+
* @param packageName Package name of the target plugin.
|
|
293
|
+
* @return Promise of boolean result, always true.
|
|
294
|
+
*/
|
|
295
|
+
export declare function setPlugin(packageName: string): Promise<boolean>;
|
|
296
|
+
/**
|
|
297
|
+
* Start the plugin specified by the [packageName].
|
|
298
|
+
* @function startPlugin
|
|
299
|
+
* @param packageName Package name of the target plugin.
|
|
300
|
+
* @return Promise of boolean result, always true.
|
|
301
|
+
*/
|
|
302
|
+
export declare function startPlugin(packageName: string): Promise<boolean>;
|
|
303
|
+
/**
|
|
304
|
+
* Stop the running plugin.
|
|
305
|
+
* @function stopPlugin
|
|
306
|
+
* @return Promise of boolean result, always true.
|
|
307
|
+
*/
|
|
308
|
+
export declare function stopPlugin(): Promise<boolean>;
|
|
309
|
+
/**
|
|
310
|
+
* Acquires the license for the installed plugin.
|
|
311
|
+
* @function getPluginLicense
|
|
312
|
+
* @param packageName Package name of the target plugin.
|
|
313
|
+
* @return Promise of string result, HTML string of the license.
|
|
314
|
+
*/
|
|
315
|
+
export declare function getPluginLicense(packageName: string): Promise<string>;
|
|
316
|
+
/**
|
|
317
|
+
* Return the plugin orders. Supported just by Theta X and Z1.
|
|
318
|
+
* @function getPluginOrders
|
|
319
|
+
* @return Promise of string[] result, list of package names of plugins.
|
|
320
|
+
*/
|
|
321
|
+
export declare function getPluginOrders(): Promise<string[]>;
|
|
322
|
+
/**
|
|
323
|
+
* Sets the plugin orders. Supported just by Theta X and Z1.
|
|
324
|
+
* @function setPluginOrders
|
|
325
|
+
* @param plugins list of package names of plugins.
|
|
326
|
+
* For Z1, list size must be three. No restrictions for the size for X.
|
|
327
|
+
* When not specifying, set an empty string.
|
|
328
|
+
* If an empty string is placed mid-way, it will be moved to the front.
|
|
329
|
+
* Specifying zero package name will result in an error
|
|
330
|
+
* @return Promise of boolean result, always true.
|
|
331
|
+
*/
|
|
332
|
+
export declare function setPluginOrders(plugins: string[]): Promise<boolean>;
|
|
333
|
+
//# sourceMappingURL=theta-repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theta-repository.d.ts","sourceRoot":"","sources":["../../../src/theta-repository/theta-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EACV,cAAc,EACd,OAAO,EACP,eAAe,EACf,KAAK,EACN,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAA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