Custom skin support added for ios. onReceiveAdEvent prop added to catch ad events on ios.

This commit is contained in:
sdkcy
2021-07-26 16:11:37 +03:00
parent 96c717d6df
commit 0f94a3d956
4 changed files with 206 additions and 114 deletions

View File

@@ -44,6 +44,7 @@
@property (nonatomic, copy) RCTDirectEventBlock onPictureInPictureStatusChanged;
@property (nonatomic, copy) RCTDirectEventBlock onRestoreUserInterfaceForPictureInPictureStop;
@property (nonatomic, copy) RCTDirectEventBlock onGetLicense;
@property (nonatomic, copy) RCTDirectEventBlock onReceiveAdEvent;
typedef NS_ENUM(NSInteger, RCTVideoError) {
RCTVideoErrorFromJSPart,
@@ -71,4 +72,6 @@ typedef NS_ENUM(NSInteger, RCTVideoError) {
- (void)setLicenseResult:(NSString * )license;
- (BOOL)setLicenseResultError:(NSString * )error;
+ (NSString *)convertEventToString:(IMAAdEventType)event;
@end