react-native-gemius-plugin 1.7.3 → 1.7.4
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/ios/Frameworks/GemiusSDK.xcframework/Info.plist +9 -5
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/GemiusSDK +0 -0
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/Config.h +21 -2
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Info.plist +0 -0
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Modules/module.modulemap +1 -1
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/PrivacyInfo.xcprivacy +48 -0
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/GemiusSDK +0 -0
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/Config.h +21 -2
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Info.plist +0 -0
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Modules/module.modulemap +1 -1
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/PrivacyInfo.xcprivacy +48 -0
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeResources +14 -87
- package/ios/GemiusPlugin.xcodeproj/project.pbxproj +7 -21
- package/ios/GemiusPlugin.xcworkspace/xcuserdata/kestasvenslauskas.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/GemiusSDK.xcframework/Info.plist +44 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/GemiusSDK +0 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AdData.h +23 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AdDefine.h +16 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AdOceanConfig.h +14 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AudienceConfig.h +19 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AudienceEvent.h +18 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/BaseConfig.h +19 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/BaseEvent.h +37 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/Config.h +44 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/ContentData.h +15 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/EventAdData.h +7 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/EventData.h +14 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/EventProgramData.h +7 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/GEMBillboardAd.h +43 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/GEMFullScreenAd.h +44 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/GemiusSDK.h +34 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/NetpanelConfig.h +17 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/NetpanelEvent.h +23 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/Player.h +40 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/PlayerData.h +8 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/ProgramData.h +41 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Info.plist +0 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Modules/module.modulemap +6 -0
- package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/PrivacyInfo.xcprivacy +48 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/GemiusSDK +0 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AdData.h +23 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AdDefine.h +16 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AdOceanConfig.h +14 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AudienceConfig.h +19 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AudienceEvent.h +18 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/BaseConfig.h +19 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/BaseEvent.h +37 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/Config.h +44 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/ContentData.h +15 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/EventAdData.h +7 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/EventData.h +14 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/EventProgramData.h +7 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/GEMBillboardAd.h +43 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/GEMFullScreenAd.h +44 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/GemiusSDK.h +34 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/NetpanelConfig.h +17 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/NetpanelEvent.h +23 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/Player.h +40 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/PlayerData.h +8 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/ProgramData.h +41 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Info.plist +0 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Modules/module.modulemap +6 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/PrivacyInfo.xcprivacy +48 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeResources +344 -0
- package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeSignature +0 -0
- package/package.json +1 -1
- package/react-native-gemius-plugin.podspec +4 -4
- package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeRequirements-1 +0 -0
package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/BaseEvent.h
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//
|
|
2
|
+
// BaseEvent.h
|
|
3
|
+
// GemiusSDK
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2018 Gemius. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
typedef NS_ENUM(NSInteger, GEMEventType) {
|
|
11
|
+
GEM_EVENT_FULL_PAGEVIEW,
|
|
12
|
+
GEM_EVENT_PARTIAL_PAGEVIEW,
|
|
13
|
+
GEM_EVENT_SONAR,
|
|
14
|
+
GEM_EVENT_ACTION,
|
|
15
|
+
GEM_EVENT_STREAM,
|
|
16
|
+
GEM_EVENT_DATA
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
#define GEM_EventTypeString(enum) [@[@"&et=view&hsrc=1",@"&et=view&hsrc=2",@"&et=sonar&hsrc=2", @"&et=action&hsrc=3", @"&et=stream&hsrc=2",@"&et=data&hsrc=3"] objectAtIndex:enum]
|
|
20
|
+
|
|
21
|
+
@interface GEMBaseEvent : NSObject
|
|
22
|
+
|
|
23
|
+
//Properties
|
|
24
|
+
//---------------------------------------
|
|
25
|
+
@property(nonatomic, assign) GEMEventType eventType;
|
|
26
|
+
@property(nonatomic, strong) NSString *hitcollectorHost;
|
|
27
|
+
@property(nonatomic, strong) NSString *scriptIdentifier;
|
|
28
|
+
|
|
29
|
+
//Methods
|
|
30
|
+
//---------------------------------------
|
|
31
|
+
-(void)setExtraParameters:(NSDictionary*)extraParameters;
|
|
32
|
+
-(NSDictionary*)getExtraParameters;
|
|
33
|
+
-(void)addExtraParameter:(NSString*)key value:(NSString*)value;
|
|
34
|
+
-(void)removeExtraParameter:(NSString*)key;
|
|
35
|
+
-(void)sendEvent;
|
|
36
|
+
|
|
37
|
+
@end
|
package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/Config.h
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Config.h
|
|
3
|
+
// GemiusSDK
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2018 Gemius. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
|
|
10
|
+
#define GEM_SDK_NAME @"GemiusSDK"
|
|
11
|
+
#define GEM_SDK_VERSION @"2.3.0"
|
|
12
|
+
|
|
13
|
+
typedef NS_ENUM(NSUInteger, GEMDataProcessingConsentSource) {
|
|
14
|
+
GEMDataProcessingConsentSourceManual = 0,
|
|
15
|
+
GEMDataProcessingConsentSourceCMP,
|
|
16
|
+
GEMDataProcessingConsentSourceTCString,
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
20
|
+
|
|
21
|
+
FOUNDATION_EXPORT NSNotificationName const GEMUserAgentDidChangeNotification;
|
|
22
|
+
|
|
23
|
+
@interface GEMConfig : NSObject
|
|
24
|
+
|
|
25
|
+
@property (nonatomic) BOOL loggingEnabled;
|
|
26
|
+
@property (nonatomic) BOOL cookiesAllowed;
|
|
27
|
+
@property (nonatomic) BOOL IDFACollectionEnabled;
|
|
28
|
+
@property (nonatomic) GEMDataProcessingConsentSource dataProcessingConsentSource;
|
|
29
|
+
@property (nonatomic) NSTimeInterval cmpTimeout;
|
|
30
|
+
@property (nonatomic, copy) NSSet<NSNumber *> *audiencePurposes;
|
|
31
|
+
@property (nonatomic, copy) NSSet<NSNumber *> *adOceanPurposes;
|
|
32
|
+
|
|
33
|
+
+ (GEMConfig *)sharedInstance;
|
|
34
|
+
+ (NSString *)getSdkVersion;
|
|
35
|
+
|
|
36
|
+
- (void)setAppInfo:(NSString *)name version:(NSString *)version;
|
|
37
|
+
- (void)setTCString:(nullable NSString *)tcString gdprApplies:(BOOL)gdprApplies;
|
|
38
|
+
- (NSString *)getUA4WebView;
|
|
39
|
+
- (void)restoreAudiencePurposes;
|
|
40
|
+
- (void)restoreAdOceanPurposes;
|
|
41
|
+
|
|
42
|
+
@end
|
|
43
|
+
|
|
44
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#import <Foundation/Foundation.h>
|
|
2
|
+
|
|
3
|
+
@interface GSMContentData : NSObject < NSCopying, NSCoding >
|
|
4
|
+
@property(nonatomic, strong) NSNumber *duration;
|
|
5
|
+
@property(nonatomic, strong) NSString *name;
|
|
6
|
+
@property(nonatomic, strong) NSString *quality;
|
|
7
|
+
@property(nonatomic, strong) NSString *resolution;
|
|
8
|
+
@property(nonatomic, strong) NSString *transmission;
|
|
9
|
+
@property(nonatomic, strong) NSNumber *volume;
|
|
10
|
+
|
|
11
|
+
-(void)addCustomParameter:(NSString*)key value:(NSString*)value;
|
|
12
|
+
-(NSMutableDictionary*)customParameters;
|
|
13
|
+
|
|
14
|
+
@end
|
|
15
|
+
|
package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/EventData.h
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#import <Foundation/Foundation.h>
|
|
2
|
+
|
|
3
|
+
@interface GSMEventData : NSObject
|
|
4
|
+
|
|
5
|
+
@property(nonatomic, strong) NSNumber *autoPlay;
|
|
6
|
+
@property(nonatomic, strong) NSNumber *volume;
|
|
7
|
+
@property(nonatomic, strong) NSString *resolution;
|
|
8
|
+
@property(nonatomic, strong) NSString *quality;
|
|
9
|
+
@property(nonatomic, strong) NSString *listID;
|
|
10
|
+
|
|
11
|
+
- (void)addCustomParameter:(NSString *)key value:(NSString *)value;
|
|
12
|
+
|
|
13
|
+
@end
|
|
14
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GEMBillboardAd.h
|
|
3
|
+
// GemiusSDK
|
|
4
|
+
//
|
|
5
|
+
// Created by Jakub Lyskawka on 09/11/2019.
|
|
6
|
+
// Copyright © 2019 Gemius. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <UIKit/UIKit.h>
|
|
10
|
+
#import "AdDefine.h"
|
|
11
|
+
|
|
12
|
+
@interface GEMBillboardAd : UIView
|
|
13
|
+
|
|
14
|
+
@property (nonatomic, copy) onGEMAdReadyBlock onAdReady;
|
|
15
|
+
@property (nonatomic, copy) onGEMFailBlock onFail;
|
|
16
|
+
@property (nonatomic, copy) onGEMAdClosedBlock onAdClosed;
|
|
17
|
+
@property (nonatomic, copy) onGEMContentReadyBlock onContentReady;
|
|
18
|
+
@property (nonatomic, weak) UIViewController *rootViewController;
|
|
19
|
+
@property (nonatomic, readonly) CGSize optimalSize;
|
|
20
|
+
|
|
21
|
+
- (instancetype)initWithFrame:(CGRect)frame andPlacementId:(NSString *)placementId;
|
|
22
|
+
- (void)setPlacementId:(NSString *)placementId;
|
|
23
|
+
- (void)setReloadInterval:(int)intervalSec;
|
|
24
|
+
- (void)setCustomRequestParamWithKey:(NSString *)key andValue:(NSString *)value;
|
|
25
|
+
- (void)load;
|
|
26
|
+
|
|
27
|
+
/*!
|
|
28
|
+
@param keywords - NSArray of strings
|
|
29
|
+
*/
|
|
30
|
+
- (void)setKeywords:(NSArray *)keywords;
|
|
31
|
+
|
|
32
|
+
/*!
|
|
33
|
+
@param variables - NSDictionary with NSString for key and NSNumber for value
|
|
34
|
+
*/
|
|
35
|
+
- (void)setNumericalVariables:(NSDictionary *)variables;
|
|
36
|
+
|
|
37
|
+
/*!
|
|
38
|
+
@param clusterVariables - NSDictionary with NSString for key and NSArray of NSNumber for value
|
|
39
|
+
*/
|
|
40
|
+
- (void)setClusterVariables:(NSDictionary *)clusterVariables;
|
|
41
|
+
|
|
42
|
+
@end
|
|
43
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GEMFullScreenAd.h
|
|
3
|
+
// GemiusSDK
|
|
4
|
+
//
|
|
5
|
+
// Created by Kuba on 26/11/2019.
|
|
6
|
+
// Copyright © 2019 Gemius. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <UIKit/UIKit.h>
|
|
10
|
+
#import "AdDefine.h"
|
|
11
|
+
|
|
12
|
+
@interface GEMFullScreenAd : NSObject
|
|
13
|
+
|
|
14
|
+
@property (nonatomic, copy) NSString *placementId;
|
|
15
|
+
@property (nonatomic, weak) UIViewController *rootViewController;
|
|
16
|
+
@property (nonatomic, copy) onGEMAdReadyBlock onAdReady;
|
|
17
|
+
@property (nonatomic, copy) onGEMFailBlock onFail;
|
|
18
|
+
@property (nonatomic, copy) onGEMAdClosedBlock onAdClosed;
|
|
19
|
+
@property (nonatomic, copy) onGEMContentReadyBlock onContentReady;
|
|
20
|
+
|
|
21
|
+
- (instancetype)initWithPlacementId:(NSString *)placementId andRootViewController:(UIViewController *)viewController;
|
|
22
|
+
- (void)setCustomRequestParamWithKey:(NSString *)key andValue:(NSString *)value;
|
|
23
|
+
- (void)setLandscapeAllowed:(BOOL)isAllowed;
|
|
24
|
+
- (void)open;
|
|
25
|
+
- (void)load;
|
|
26
|
+
- (void)close;
|
|
27
|
+
|
|
28
|
+
/*!
|
|
29
|
+
@param keywords - NSArray of strings
|
|
30
|
+
*/
|
|
31
|
+
- (void)setKeywords:(NSArray *)keywords;
|
|
32
|
+
|
|
33
|
+
/*!
|
|
34
|
+
@param variables - NSDictionary with NSString for key and NSNumber for value
|
|
35
|
+
*/
|
|
36
|
+
- (void)setNumericalVariables:(NSDictionary *)variables;
|
|
37
|
+
|
|
38
|
+
/*!
|
|
39
|
+
@param clusterVariables - NSDictionary with NSString for key and NSArray of NSNumber for value
|
|
40
|
+
*/
|
|
41
|
+
- (void)setClusterVariables:(NSDictionary *)clusterVariables;
|
|
42
|
+
|
|
43
|
+
@end
|
|
44
|
+
|
package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/GemiusSDK.h
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GemiusSDK.h
|
|
3
|
+
// GemiusSDK
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2018 Gemius. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
|
|
10
|
+
//! Project version number for GemiusSDK.
|
|
11
|
+
FOUNDATION_EXPORT double GemiusSDKVersionNumber;
|
|
12
|
+
|
|
13
|
+
//! Project version string for GemiusSDK.
|
|
14
|
+
FOUNDATION_EXPORT const unsigned char GemiusSDKVersionString[];
|
|
15
|
+
|
|
16
|
+
// In this header, you should import all the public headers of your framework using statements like #import <GemiusSDK/PublicHeader.h>
|
|
17
|
+
|
|
18
|
+
#import <GemiusSDK/Config.h>
|
|
19
|
+
#import <GemiusSDK/AdOceanConfig.h>
|
|
20
|
+
#import <GemiusSDK/AdDefine.h>
|
|
21
|
+
#import <GemiusSDK/GEMBillboardAd.h>
|
|
22
|
+
#import <GemiusSDK/GEMFullScreenAd.h>
|
|
23
|
+
#import <GemiusSDK/AudienceEvent.h>
|
|
24
|
+
#import <GemiusSDK/NetpanelEvent.h>
|
|
25
|
+
#import <GemiusSDK/AudienceConfig.h>
|
|
26
|
+
#import <GemiusSDK/NetpanelConfig.h>
|
|
27
|
+
#import <GemiusSDK/ContentData.h>
|
|
28
|
+
#import <GemiusSDK/AdData.h>
|
|
29
|
+
#import <GemiusSDK/ProgramData.h>
|
|
30
|
+
#import <GemiusSDK/EventData.h>
|
|
31
|
+
#import <GemiusSDK/EventProgramData.h>
|
|
32
|
+
#import <GemiusSDK/EventAdData.h>
|
|
33
|
+
#import <GemiusSDK/PlayerData.h>
|
|
34
|
+
#import <GemiusSDK/Player.h>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//
|
|
2
|
+
// NetpanelConfig.h
|
|
3
|
+
// GemiusSDK
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2018 Gemius. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "BaseConfig.h"
|
|
9
|
+
|
|
10
|
+
@interface GEMNetpanelConfig : GEMBaseConfig
|
|
11
|
+
|
|
12
|
+
@property(nonatomic, strong)NSString *netpanelUID;
|
|
13
|
+
|
|
14
|
+
+(void)sendBufferedEvents;
|
|
15
|
+
+(GEMNetpanelConfig*)sharedInstance;
|
|
16
|
+
|
|
17
|
+
@end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//
|
|
2
|
+
// NetpanelEvent.h
|
|
3
|
+
// GemiusSDK
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2018 Gemius. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "BaseEvent.h"
|
|
9
|
+
|
|
10
|
+
@interface GEMNetpanelEvent : GEMBaseEvent
|
|
11
|
+
|
|
12
|
+
//Setters
|
|
13
|
+
//-------------------------------------
|
|
14
|
+
-(void)setReferrer:(NSString*)referrer;
|
|
15
|
+
-(void)setPageUrl:(NSString*)pageUrl;
|
|
16
|
+
-(void)setCustomUserAgent:(NSString*)userAgent;
|
|
17
|
+
|
|
18
|
+
//Methods
|
|
19
|
+
//-------------------------------------
|
|
20
|
+
-(void)removeReferer;
|
|
21
|
+
-(void)removePageUrl;
|
|
22
|
+
-(void)resetUserAgent;
|
|
23
|
+
@end
|
package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/Player.h
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#import <Foundation/Foundation.h>
|
|
2
|
+
#import "ProgramData.h"
|
|
3
|
+
#import "AdData.h"
|
|
4
|
+
#import "EventProgramData.h"
|
|
5
|
+
#import "EventAdData.h"
|
|
6
|
+
#import "PlayerData.h"
|
|
7
|
+
|
|
8
|
+
typedef NS_ENUM(NSInteger, GSMEventType) {
|
|
9
|
+
GSM_PLAY, GSM_PAUSE, GSM_STOP, GSM_CLOSE, GSM_BUFFER, GSM_BREAK, GSM_SEEK, GSM_COMPLETE, GSM_SKIP, GSM_NEXT, GSM_PREV, GSM_CHANGE_VOL, GSM_CHANGE_QUAL, GSM_CHANGE_RES
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@interface GSMPlayer : NSObject < NSCoding >
|
|
14
|
+
|
|
15
|
+
-(id) init __attribute__((unavailable("init not available")));
|
|
16
|
+
|
|
17
|
+
-(GSMPlayer*)initWithID:(NSString*)playerID
|
|
18
|
+
withHost:(NSString*)hitCollectorHost
|
|
19
|
+
withGemiusID:(NSString*)gemiusID
|
|
20
|
+
withData:(GSMPlayerData*)playerData;
|
|
21
|
+
|
|
22
|
+
-(void)newProgram:(NSString*)programID
|
|
23
|
+
withData:(GSMProgramData*)programData;
|
|
24
|
+
|
|
25
|
+
-(void)newAd:(NSString*)adID
|
|
26
|
+
withData:(GSMAdData*)adData;
|
|
27
|
+
|
|
28
|
+
-(void)programEvent:(GSMEventType)eventType
|
|
29
|
+
forProgram:(NSString*)programID
|
|
30
|
+
atOffset:(NSNumber*)offset
|
|
31
|
+
withData:(GSMEventProgramData*)eventData;
|
|
32
|
+
|
|
33
|
+
-(void)adEvent:(GSMEventType)eventType
|
|
34
|
+
forProgram:(NSString*)programID
|
|
35
|
+
forAd:(NSString*)adID
|
|
36
|
+
atOffset:(NSNumber*)offset
|
|
37
|
+
withData:(GSMEventAdData*)eventData;
|
|
38
|
+
|
|
39
|
+
@end
|
|
40
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#import "ContentData.h"
|
|
2
|
+
|
|
3
|
+
typedef NS_ENUM(NSInteger, GSMProgramType) {
|
|
4
|
+
GSM_AUDIO = 1,
|
|
5
|
+
GSM_VIDEO
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
typedef NS_ENUM(NSInteger, GSMProgramGenre) {
|
|
9
|
+
GSMProgramGenreUndefined = 0,
|
|
10
|
+
GSMProgramGenreLiveProgram = 1,
|
|
11
|
+
GSMProgramGenreFilm = 2,
|
|
12
|
+
GSMProgramGenreSeries = 3,
|
|
13
|
+
GSMProgramGenreProgram = 4,
|
|
14
|
+
GSMProgramGenreMusic = 5,
|
|
15
|
+
GSMProgramGenreTrailer = 6
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
typedef NS_ENUM(NSInteger, GSMTransmissionType) {
|
|
19
|
+
GSMTransmissionTypeUndefined = 0,
|
|
20
|
+
GSMTransmissionTypeOnDemand = 1,
|
|
21
|
+
GSMTransmissionTypeBroadcast = 2
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
@interface GSMProgramData : GSMContentData
|
|
25
|
+
|
|
26
|
+
@property (nonatomic) GSMProgramType programType;
|
|
27
|
+
@property (nonatomic, copy) NSString *series;
|
|
28
|
+
@property (nonatomic, copy) NSString *typology;
|
|
29
|
+
@property (nonatomic, copy) NSString *premiereDate;
|
|
30
|
+
@property (nonatomic, copy) NSString *externalPremiereDate;
|
|
31
|
+
@property (nonatomic) GSMProgramGenre programGenre;
|
|
32
|
+
@property (nonatomic, copy) NSString *programPartialName;
|
|
33
|
+
@property (nonatomic, copy) NSString *programProducer;
|
|
34
|
+
@property (nonatomic, copy) NSString *programThematicCategory;
|
|
35
|
+
@property (nonatomic, copy) NSString *programSeason;
|
|
36
|
+
@property (nonatomic, copy) NSString *transmissionChannel;
|
|
37
|
+
@property (nonatomic, copy) NSString *transmissionStartTime;
|
|
38
|
+
@property (nonatomic) GSMTransmissionType transmissionType;
|
|
39
|
+
|
|
40
|
+
@end
|
|
41
|
+
|
|
Binary file
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>NSPrivacyTracking</key>
|
|
6
|
+
<false/>
|
|
7
|
+
<key>NSPrivacyTrackingDomains</key>
|
|
8
|
+
<array/>
|
|
9
|
+
<key>NSPrivacyCollectedDataTypes</key>
|
|
10
|
+
<array>
|
|
11
|
+
<dict>
|
|
12
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
13
|
+
<string>NSPrivacyCollectedDataTypeDeviceID</string>
|
|
14
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
15
|
+
<false/>
|
|
16
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
17
|
+
<false/>
|
|
18
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
19
|
+
<array>
|
|
20
|
+
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
|
|
21
|
+
</array>
|
|
22
|
+
</dict>
|
|
23
|
+
<dict>
|
|
24
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
25
|
+
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
|
|
26
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
27
|
+
<false/>
|
|
28
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
29
|
+
<false/>
|
|
30
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
31
|
+
<array>
|
|
32
|
+
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
|
|
33
|
+
</array>
|
|
34
|
+
</dict>
|
|
35
|
+
</array>
|
|
36
|
+
<key>NSPrivacyAccessedAPITypes</key>
|
|
37
|
+
<array>
|
|
38
|
+
<dict>
|
|
39
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
40
|
+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
|
41
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
42
|
+
<array>
|
|
43
|
+
<string>CA92.1</string>
|
|
44
|
+
</array>
|
|
45
|
+
</dict>
|
|
46
|
+
</array>
|
|
47
|
+
</dict>
|
|
48
|
+
</plist>
|
|
Binary file
|