theta-client-react-native 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +81 -0
- package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +55 -19
- package/ios/ConvertUtil.swift +989 -0
- package/ios/ThetaClientReactNative-Bridging-Header.h +3 -0
- package/ios/ThetaClientReactNative.m +201 -0
- package/ios/ThetaClientReactNative.swift +1337 -0
- package/ios/ThetaClientReactNative.xcodeproj/project.pbxproj +15 -57
- package/lib/commonjs/capture/photo-capture.js +19 -1
- package/lib/commonjs/capture/photo-capture.js.map +1 -1
- package/lib/commonjs/capture/time-shift-capture.js +27 -23
- package/lib/commonjs/capture/time-shift-capture.js.map +1 -1
- package/lib/commonjs/capture/video-capture.js +33 -5
- package/lib/commonjs/capture/video-capture.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/theta-repository/notify-controller.js +40 -0
- package/lib/commonjs/theta-repository/notify-controller.js.map +1 -0
- package/lib/commonjs/theta-repository/options/index.js +44 -0
- package/lib/commonjs/theta-repository/options/index.js.map +1 -1
- package/lib/commonjs/theta-repository/options/option-face-detect.js +22 -0
- package/lib/commonjs/theta-repository/options/option-face-detect.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-function.js +27 -0
- package/lib/commonjs/theta-repository/options/option-function.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-gain.js +26 -0
- package/lib/commonjs/theta-repository/options/option-gain.js.map +1 -0
- package/lib/commonjs/theta-repository/options/option-image-stitching.js +38 -0
- package/lib/commonjs/theta-repository/options/option-image-stitching.js.map +1 -0
- package/lib/commonjs/theta-repository/options/options.js +8 -0
- package/lib/commonjs/theta-repository/options/options.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-repository.js +2 -3
- package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
- package/lib/commonjs/theta-repository/theta-state.js +1 -13
- package/lib/commonjs/theta-repository/theta-state.js.map +1 -1
- package/lib/module/capture/photo-capture.js +19 -1
- package/lib/module/capture/photo-capture.js.map +1 -1
- package/lib/module/capture/time-shift-capture.js +27 -23
- package/lib/module/capture/time-shift-capture.js.map +1 -1
- package/lib/module/capture/video-capture.js +33 -5
- package/lib/module/capture/video-capture.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/theta-repository/notify-controller.js +33 -0
- package/lib/module/theta-repository/notify-controller.js.map +1 -0
- package/lib/module/theta-repository/options/index.js +4 -0
- package/lib/module/theta-repository/options/index.js.map +1 -1
- package/lib/module/theta-repository/options/option-face-detect.js +15 -0
- package/lib/module/theta-repository/options/option-face-detect.js.map +1 -0
- package/lib/module/theta-repository/options/option-function.js +20 -0
- package/lib/module/theta-repository/options/option-function.js.map +1 -0
- package/lib/module/theta-repository/options/option-gain.js +19 -0
- package/lib/module/theta-repository/options/option-gain.js.map +1 -0
- package/lib/module/theta-repository/options/option-image-stitching.js +31 -0
- package/lib/module/theta-repository/options/option-image-stitching.js.map +1 -0
- package/lib/module/theta-repository/options/options.js +8 -0
- package/lib/module/theta-repository/options/options.js.map +1 -1
- package/lib/module/theta-repository/theta-repository.js +2 -3
- package/lib/module/theta-repository/theta-repository.js.map +1 -1
- package/lib/module/theta-repository/theta-state.js +0 -12
- package/lib/module/theta-repository/theta-state.js.map +1 -1
- package/lib/typescript/capture/photo-capture.d.ts +7 -1
- package/lib/typescript/capture/photo-capture.d.ts.map +1 -1
- package/lib/typescript/capture/time-shift-capture.d.ts +4 -7
- package/lib/typescript/capture/time-shift-capture.d.ts.map +1 -1
- package/lib/typescript/capture/video-capture.d.ts +5 -1
- package/lib/typescript/capture/video-capture.d.ts.map +1 -1
- package/lib/typescript/theta-repository/notify-controller.d.ts +17 -0
- package/lib/typescript/theta-repository/notify-controller.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/index.d.ts +4 -0
- package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
- package/lib/typescript/theta-repository/options/option-face-detect.d.ts +15 -0
- package/lib/typescript/theta-repository/options/option-face-detect.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-function.d.ts +20 -0
- package/lib/typescript/theta-repository/options/option-function.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-gain.d.ts +19 -0
- package/lib/typescript/theta-repository/options/option-gain.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/option-image-stitching.d.ts +30 -0
- package/lib/typescript/theta-repository/options/option-image-stitching.d.ts.map +1 -0
- package/lib/typescript/theta-repository/options/options.d.ts +20 -0
- package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
- package/lib/typescript/theta-repository/theta-state.d.ts +1 -11
- package/lib/typescript/theta-repository/theta-state.d.ts.map +1 -1
- package/package.json +14 -8
- package/src/capture/photo-capture.ts +20 -3
- package/src/capture/time-shift-capture.ts +40 -33
- package/src/capture/video-capture.ts +49 -6
- package/src/theta-repository/notify-controller.ts +50 -0
- package/src/theta-repository/options/index.ts +4 -0
- package/src/theta-repository/options/option-face-detect.ts +16 -0
- package/src/theta-repository/options/option-function.ts +21 -0
- package/src/theta-repository/options/option-gain.ts +19 -0
- package/src/theta-repository/options/option-image-stitching.ts +32 -0
- package/src/theta-repository/options/options.ts +20 -0
- package/src/theta-repository/theta-repository.ts +3 -3
- package/src/theta-repository/theta-state.ts +2 -14
- package/theta-client-react-native.podspec +2 -2
- package/ios/ThetaClientReactNative.h +0 -34
- package/ios/ThetaClientReactNative.mm +0 -4087
- package/lib/commonjs/capture/notify.js +0 -12
- package/lib/commonjs/capture/notify.js.map +0 -1
- package/lib/module/capture/notify.js +0 -6
- package/lib/module/capture/notify.js.map +0 -1
- package/lib/typescript/capture/notify.d.ts +0 -13
- package/lib/typescript/capture/notify.d.ts.map +0 -1
- package/src/capture/notify.ts +0 -27
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.addNotifyListener = addNotifyListener;
|
|
7
|
-
var _reactNative = require("react-native");
|
|
8
|
-
function addNotifyListener(callback) {
|
|
9
|
-
const eventEmitter = new _reactNative.NativeEventEmitter(_reactNative.NativeModules.ThetaClientReactNative);
|
|
10
|
-
return eventEmitter.addListener('ThetaNotify', callback);
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=notify.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","addNotifyListener","callback","eventEmitter","NativeEventEmitter","NativeModules","ThetaClientReactNative","addListener"],"sourceRoot":"../../../src","sources":["capture/notify.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAmBO,SAASC,iBAAiBA,CAC/BC,QAAqC,EAChB;EACrB,MAAMC,YAAY,GAAG,IAAIC,+BAAkB,CACzCC,0BAAa,CAACC,sBAAsB,CACrC;EACD,OAAOH,YAAY,CAACI,WAAW,CAAC,aAAa,EAAEL,QAAQ,CAAC;AAC1D"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NativeEventEmitter, NativeModules } from 'react-native';
|
|
2
|
-
export function addNotifyListener(callback) {
|
|
3
|
-
const eventEmitter = new NativeEventEmitter(NativeModules.ThetaClientReactNative);
|
|
4
|
-
return eventEmitter.addListener('ThetaNotify', callback);
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=notify.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["NativeEventEmitter","NativeModules","addNotifyListener","callback","eventEmitter","ThetaClientReactNative","addListener"],"sourceRoot":"../../../src","sources":["capture/notify.ts"],"mappings":"AAAA,SAEEA,kBAAkB,EAClBC,aAAa,QACR,cAAc;AAerB,OAAO,SAASC,iBAAiBA,CAC/BC,QAAqC,EAChB;EACrB,MAAMC,YAAY,GAAG,IAAIJ,kBAAkB,CACzCC,aAAa,CAACI,sBAAsB,CACrC;EACD,OAAOD,YAAY,CAACE,WAAW,CAAC,aAAa,EAAEH,QAAQ,CAAC;AAC1D"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EmitterSubscription } from 'react-native';
|
|
2
|
-
export interface BaseNotify {
|
|
3
|
-
name: string;
|
|
4
|
-
params?: any;
|
|
5
|
-
}
|
|
6
|
-
export interface CaptureProgressNotify {
|
|
7
|
-
name: string;
|
|
8
|
-
params?: {
|
|
9
|
-
completion: number;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare function addNotifyListener(callback: (event: BaseNotify) => void): EmitterSubscription;
|
|
13
|
-
//# sourceMappingURL=notify.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notify.d.ts","sourceRoot":"","sources":["../../../src/capture/notify.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAGpB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IAEb,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAED,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,GACpC,mBAAmB,CAKrB"}
|
package/src/capture/notify.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EmitterSubscription,
|
|
3
|
-
NativeEventEmitter,
|
|
4
|
-
NativeModules,
|
|
5
|
-
} from 'react-native';
|
|
6
|
-
|
|
7
|
-
export interface BaseNotify {
|
|
8
|
-
name: string;
|
|
9
|
-
|
|
10
|
-
params?: any;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface CaptureProgressNotify {
|
|
14
|
-
name: string;
|
|
15
|
-
params?: {
|
|
16
|
-
completion: number;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export function addNotifyListener(
|
|
21
|
-
callback: (event: BaseNotify) => void
|
|
22
|
-
): EmitterSubscription {
|
|
23
|
-
const eventEmitter = new NativeEventEmitter(
|
|
24
|
-
NativeModules.ThetaClientReactNative
|
|
25
|
-
);
|
|
26
|
-
return eventEmitter.addListener('ThetaNotify', callback);
|
|
27
|
-
}
|