forked from imgly/vesdk-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRNVideoEditorSDK.h
19 lines (13 loc) · 967 Bytes
/
RNVideoEditorSDK.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#import <React/RCTBridgeModule.h>
#import "RNImglyKit.h"
@import VideoEditorSDK;
/// The React Native module for VideoEditor SDK
@interface RNVideoEditorSDK : RNVESDKImglyKit <RCTBridgeModule>
typedef void (^RNVESDKConfigurationBlock)(PESDKConfigurationBuilder * _Nonnull builder);
typedef void (^RNVESDKWillPresentBlock)(PESDKVideoEditViewController * _Nonnull videoEditViewController);
/// Set this closure to modify the @c Configuration before it is used to initialize a new @c VideoEditViewController instance.
/// The configuration defined in JavaScript and passed to @c VESDK.openEditor() is already applied to the provided @c ConfigurationBuilder object.
@property (class, strong, atomic, nullable) RNVESDKConfigurationBlock configureWithBuilder;
/// Set this closure to modify a new @c VideoEditViewController before it is presented on screen.
@property (class, strong, atomic, nullable) RNVESDKWillPresentBlock willPresentVideoEditViewController;
@end