theta-client-react-native 1.0.1 → 1.1.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 +34 -0
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +311 -9
- package/ios/ThetaClientReactNative.mm +552 -67
- package/lib/commonjs/capture/capture.js +118 -0
- package/lib/commonjs/capture/capture.js.map +1 -0
- package/lib/commonjs/capture/index.js +39 -0
- package/lib/commonjs/capture/index.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/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/index.js +72 -0
- package/lib/commonjs/theta-repository/index.js.map +1 -0
- package/lib/commonjs/theta-repository/options/index.js +28 -0
- package/lib/commonjs/theta-repository/options/index.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/options.js +462 -0
- package/lib/commonjs/theta-repository/options/options.js.map +1 -0
- package/lib/commonjs/theta-repository/theta-files.js +23 -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 +479 -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/module/capture/capture.js +111 -0
- package/lib/module/capture/capture.js.map +1 -0
- package/lib/module/capture/index.js +4 -0
- package/lib/module/capture/index.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/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/index.js +7 -0
- package/lib/module/theta-repository/index.js.map +1 -0
- package/lib/module/theta-repository/options/index.js +3 -0
- package/lib/module/theta-repository/options/index.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/options.js +454 -0
- package/lib/module/theta-repository/options/options.js.map +1 -0
- package/lib/module/theta-repository/theta-files.js +16 -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 +437 -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/typescript/capture/capture.d.ts +71 -0
- package/lib/typescript/capture/capture.d.ts.map +1 -0
- package/lib/typescript/capture/index.d.ts +4 -0
- package/lib/typescript/capture/index.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/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 +33 -0
- package/lib/typescript/theta-repository/access-point.d.ts.map +1 -0
- package/lib/typescript/theta-repository/index.d.ts +7 -0
- package/lib/typescript/theta-repository/index.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 -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/options.d.ts +499 -0
- package/lib/typescript/theta-repository/options/options.d.ts.map +1 -0
- package/lib/typescript/theta-repository/theta-files.d.ts +32 -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 +312 -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/package.json +1 -1
- package/src/capture/capture.ts +124 -0
- package/src/capture/index.ts +3 -0
- package/src/capture/photo-capture.ts +62 -0
- package/src/capture/video-capture.ts +69 -0
- package/src/index.tsx +3 -1243
- package/src/theta-repository/access-point.ts +34 -0
- package/src/theta-repository/index.ts +6 -0
- package/src/theta-repository/options/index.ts +2 -0
- package/src/theta-repository/options/option-white-balance-auto-strength.ts +19 -0
- package/src/theta-repository/options/options.ts +554 -0
- package/src/theta-repository/theta-files.ts +34 -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 +476 -0
- package/src/theta-repository/theta-state.ts +164 -0
- package/theta-client-react-native.podspec +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CaptureBuilder } from './capture';
|
|
2
|
+
import type { FilterEnum, PhotoFileFormatEnum } from '../theta-repository/options';
|
|
3
|
+
/**
|
|
4
|
+
* PhotoCapture class
|
|
5
|
+
*/
|
|
6
|
+
export declare class PhotoCapture {
|
|
7
|
+
/**
|
|
8
|
+
* @return promise of token file url
|
|
9
|
+
*/
|
|
10
|
+
takePicture(): Promise<string>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* PhotoCaptureBaseBuilder class
|
|
14
|
+
*/
|
|
15
|
+
export declare class PhotoCaptureBuilder extends CaptureBuilder<PhotoCaptureBuilder> {
|
|
16
|
+
/** construct PhotoCaptureBuilder instance */
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* Set photo file format.
|
|
20
|
+
* @param {PhotoFileFormatEnum} fileFormat Photo file format to set
|
|
21
|
+
* @return PhotoCaptureBuilder
|
|
22
|
+
*/
|
|
23
|
+
setFileFormat(fileFormat: PhotoFileFormatEnum): PhotoCaptureBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Set image processing filter.
|
|
26
|
+
* @param {FilterEnum} filter Image processing filter to set
|
|
27
|
+
* @return PhotoCaptureBuilder
|
|
28
|
+
*/
|
|
29
|
+
setFilter(filter: FilterEnum): PhotoCaptureBuilder;
|
|
30
|
+
/**
|
|
31
|
+
* Builds an instance of a PhotoCapture that has all the combined
|
|
32
|
+
* parameters of the Options that have been added to the Builder.
|
|
33
|
+
*
|
|
34
|
+
* @return promise of PhotoCapture instance
|
|
35
|
+
*/
|
|
36
|
+
build(): Promise<PhotoCapture>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=photo-capture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo-capture.d.ts","sourceRoot":"","sources":["../../../src/capture/photo-capture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAKrC;;GAEG;AACH,qBAAa,YAAY;IACvB;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC;CAG/B;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,mBAAmB,CAAC;IAC1E,6CAA6C;;IAK7C;;;;OAIG;IACH,aAAa,CAAC,UAAU,EAAE,mBAAmB,GAAG,mBAAmB;IAKnE;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,mBAAmB;IAKlD;;;;;OAKG;IACH,KAAK,IAAI,OAAO,CAAC,YAAY,CAAC;CAK/B"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CaptureBuilder } from './capture';
|
|
2
|
+
import type { MaxRecordableTimeEnum, VideoFileFormatEnum } from '../theta-repository/options';
|
|
3
|
+
/**
|
|
4
|
+
* VideoCapture class
|
|
5
|
+
*/
|
|
6
|
+
export declare class VideoCapture {
|
|
7
|
+
/**
|
|
8
|
+
* start video capture
|
|
9
|
+
* @return promise of captured file url
|
|
10
|
+
*/
|
|
11
|
+
startCapture(): Promise<string>;
|
|
12
|
+
/**
|
|
13
|
+
* stop video capture
|
|
14
|
+
*/
|
|
15
|
+
stopCapture(): void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* VideoCaptureBuilder class
|
|
19
|
+
*/
|
|
20
|
+
export declare class VideoCaptureBuilder extends CaptureBuilder<VideoCaptureBuilder> {
|
|
21
|
+
/** construct VideoCaptureBuilder instance */
|
|
22
|
+
constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Set video file format.
|
|
25
|
+
* @param {VideoFileFormatEnum} fileFormat Video file format to set
|
|
26
|
+
* @return VideoCaptureBuilder
|
|
27
|
+
*/
|
|
28
|
+
setFileFormat(fileFormat: VideoFileFormatEnum): VideoCaptureBuilder;
|
|
29
|
+
/**
|
|
30
|
+
* Set maximum recordable time (in seconds) of the camera.
|
|
31
|
+
* @param {MaxRecordableTimeEnum} time Maximum recordable time to set
|
|
32
|
+
* @return VideoCaptureBuilder
|
|
33
|
+
*/
|
|
34
|
+
setMaxRecordableTime(time: MaxRecordableTimeEnum): VideoCaptureBuilder;
|
|
35
|
+
/**
|
|
36
|
+
* Builds an instance of a VideoCapture that has all the combined
|
|
37
|
+
* parameters of the Options that have been added to the Builder.
|
|
38
|
+
*
|
|
39
|
+
* @return promise of VideoCapture instance
|
|
40
|
+
*/
|
|
41
|
+
build(): Promise<VideoCapture>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=video-capture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-capture.d.ts","sourceRoot":"","sources":["../../../src/capture/video-capture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAKrC;;GAEG;AACH,qBAAa,YAAY;IACvB;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAG/B;;OAEG;IACH,WAAW;CAGZ;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,mBAAmB,CAAC;IAC1E,6CAA6C;;IAK7C;;;;OAIG;IACH,aAAa,CAAC,UAAU,EAAE,mBAAmB,GAAG,mBAAmB;IAKnE;;;;OAIG;IACH,oBAAoB,CAAC,IAAI,EAAE,qBAAqB,GAAG,mBAAmB;IAKtE;;;;;OAKG;IACH,KAAK,IAAI,OAAO,CAAC,YAAY,CAAC;CAK/B"}
|