更新sdk5.7.81
This commit is contained in:
parent
b401d57ad9
commit
27ff0c423b
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
<<<<<<< HEAD:Assets/JoyPacSDK/Core/Plugins.meta
|
||||||
|
guid: 2b919b818864f48389bf7941699ff882
|
||||||
|
=======
|
||||||
|
guid: 3403a617bfdf642c8a53209f314d9f24
|
||||||
|
>>>>>>> dev:Assets/JoyPacSDK/JoyPacAd/JoyPacAd.meta
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8147b128295e84946b9862dc51459b4d
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bad4fa5e5d4eb4cacb76dd1446af3d84
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6c3f9ea1ae9544715a972c46f2d8079d
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e41a64cf4deb542048555da131992e86
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0f4e3fab8b513440db24716d57b549ee
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6b5c74c37feac4e3bb9c49539a70817f
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b0a6d03bb132a4915b8609a81918b8e9
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4f8cff8ae10a5419984d1efb5f78e6ef
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bc47999727d3d4c42925fcbd9bd9c997
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 567667f071d5e484a87e4e4f6abbd3db
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b24aa559ae0e7442582290ed1cd55dee
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ce2627c35f3534e2b8a8786fadd4a487
|
||||||
|
folderAsset: yes
|
||||||
|
PluginImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
iconMap: {}
|
||||||
|
executionOrder: {}
|
||||||
|
defineConstraints: []
|
||||||
|
isPreloaded: 0
|
||||||
|
isOverridable: 0
|
||||||
|
isExplicitlyReferenced: 0
|
||||||
|
validateReferences: 1
|
||||||
|
platformData:
|
||||||
|
- first:
|
||||||
|
Any:
|
||||||
|
second:
|
||||||
|
enabled: 1
|
||||||
|
settings: {}
|
||||||
|
- first:
|
||||||
|
Editor: Editor
|
||||||
|
second:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
DefaultValueInitialized: true
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 56fe0680e8b7e4759a1fe8de38fe8222
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3f32a91f7db4b4bf0990830c0d17c219
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
//
|
||||||
|
// AnyThinkFyberAdapter.h
|
||||||
|
// AnyThinkFyberAdapter
|
||||||
|
//
|
||||||
|
// Created by Topon on 11/16/20.
|
||||||
|
// Copyright © 2020 AnyThink. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
//! Project version number for AnyThinkFyberAdapter.
|
||||||
|
FOUNDATION_EXPORT double AnyThinkFyberAdapterVersionNumber;
|
||||||
|
|
||||||
|
//! Project version string for AnyThinkFyberAdapter.
|
||||||
|
FOUNDATION_EXPORT const unsigned char AnyThinkFyberAdapterVersionString[];
|
||||||
|
|
||||||
|
// In this header, you should import all the public headers of your framework using statements like #import <AnyThinkFyberAdapter/PublicHeader.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 51887a3794abd4ec1be8edad4a5d962c
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a6be9ea42e655495594a4b8614cf5ad4
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f07febe77cfce4b2894758452579d978
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
framework module AnyThinkFyberAdapter {
|
||||||
|
umbrella header "AnyThinkFyberAdapter.h"
|
||||||
|
|
||||||
|
export *
|
||||||
|
module * { export * }
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 52f582937803942488379b109eb6e196
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 80a35e3d6bd4740de800271223704db2
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: db3d7928400af4c128693c7adac11ea4
|
||||||
|
folderAsset: yes
|
||||||
|
PluginImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
iconMap: {}
|
||||||
|
executionOrder: {}
|
||||||
|
defineConstraints: []
|
||||||
|
isPreloaded: 0
|
||||||
|
isOverridable: 0
|
||||||
|
isExplicitlyReferenced: 0
|
||||||
|
validateReferences: 1
|
||||||
|
platformData:
|
||||||
|
- first:
|
||||||
|
Any:
|
||||||
|
second:
|
||||||
|
enabled: 1
|
||||||
|
settings: {}
|
||||||
|
- first:
|
||||||
|
Editor: Editor
|
||||||
|
second:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
DefaultValueInitialized: true
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1c3127f103db0410fb29019d10cbb645
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
//
|
||||||
|
// IAAdModel.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 13/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceContentModel.h>
|
||||||
|
|
||||||
|
@interface IAAdModel : NSObject <NSCopying>
|
||||||
|
|
||||||
|
@property (nonatomic, readonly, getter=isRewarded) BOOL rewarded;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @discussion Ad model is base; this member extends it to concrete type ad model.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, strong, nullable, readonly) id<IAInterfaceContentModel> contentModel;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9de16afc1de89452d8806f39fee97e19
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,76 @@
|
||||||
|
//
|
||||||
|
// IAAdRequest.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 13/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceBuilder.h>
|
||||||
|
#import <IASDKCore/IARequest.h>
|
||||||
|
#import <IASDKCore/IAInterfaceAdDescription.h>
|
||||||
|
|
||||||
|
@class IAUserData;
|
||||||
|
@class CLLocation;
|
||||||
|
@class IADebugger;
|
||||||
|
@class IAMediation;
|
||||||
|
|
||||||
|
@protocol IAAdRequestBuilder <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
|
||||||
|
@property (nonatomic) BOOL useSecureConnections;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief A mandatory parameter.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, copy, nonnull) NSString *spotID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The request timeout in seconds before the 'ready on client' will be received.
|
||||||
|
*
|
||||||
|
* @discussion The min value is 1, the max value is 180, the default is 10. In case the input param is out of bounds, the default one will be set.
|
||||||
|
*/
|
||||||
|
@property (nonatomic) NSTimeInterval timeout;
|
||||||
|
|
||||||
|
@property (nonatomic, copy, nullable) IAUserData *userData;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Single keyword string or several keywords, separated by comma.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, copy, nullable) NSString *keywords;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Current location. Use for better ad targeting.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, copy, nullable) CLLocation *location;
|
||||||
|
|
||||||
|
@property (nonatomic, copy, nullable) IADebugger *debugger;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Subtype expected configuration. In case a certain type of ad has extra configuration, assign it here.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, copy, nullable) id<IAInterfaceAdDescription> subtypeDescription;
|
||||||
|
|
||||||
|
@optional
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief In case is enabled and the responded creative supports this feature, the creative will start interacting without sound.
|
||||||
|
*/
|
||||||
|
@property (nonatomic) BOOL muteAudio;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface IAAdRequest : IARequest <IAInterfaceBuilder, IAAdRequestBuilder, NSCopying>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Use in order to determine type of unit returned.
|
||||||
|
* @discussion Will be assigned at response parsing phase.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, strong, nullable, readonly) NSString *unitID;
|
||||||
|
|
||||||
|
+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAAdRequestBuilder> _Nonnull builder))buildBlock;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2d49b2b415a7f4605a57bab6acf73add
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,59 @@
|
||||||
|
//
|
||||||
|
// IAAdSpot.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 13/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceBuilder.h>
|
||||||
|
|
||||||
|
@class IAAdRequest;
|
||||||
|
@class IAMediation;
|
||||||
|
@class IAAdModel;
|
||||||
|
@class IAAdSpot;
|
||||||
|
|
||||||
|
@class IAUnitController;
|
||||||
|
|
||||||
|
typedef void (^IAAdSpotAdResponseBlock)(IAAdSpot * _Nullable adSpot, IAAdModel * _Nullable adModel, NSError * _Nullable error);
|
||||||
|
|
||||||
|
@protocol IAAdSpotBuilder <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
@property (atomic, copy, nonnull) IAAdRequest *adRequest;
|
||||||
|
@property (nonatomic, copy, nonnull) IAMediation *mediationType;
|
||||||
|
|
||||||
|
- (void)addSupportedUnitController:(IAUnitController * _Nonnull)supportedUnitController;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface IAAdSpot : NSObject <IAInterfaceBuilder, IAAdSpotBuilder>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The unit controller, that is relevant to the received ad unit.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, weak, readonly, nullable) IAUnitController *activeUnitController;
|
||||||
|
|
||||||
|
@property (nonatomic, strong, readonly, nullable) IAAdModel *model;
|
||||||
|
|
||||||
|
+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAAdSpotBuilder> _Nonnull builder))buildBlock;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Fetch ad. Ad response block must be provided, otherwise fetch will not be performed.
|
||||||
|
*
|
||||||
|
* @discussion Ad response block will be retained, therefore 'self' should not be used insided this block. Please use weak reference to 'self' instead.
|
||||||
|
* This block will be invoked both on first ad request result, and on ad refresh result.
|
||||||
|
*/
|
||||||
|
- (void)fetchAdWithCompletion:(IAAdSpotAdResponseBlock _Nonnull)completionHandler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Use for being notified about ad reload result.
|
||||||
|
* @discussion IA SDK will copy this block, if you want to clear it, you should provide a 'nil' value.
|
||||||
|
*/
|
||||||
|
- (void)setAdRefreshCompletion:(IAAdSpotAdResponseBlock _Nonnull)completionHandler;
|
||||||
|
|
||||||
|
- (void)refreshAd;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a3d2df3233bc94d40a18ba002f364d02
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
//
|
||||||
|
// IAAdView.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 14/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IABaseView.h>
|
||||||
|
|
||||||
|
@interface IAAdView : IABaseView
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d63c32dd7f7ae437b8b712b77a898321
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
//
|
||||||
|
// IABaseView.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 09/09/2019.
|
||||||
|
// Copyright © 2019 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface IABaseView : UIView
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9706940de0f1549f0ae4d0305995bb94
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
//
|
||||||
|
// IAContentController.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 19/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Abstract base class.
|
||||||
|
*/
|
||||||
|
@interface IAContentController : NSObject
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 59157757880f04930b4298170c7106a2
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
//
|
||||||
|
// IADebugger.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 15/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceBuilder.h>
|
||||||
|
|
||||||
|
static NSNotificationName _Nonnull kIADebuggerDidChangeRequestSettingsNotification = @"kIADebuggerDidChangeRequestSettingsNotification";
|
||||||
|
|
||||||
|
@protocol IADebuggerBuilder <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
|
||||||
|
@property (nonatomic, copy, nullable) NSString *server;
|
||||||
|
@property (nonatomic, copy, nullable) NSString *database;
|
||||||
|
@property (nonatomic, copy, nullable) NSString *mockResponsePath;
|
||||||
|
@property (nonatomic, copy, nullable) NSString *localJSONResponsePath;
|
||||||
|
|
||||||
|
@property (class, nonatomic, copy, nullable) NSString *localJSONConfigPath;
|
||||||
|
@property (class, nonatomic, copy, nullable) NSString *globalConfigPath;
|
||||||
|
@property (class, nonatomic) BOOL adReportingEnabled;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface IADebugger : NSObject <IAInterfaceBuilder, IADebuggerBuilder, NSCopying>
|
||||||
|
|
||||||
|
+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IADebuggerBuilder> _Nonnull builder))buildBlock;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e3880029b19a8493dab389665410bf96
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,42 @@
|
||||||
|
//
|
||||||
|
// IAFullscreenUnitController.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 14/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceBuilder.h>
|
||||||
|
#import <IASDKCore/IAUnitController.h>
|
||||||
|
#import <IASDKCore/IAUnitDelegate.h>
|
||||||
|
|
||||||
|
@protocol IAFullscreenUnitControllerBuilder <IAUnitControllerBuilderProtocol>
|
||||||
|
|
||||||
|
@required
|
||||||
|
@property (nonatomic, weak, nullable) id<IAUnitDelegate> unitDelegate;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface IAFullscreenUnitController : IAUnitController <IAInterfaceBuilder, IAFullscreenUnitControllerBuilder>
|
||||||
|
|
||||||
|
+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAFullscreenUnitControllerBuilder> _Nonnull builder))buildBlock;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Presents fullscreen ad.
|
||||||
|
*
|
||||||
|
* @discussion The delegate method '- (UIViewController * _Nonnull)IAParentViewControllerForAdController:(IAUnitController * _Nullable)unitController'
|
||||||
|
* must be implemented.
|
||||||
|
*/
|
||||||
|
- (void)showAdAnimated:(BOOL)flag completion:(void (^ _Nullable)(void))completion;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Tells whether a creative is presented.
|
||||||
|
*/
|
||||||
|
- (BOOL)isPresented;
|
||||||
|
|
||||||
|
- (void)removeAd;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 87c9f3c8885624f69a4e5d9f3f86c2ab
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
//
|
||||||
|
// IAGDPRConsent.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 08/06/2018.
|
||||||
|
// Copyright (c) 2018 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
typedef NS_ENUM(NSInteger, IAGDPRConsentType) {
|
||||||
|
IAGDPRConsentTypeUnknown = -1,
|
||||||
|
IAGDPRConsentTypeDenied = 0,
|
||||||
|
IAGDPRConsentTypeGiven = 1
|
||||||
|
};
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e72a636b56e9142b0825bb381e2662c5
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
//
|
||||||
|
// IAGlobalAdDelegate.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 08/12/2019.
|
||||||
|
// Copyright © 2019 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef IAGlobalAdDelegate_h
|
||||||
|
#define IAGlobalAdDelegate_h
|
||||||
|
|
||||||
|
#import <IASDKCore/IAAdRequest.h>
|
||||||
|
#import <IASDKCore/IAImpressionData.h>
|
||||||
|
|
||||||
|
@protocol IAGlobalAdDelegate <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
/**
|
||||||
|
* @brief The impression info of the shown ad.
|
||||||
|
*/
|
||||||
|
- (void)adDidShowWithImpressionData:(IAImpressionData * _Nonnull)impressionData withAdRequest:(IAAdRequest * _Nonnull)adRequest;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif /* IAGlobalAdDelegate_h */
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3e33d0e74a73543b5a1c9391daef36c8
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,68 @@
|
||||||
|
//
|
||||||
|
// IAImpressionData.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Copyright © 2019 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <IASDKCore/IAInterfaceAllocBlocker.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @class The shown ad impression info.
|
||||||
|
*/
|
||||||
|
@interface IAImpressionData : NSObject<IAInterfaceAllocBlocker>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The demand source name.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSString *demandSourceName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The ISO country code.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSString *country;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The session ID.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSString *sessionID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The advertiser domain.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSString *advertiserDomain;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The creative ID.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSString *creativeID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The campaign ID.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSString *campaignID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The pricing value.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSNumber *pricingValue;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The pricing currency.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSString *pricingCurrency;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Is ad duration (if applicable).
|
||||||
|
*/
|
||||||
|
@property (nonatomic, nullable, copy, readonly) NSNumber *duration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Is true in case of skippable ad.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, readonly, getter=isSkippable) BOOL skippable;
|
||||||
|
|
||||||
|
- (NSString * _Nonnull)customDescription;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3d3a39eeaf972431f94e1e79338f1c52
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
//
|
||||||
|
// IAInterfaceAdDescription.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 27/04/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef IAInterfaceAdDescription_h
|
||||||
|
#define IAInterfaceAdDescription_h
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
@protocol IAInterfaceAdDescription <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif /* IAInterfaceAdDescription_h */
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: af936909f77b64f92b25857b96006d15
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
//
|
||||||
|
// IAInterfaceAllocBlocker.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 22/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef IAInterfaceAllocBlocker_h
|
||||||
|
#define IAInterfaceAllocBlocker_h
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
@protocol IAInterfaceAllocBlocker <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
+ (null_unspecified instancetype)alloc __attribute__((unavailable("<Fyber> The 'alloc' is not available, use 'build:' instead.")));
|
||||||
|
// Causes error during building in xcode 12.5
|
||||||
|
//- (null_unspecified instancetype)init __attribute__((unavailable("<Fyber> The 'init' is not available, use 'build:' instead.")));
|
||||||
|
+ (null_unspecified instancetype)new __attribute__((unavailable("<Fyber> The 'new' is not available, use 'build:' instead.")));
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif /* IAInterfaceAllocBlocker_h */
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b95f9087aa5ce43818956892301214cb
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
//
|
||||||
|
// IAInterfaceBuilder.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 20/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef IAInterfaceBuilder_h
|
||||||
|
#define IAInterfaceBuilder_h
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceAllocBlocker.h>
|
||||||
|
|
||||||
|
@protocol IAInterfaceBuilder;
|
||||||
|
|
||||||
|
@protocol IAInterfaceBuilder <IAInterfaceAllocBlocker>
|
||||||
|
|
||||||
|
@required
|
||||||
|
+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAInterfaceBuilder> _Nonnull builder))buildBlock;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif /* IAInterfaceBuilder_h */
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ace29785462b44bca91aa97db5bb300a
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
//
|
||||||
|
// IAInterfaceContentModel.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 27/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef IAInterfaceContentModel_h
|
||||||
|
#define IAInterfaceContentModel_h
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
@protocol IAInterfaceContentModel <NSObject, NSCopying>
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif /* IAInterfaceContentModel_h */
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9e6a158bd7d5b4ef4a169f238c6db7c3
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
//
|
||||||
|
// IAInterfaceSingleton.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 22/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef IAInterfaceSingleton_h
|
||||||
|
#define IAInterfaceSingleton_h
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceAllocBlocker.h>
|
||||||
|
|
||||||
|
@protocol IAInterfaceSingleton <IAInterfaceAllocBlocker>
|
||||||
|
|
||||||
|
@required
|
||||||
|
+ (instancetype _Nonnull)sharedInstance;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif /* IAInterfaceSingleton_h */
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c322925f2798546d4b9b3dc936637086
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,42 @@
|
||||||
|
//
|
||||||
|
// IAInterfaceUnitController.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 14/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef IAInterfaceUnitController_h
|
||||||
|
#define IAInterfaceUnitController_h
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
@protocol IAUnitDelegate;
|
||||||
|
@class IAContentController;
|
||||||
|
|
||||||
|
@protocol IAUnitControllerBuilderProtocol <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
- (void)addSupportedContentController:(IAContentController * _Nonnull)supportedContentController;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@protocol IAInterfaceUnitController <IAUnitControllerBuilderProtocol>
|
||||||
|
|
||||||
|
@required
|
||||||
|
|
||||||
|
@property (nonatomic, weak, nullable) id<IAUnitDelegate> unitDelegate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The content controller, that is relevant to the received ad unit.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, weak, readonly, nullable) IAContentController *activeContentController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Clears all internal data. After use of this method, current unit controller is no more useable until a new response of same ad unit type is received.
|
||||||
|
*/
|
||||||
|
- (void)clear;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif /* IAInterfaceUnitController_h */
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3c99ba4b5e30f4030a8233f156418a52
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,56 @@
|
||||||
|
//
|
||||||
|
// IALogger.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 23/02/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef IALogLevel
|
||||||
|
* @brief Log level.
|
||||||
|
*/
|
||||||
|
typedef NS_ENUM(NSUInteger, IALogLevel) {
|
||||||
|
/**
|
||||||
|
* @brief Disabled.
|
||||||
|
*/
|
||||||
|
IALogLevelOff = 0,
|
||||||
|
/**
|
||||||
|
* @brief Includes error logging.
|
||||||
|
*/
|
||||||
|
IALogLevelError = 1,
|
||||||
|
/**
|
||||||
|
* @brief Includes warnings and error logging.
|
||||||
|
*/
|
||||||
|
IALogLevelWarn = 2,
|
||||||
|
/**
|
||||||
|
* @brief Includes general info., warnings and error logging.
|
||||||
|
*/
|
||||||
|
IALogLevelInfo = 3,
|
||||||
|
/**
|
||||||
|
* @brief Includes debug information, general info., warnings and error logging.
|
||||||
|
*/
|
||||||
|
IALogLevelDebug = 4,
|
||||||
|
/**
|
||||||
|
* @brief Includes all types of logging.
|
||||||
|
*/
|
||||||
|
IALogLevelVerbose = 5,
|
||||||
|
};
|
||||||
|
|
||||||
|
@interface IALogger : NSObject
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Sets IASDK logging level for:
|
||||||
|
*
|
||||||
|
* 1. Xcode console
|
||||||
|
*
|
||||||
|
* 2. Apple System Logs
|
||||||
|
*
|
||||||
|
* @param logLevel log level
|
||||||
|
*/
|
||||||
|
+ (void)setLogLevel:(IALogLevel)logLevel;
|
||||||
|
+ (IALogLevel)logLevel:(IALogLevel)logLevel;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f660f90dc3d3e4a3fa2c172df0700419
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
//
|
||||||
|
// IAMRAIDAdView.h
|
||||||
|
// IASDKMRAID
|
||||||
|
//
|
||||||
|
// Created by Fyber on 28/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <IASDKCore/IAAdView.h>
|
||||||
|
|
||||||
|
static const CGFloat kIADefaultIPhoneBannerWidth = 320;
|
||||||
|
static const CGFloat kIADefaultIPhoneBannerHeight = 50;
|
||||||
|
static const CGFloat kIADefaultIPadBannerWidth = 728;
|
||||||
|
static const CGFloat kIADefaultIPadBannerHeight = 90;
|
||||||
|
static const CGFloat kIADefaultRectWidth = 300;
|
||||||
|
static const CGFloat kIADefaultRectHeight = 250;
|
||||||
|
|
||||||
|
@interface IAMRAIDAdView : IAAdView
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 98f39287fb39044dfa657aab527c2d20
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
//
|
||||||
|
// IAMediation.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 20/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
@interface IAMediation : NSObject
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7af84c89c14c744db89ab6cd1f10d4fa
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
//
|
||||||
|
// IAMediationAdMob.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 20/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAMediation.h>
|
||||||
|
|
||||||
|
@interface IAMediationAdMob : IAMediation
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 44c4ee194360145c9993da72c33d21d1
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
//
|
||||||
|
// IAMediationDFP.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 20/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAMediation.h>
|
||||||
|
|
||||||
|
@interface IAMediationDFP : IAMediation
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5a78a20832ec94fd7bc42d4218aa48be
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
//
|
||||||
|
// IAMediationFyber.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 20/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAMediation.h>
|
||||||
|
|
||||||
|
@interface IAMediationFyber : IAMediation
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 981b4fae6bcbb46598cf93b205bc14d9
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
//
|
||||||
|
// IAMediationIronSource.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 9/26/19.
|
||||||
|
// Copyright © 2019 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAMediation.h>
|
||||||
|
|
||||||
|
@interface IAMediationIronSource : IAMediation
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 077159bf4f6fb4a9398c53b1df32529d
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
//
|
||||||
|
// IAMediationMax.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 9/26/19.
|
||||||
|
// Copyright © 2019 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAMediation.h>
|
||||||
|
|
||||||
|
@interface IAMediationMax : IAMediation
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8b59f67b53cb94d70bab80e8a5b2cfd3
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
//
|
||||||
|
// IAMediationMopub.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 20/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAMediation.h>
|
||||||
|
|
||||||
|
@interface IAMediationMopub : IAMediation
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d2c9bcd66de9a482f8b660d1feb3fa3f
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
//
|
||||||
|
// IARequest.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 13/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
@interface IARequest : NSObject
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0a5147739e73243b98f4d1d2f38f96bc
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,158 @@
|
||||||
|
//
|
||||||
|
// IASDKCore.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 29/01/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IALogger.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceAllocBlocker.h>
|
||||||
|
#import <IASDKCore/IAInterfaceBuilder.h>
|
||||||
|
#import <IASDKCore/IAInterfaceSingleton.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAGlobalAdDelegate.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceUnitController.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAAdSpot.h>
|
||||||
|
#import <IASDKCore/IAAdRequest.h>
|
||||||
|
#import <IASDKCore/IAUserData.h>
|
||||||
|
#import <IASDKCore/IADebugger.h>
|
||||||
|
#import <IASDKCore/IAAdModel.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAUnitController.h>
|
||||||
|
#import <IASDKCore/IAUnitDelegate.h>
|
||||||
|
#import <IASDKCore/IAViewUnitController.h>
|
||||||
|
#import <IASDKCore/IAFullscreenUnitController.h>
|
||||||
|
#import <IASDKCore/IAContentController.h>
|
||||||
|
#import <IASDKCore/IABaseView.h>
|
||||||
|
#import <IASDKCore/IAAdView.h>
|
||||||
|
#import <IASDKCore/IAMRAIDAdView.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAMediation.h>
|
||||||
|
#import <IASDKCore/IAMediationMopub.h>
|
||||||
|
#import <IASDKCore/IAMediationAdMob.h>
|
||||||
|
#import <IASDKCore/IAMediationDFP.h>
|
||||||
|
#import <IASDKCore/IAMediationFyber.h>
|
||||||
|
#import <IASDKCore/IAMediationMax.h>
|
||||||
|
#import <IASDKCore/IAMediationIronSource.h>
|
||||||
|
#import <IASDKCore/IAGDPRConsent.h>
|
||||||
|
|
||||||
|
typedef void (^IASDKCoreInitBlock)(BOOL success, NSError * _Nullable error);
|
||||||
|
|
||||||
|
typedef NS_ENUM(NSInteger, IASDKCoreInitErrorType) {
|
||||||
|
IASDKCoreInitErrorTypeUnknown = 0,
|
||||||
|
IASDKCoreInitErrorTypeFailedToDownloadMandatoryData = 1,
|
||||||
|
IASDKCoreInitErrorTypeMissingModules = 2,
|
||||||
|
IASDKCoreInitErrorTypeInvalidAppID = 3,
|
||||||
|
IASDKCoreInitErrorTypeCancelled = 4
|
||||||
|
};
|
||||||
|
|
||||||
|
@interface IASDKCore : NSObject <IAInterfaceSingleton>
|
||||||
|
|
||||||
|
@property (atomic, strong, nullable, readonly) NSString *appID;
|
||||||
|
@property (atomic, readonly, getter=isInitialised) BOOL initialised;
|
||||||
|
@property (atomic, strong, nullable) NSString *publisherAppStoreID; // publisher app ID in Apple’s App Store
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Use this delegate in order to get an info about every shown ad.
|
||||||
|
*/
|
||||||
|
@property (atomic, weak, nullable) id<IAGlobalAdDelegate> globalAdDelegate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The GDPR consent status.
|
||||||
|
*
|
||||||
|
* @discussion Use this property in order to set the GDPR consent accoring to your preferences.
|
||||||
|
*
|
||||||
|
* It can be used as one of the following, in order to allow/restrict:
|
||||||
|
*
|
||||||
|
* - `[IASDKCore.sharedInstance setGDPRConsent:YES]`
|
||||||
|
*
|
||||||
|
* - `[IASDKCore.sharedInstance setGDPRConsent:true]`
|
||||||
|
*
|
||||||
|
* - `IASDKCore.sharedInstance.GDPRConsent = NO`
|
||||||
|
*
|
||||||
|
* - `IASDKCore.sharedInstance.GDPRConsent = 1`
|
||||||
|
*
|
||||||
|
* - `IASDKCore.sharedInstance.GDPRConsent = IAGDPRConsentTypeGiven`
|
||||||
|
*
|
||||||
|
* Or it can be cleared by using the one of the following:
|
||||||
|
*
|
||||||
|
* - `[IASDKCore.sharedInstance clearGDPRConsentData]`
|
||||||
|
*
|
||||||
|
* - `IASDKCore.sharedInstance.GDPRConsent = IAGDPRConsentTypeUnknown`. <b>Important</b>: setting the `IAGDPRConsentTypeUnknown`, will clear the `GDPRConsentString` as well.
|
||||||
|
*
|
||||||
|
* The default (or after calling the `clearGDPRConsentData` method) value is unknown, which is the `IAGDPRConsentTypeUnknown`.
|
||||||
|
*
|
||||||
|
* The property is thread-safe.
|
||||||
|
*/
|
||||||
|
@property (atomic) IAGDPRConsentType GDPRConsent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Use this property in order to provide a custom GDPR consent data.
|
||||||
|
*
|
||||||
|
* @discussion It will be passed as is, without any management/modification.
|
||||||
|
*/
|
||||||
|
@property (atomic, nullable) NSString *GDPRConsentString;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Use this property in order to provide the CCPA string. Once it's set, it is saved on a device.
|
||||||
|
*
|
||||||
|
* @discussion It will be passed as is, without any validation/modification. In order to clear this data permanently from a device, pass a nil or empty string.
|
||||||
|
*/
|
||||||
|
@property (atomic, nullable) NSString *CCPAString;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Use this property in order to provide a user Id. Once it's set, it is saved on a device.
|
||||||
|
*
|
||||||
|
* @discussion It will be passed as is, without any validation/modification. In order to clear it from a device, pass a nil or empty string.
|
||||||
|
*/
|
||||||
|
@property (atomic, nullable) NSString *userID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Singleton method, use for any instance call.
|
||||||
|
*/
|
||||||
|
+ (instancetype _Null_unspecified)sharedInstance;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Initialisation of the SDK. Must be invoked before requesting the ads.
|
||||||
|
*
|
||||||
|
* @discussion Should be invoked on the main thread. Otherwise it will convert the flow to the main thread. Is asynchronous method.
|
||||||
|
*
|
||||||
|
* @param appID A required param. Must be a valid application ID, otherwise the SDK will not be able to request/render the ads.
|
||||||
|
*/
|
||||||
|
- (void)initWithAppID:(NSString * _Nonnull)appID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Initialisation of the SDK. Must be invoked before requesting the ads.
|
||||||
|
*
|
||||||
|
* @discussion Should be invoked on the main thread. Otherwise it will convert the flow to the main thread. Is asynchronous method.
|
||||||
|
*
|
||||||
|
* @param appID A required param. Must be a valid application ID, otherwise the SDK will not be able to request/render the ads.
|
||||||
|
*
|
||||||
|
* @param completionBlock An optional callback for the init result notification. The error code is represented as `IASDKCoreInitErrorType` enum.
|
||||||
|
*
|
||||||
|
* @param completionQueue An optional queue for the completion block. If is not provided, the completion block will be invoked on the main queue.
|
||||||
|
*/
|
||||||
|
- (void)initWithAppID:(NSString * _Nonnull)appID
|
||||||
|
completionBlock:(IASDKCoreInitBlock _Nullable)completionBlock
|
||||||
|
completionQueue:(dispatch_queue_t _Nullable)completionQueue;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Get the IASDK current version as the NSString instance.
|
||||||
|
*
|
||||||
|
* @discussion The format is `x.y.z`.
|
||||||
|
*/
|
||||||
|
- (NSString * _Null_unspecified)version;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Clears all the GDPR related information. The state of the `GDPRConsent` property will become `-1` or `IAGDPRConsentTypeUnknown`.
|
||||||
|
*/
|
||||||
|
- (void)clearGDPRConsentData;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 667f314a515b84e388f6cf0b4389ae84
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
//
|
||||||
|
// IAUnitController.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 19/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceUnitController.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Abstract class, for service purpose. Should not be used explicitly.
|
||||||
|
*/
|
||||||
|
@interface IAUnitController : NSObject <IAInterfaceUnitController>
|
||||||
|
|
||||||
|
- (BOOL)isReady;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 84ce5f6bd72fb438599c30c49fc8336b
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,51 @@
|
||||||
|
//
|
||||||
|
// IAUnitDelegate.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 14/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef IAUnitDelegate_h
|
||||||
|
#define IAUnitDelegate_h
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
@class IAUnitController;
|
||||||
|
|
||||||
|
@protocol IAUnitDelegate <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Required delegate method for supplying parent view controller. App will crash, if it is not implemented in delegate and delegate declares itself as conforming to protocol.
|
||||||
|
*
|
||||||
|
* @discussion The 'modalPresentationStyle' property of the supplied view controller will be changed to 'UIModalPresentationFullScreen';
|
||||||
|
*/
|
||||||
|
- (UIViewController * _Nonnull)IAParentViewControllerForUnitController:(IAUnitController * _Nullable)unitController;
|
||||||
|
|
||||||
|
@optional
|
||||||
|
- (void)IAAdDidReceiveClick:(IAUnitController * _Nullable)unitController;
|
||||||
|
- (void)IAAdWillLogImpression:(IAUnitController * _Nullable)unitController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The rewarded units callback for a user reward.
|
||||||
|
*
|
||||||
|
* @discussion This callback is called for all type of the rewarded content, both HTML/JS and video (VAST).
|
||||||
|
* In order to use the rewarded callback for all available rewarded content, you will have to implement this method (not the `IAVideoCompleted:`;
|
||||||
|
*/
|
||||||
|
- (void)IAAdDidReward:(IAUnitController * _Nullable)unitController;
|
||||||
|
|
||||||
|
- (void)IAUnitControllerWillPresentFullscreen:(IAUnitController * _Nullable)unitController;
|
||||||
|
- (void)IAUnitControllerDidPresentFullscreen:(IAUnitController * _Nullable)unitController;
|
||||||
|
- (void)IAUnitControllerWillDismissFullscreen:(IAUnitController * _Nullable)unitController;
|
||||||
|
- (void)IAUnitControllerDidDismissFullscreen:(IAUnitController * _Nullable)unitController;
|
||||||
|
|
||||||
|
- (void)IAUnitControllerWillOpenExternalApp:(IAUnitController * _Nullable)unitController;
|
||||||
|
|
||||||
|
- (void)IAAdDidExpire:(IAUnitController * _Nullable)unitController;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif /* IAUnitDelegate_h */
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f2fbed53bfe6f4714801f8a67ad375ff
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
//
|
||||||
|
// IAUserData.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 19/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceBuilder.h>
|
||||||
|
|
||||||
|
typedef NS_ENUM(NSInteger, IAUserGenderType) {
|
||||||
|
IAUserGenderTypeUnknown = 0,
|
||||||
|
IAUserGenderTypeMale,
|
||||||
|
IAUserGenderTypeFemale,
|
||||||
|
IAUserGenderTypeOther,
|
||||||
|
};
|
||||||
|
|
||||||
|
@protocol IAUserDataBuilder <NSObject>
|
||||||
|
|
||||||
|
@required
|
||||||
|
|
||||||
|
@property (nonatomic) NSUInteger age;
|
||||||
|
@property (nonatomic) IAUserGenderType gender;
|
||||||
|
@property (nonatomic, copy, nullable) NSString *zipCode;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface IAUserData : NSObject <IAInterfaceBuilder, IAUserDataBuilder, NSCopying>
|
||||||
|
|
||||||
|
+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAUserDataBuilder> _Nonnull builder))buildBlock;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fa0ac7409b79f424cab8cf5da5295322
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
//
|
||||||
|
// IAViewUnitController.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 14/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceBuilder.h>
|
||||||
|
#import <IASDKCore/IAUnitController.h>
|
||||||
|
#import <IASDKCore/IAUnitDelegate.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Builder block. 'self' can be used. The block is not retained.
|
||||||
|
*/
|
||||||
|
@protocol IAViewUnitControllerBuilder <IAUnitControllerBuilderProtocol>
|
||||||
|
|
||||||
|
@required
|
||||||
|
@property (nonatomic, weak, nullable) id<IAUnitDelegate> unitDelegate;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@class IAAdView;
|
||||||
|
|
||||||
|
@interface IAViewUnitController : IAUnitController <IAInterfaceBuilder, IAViewUnitControllerBuilder>
|
||||||
|
|
||||||
|
@property (nonatomic, strong, readonly, nullable) IAAdView *adView;
|
||||||
|
|
||||||
|
+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAViewUnitControllerBuilder> _Nonnull builder))buildBlock;
|
||||||
|
|
||||||
|
- (void)showAdInParentView:(UIView * _Nonnull)parentView;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b3b84339b2eb14a679c22c862834d49c
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a6355f841d028468b97775882dff52d2
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 43b547f0c8d5d4b608acff9243ebcf4d
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
|
||||||
|
framework module IASDKCore {
|
||||||
|
umbrella header "IASDKCore.h"
|
||||||
|
export *
|
||||||
|
module * { export * }
|
||||||
|
|
||||||
|
link framework "SystemConfiguration"
|
||||||
|
link framework "CoreTelephony"
|
||||||
|
link framework "StoreKit"
|
||||||
|
link framework "AdSupport"
|
||||||
|
link framework "WebKit"
|
||||||
|
link framework "Foundation"
|
||||||
|
link framework "UIKit"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8254c406c9bc6467fb0bc42d1466d18a
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 481d53887286743ae9e8bd126c293968
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0f81b2d02a4cf44a195b5ed56a9dc244
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cbac6b214b6864bcfa2ba6041fb80d57
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
//
|
||||||
|
// IAAdModel.h
|
||||||
|
// IASDKCore
|
||||||
|
//
|
||||||
|
// Created by Fyber on 13/03/2017.
|
||||||
|
// Copyright © 2017 Fyber. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
#import <IASDKCore/IAInterfaceContentModel.h>
|
||||||
|
|
||||||
|
@interface IAAdModel : NSObject <NSCopying>
|
||||||
|
|
||||||
|
@property (nonatomic, readonly, getter=isRewarded) BOOL rewarded;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @discussion Ad model is base; this member extends it to concrete type ad model.
|
||||||
|
*/
|
||||||
|
@property (nonatomic, strong, nullable, readonly) id<IAInterfaceContentModel> contentModel;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 516857ae719804e3eb3fe5f4ca09bd94
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue