theta-client-react-native 1.0.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.
@@ -0,0 +1,17 @@
1
+ package com.ricoh360.thetaclientreactnative
2
+
3
+ import com.facebook.react.ReactPackage
4
+ import com.facebook.react.bridge.NativeModule
5
+ import com.facebook.react.bridge.ReactApplicationContext
6
+ import com.facebook.react.uimanager.ViewManager
7
+
8
+
9
+ class ThetaClientReactNativePackage : ReactPackage {
10
+ override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
11
+ return listOf(ThetaClientReactNativeModule(reactContext))
12
+ }
13
+
14
+ override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
15
+ return emptyList()
16
+ }
17
+ }
@@ -0,0 +1,28 @@
1
+
2
+ #ifdef RCT_NEW_ARCH_ENABLED
3
+ #import "RNThetaClientReactNativeSpec.h"
4
+ #import <React/RCTEventEmitter.h>
5
+
6
+ @interface ThetaClientReactNative : RCTEventEmitter <NativeThetaClientReactNativeSpec>
7
+ #else
8
+ #import <React/RCTBridgeModule.h>
9
+ #import <React/RCTEventEmitter.h>
10
+
11
+ @interface ThetaClientReactNative : RCTEventEmitter <RCTBridgeModule>
12
+ #endif
13
+
14
+ /** theta repository instance */
15
+ @property(nonatomic, strong) THETACThetaRepository *theta;
16
+ /** photoCapture builder instance */
17
+ @property(nonatomic, strong) THETACPhotoCaptureBuilder *photoCaptureBuilder;
18
+ /** photoCapture instance */
19
+ @property(nonatomic, strong) THETACPhotoCapture *photoCapture;
20
+ /** videoCapture builder instance */
21
+ @property(nonatomic, strong) THETACVideoCaptureBuilder *videoCaptureBuilder;
22
+ /** videoCapture instance */
23
+ @property(nonatomic, strong) THETACVideoCapture *videoCapture;
24
+ /** videoCapturing instance */
25
+ @property(nonatomic, strong) THETACVideoCapturing *videoCapturing;
26
+ /** previewing in progress flag */
27
+ @property(nonatomic) BOOL previewing;
28
+ @end