更新sdk
This commit is contained in:
parent
8af60447c5
commit
4d380c4353
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,36 @@
|
||||||
|
//
|
||||||
|
// ATInterstitialAutoAdManager.h
|
||||||
|
// AnyThinkInterstitial
|
||||||
|
//
|
||||||
|
// Created by Jason on 2021/12/31.
|
||||||
|
// Copyright © 2021 AnyThink. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
#import "ATInterstitialDelegate.h"
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface ATInterstitialAutoAdManager : NSObject
|
||||||
|
|
||||||
|
@property(nonatomic, weak) id<ATAdLoadingDelegate> delegate;
|
||||||
|
|
||||||
|
+ (instancetype)sharedInstance;
|
||||||
|
|
||||||
|
- (void)addAutoLoadAdPlacementIDArray:(NSArray <NSString *> *)placementIDArray;
|
||||||
|
- (void)removeAutoLoadAdPlacementIDArray:(NSArray<NSString *> *)placementIDArray;
|
||||||
|
|
||||||
|
- (void)setLocalExtra:(NSDictionary * _Nullable)extra placementID:(NSString *)placementID;
|
||||||
|
- (BOOL)autoLoadInterstitialReadyForPlacementID:(NSString *)placementID;
|
||||||
|
- (NSArray<NSDictionary *> *)checkValidAdCachesWithPlacementID:(NSString *)placementID;
|
||||||
|
- (ATCheckLoadModel *)checkInterstitialLoadStatusForPlacementID:(NSString *)placementID;
|
||||||
|
|
||||||
|
- (void)showAutoLoadInterstitialWithPlacementID:(NSString*)placementID inViewController:(UIViewController*)viewController delegate:(id<ATInterstitialDelegate>)delegate;
|
||||||
|
- (void)showAutoLoadInterstitialWithPlacementID:(NSString*)placementID scene:( NSString* _Nullable )scene inViewController:(UIViewController*)viewController delegate:(id<ATInterstitialDelegate>)delegate;
|
||||||
|
|
||||||
|
- (void)entryAdScenarioWithPlacementID:(NSString *)placementID scenarioID:(NSString *)scenarioID;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5cf569c332774489fbd2fafdaee522cf
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
-(ATNativeADSourceType) adSourceType;
|
-(ATNativeADSourceType) adSourceType;
|
||||||
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo ;
|
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo ;
|
||||||
@property(nonatomic, weak) id<ATInterstitialDelegate> delegate;
|
@property(nonatomic, weak) id<ATInterstitialDelegate> delegate;
|
||||||
@property(nonatomic, weak) ATInterstitial *interstitial;
|
@property(nonatomic, strong) ATInterstitial *interstitial;
|
||||||
@property(nonatomic, readonly) NSString *unitID;
|
@property(nonatomic, readonly) NSString *unitID;
|
||||||
@property(nonatomic, assign) NSInteger priorityIndex;
|
@property(nonatomic, assign) NSInteger priorityIndex;
|
||||||
@end
|
@end
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
#import <AnyThinkInterstitial/ATAdManager+Interstitial.h>
|
#import <AnyThinkInterstitial/ATAdManager+Interstitial.h>
|
||||||
#import <AnyThinkInterstitial/ATInterstitialDelegate.h>
|
#import <AnyThinkInterstitial/ATInterstitialDelegate.h>
|
||||||
#import <AnyThinkInterstitial/ATInterstitialCustomEvent.h>
|
#import <AnyThinkInterstitial/ATInterstitialCustomEvent.h>
|
||||||
|
#import <AnyThinkInterstitial/ATInterstitialAutoAdManager.h>
|
||||||
|
|
||||||
|
|
||||||
//! Project version number for AnyThinkInterstitial.
|
//! Project version number for AnyThinkInterstitial.
|
||||||
FOUNDATION_EXPORT double AnyThinkInterstitialVersionNumber;
|
FOUNDATION_EXPORT double AnyThinkInterstitialVersionNumber;
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -27,6 +27,18 @@ typedef NS_ENUM(NSInteger, ATPlayerStatus) {
|
||||||
ATPlayerStatusResume,
|
ATPlayerStatusResume,
|
||||||
ATPlayerStatusAbort
|
ATPlayerStatusAbort
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
typedef NS_ENUM(NSInteger, ATStartAppNativeAdImageSize) {
|
||||||
|
AT_SIZE_72X72 = 0,
|
||||||
|
AT_SIZE_100X100 = 1,
|
||||||
|
/// Default size
|
||||||
|
AT_SIZE_150X150 = 2,
|
||||||
|
AT_SIZE_340X340 = 3,
|
||||||
|
/// Not supported by secondaryImageSize, default will be used instead
|
||||||
|
AT_SIZE_1200X628 = 4,
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subclasses are expected to call super when overriding willMoveToSuperview: because it it within this method the base class kick off the rendering process.
|
* Subclasses are expected to call super when overriding willMoveToSuperview: because it it within this method the base class kick off the rendering process.
|
||||||
*/
|
*/
|
||||||
|
|
@ -119,6 +131,8 @@ extern NSString *const kATExtraNativeImageSizeKey;
|
||||||
extern NSString const* kATExtraNativeImageSize1280_720;
|
extern NSString const* kATExtraNativeImageSize1280_720;
|
||||||
extern NSString const* kATExtraNativeImageSize1200_628;
|
extern NSString const* kATExtraNativeImageSize1200_628;
|
||||||
extern NSString const* kATExtraNativeImageSize640_640;
|
extern NSString const* kATExtraNativeImageSize640_640;
|
||||||
|
extern NSString *const kATExtraStartAPPNativeMainImageSizeKey;
|
||||||
|
extern NSString *const kATExtraNativeIconImageSizeKey;
|
||||||
|
|
||||||
@interface ATNativeADView(DrawVideo)
|
@interface ATNativeADView(DrawVideo)
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,37 @@
|
||||||
|
//
|
||||||
|
// ATRewardedVideoAutoAdManager.h
|
||||||
|
// AnyThinkRewardedVideo
|
||||||
|
//
|
||||||
|
// Created by Jason on 2021/12/31.
|
||||||
|
// Copyright © 2021 AnyThink. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
#import "ATRewardedVideoDelegate.h"
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface ATRewardedVideoAutoAdManager : NSObject
|
||||||
|
|
||||||
|
@property(nonatomic, weak) id<ATAdLoadingDelegate> delegate;
|
||||||
|
|
||||||
|
+ (instancetype)sharedInstance;
|
||||||
|
|
||||||
|
- (void)addAutoLoadAdPlacementIDArray:(NSArray <NSString *> *)placementIDArray;
|
||||||
|
- (void)removeAutoLoadAdPlacementIDArray:(NSArray<NSString *> *)placementIDArray;
|
||||||
|
|
||||||
|
|
||||||
|
- (void)setLocalExtra:(NSDictionary *)extra placementID:(NSString *)placementID;
|
||||||
|
- (BOOL)autoLoadRewardedVideoReadyForPlacementID:(NSString *)placementID;
|
||||||
|
- (NSArray<NSDictionary *> *)checkValidAdCachesWithPlacementID:(NSString *)placementID;
|
||||||
|
- (ATCheckLoadModel *)checkRewardedVideoLoadStatusForPlacementID:(NSString *)placementID;
|
||||||
|
|
||||||
|
- (void)showAutoLoadRewardedVideoWithPlacementID:(NSString*)placementID inViewController:(UIViewController*)viewController delegate:(id<ATRewardedVideoDelegate>)delegate;
|
||||||
|
- (void)showAutoLoadRewardedVideoWithPlacementID:(NSString*)placementID scene:( NSString* _Nullable )scene inViewController:(UIViewController*)viewController delegate:(id<ATRewardedVideoDelegate>)delegate;
|
||||||
|
|
||||||
|
- (void)entryAdScenarioWithPlacementID:(NSString *)placementID scenarioID:(NSString *)scenarioID;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7ebe12ce0277c4f99829cb3449f00a86
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary *)localInfo;
|
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary *)localInfo;
|
||||||
@property(nonatomic, weak) id<ATRewardedVideoDelegate> delegate;
|
@property(nonatomic, weak) id<ATRewardedVideoDelegate> delegate;
|
||||||
@property(nonatomic, weak) ATRewardedVideo *rewardedVideo;
|
@property(nonatomic, strong) ATRewardedVideo *rewardedVideo;
|
||||||
@property(nonatomic, readonly) NSString *unitID;
|
@property(nonatomic, readonly) NSString *unitID;
|
||||||
@property(nonatomic) NSString *userID;
|
@property(nonatomic) NSString *userID;
|
||||||
@property(nonatomic, assign) NSInteger priorityIndex;
|
@property(nonatomic, assign) NSInteger priorityIndex;
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
#import <AnyThinkRewardedVideo/ATAdManager+RewardedVideo.h>
|
#import <AnyThinkRewardedVideo/ATAdManager+RewardedVideo.h>
|
||||||
#import <AnyThinkRewardedVideo/ATRewardedVideoDelegate.h>
|
#import <AnyThinkRewardedVideo/ATRewardedVideoDelegate.h>
|
||||||
#import <AnyThinkRewardedVideo/ATRewardedVideoCustomEvent.h>
|
#import <AnyThinkRewardedVideo/ATRewardedVideoCustomEvent.h>
|
||||||
|
#import <AnyThinkRewardedVideo/ATRewardedVideoAutoAdManager.h>
|
||||||
|
|
||||||
|
|
||||||
//! Project version number for AnyThinkRewardedVideo.
|
//! Project version number for AnyThinkRewardedVideo.
|
||||||
FOUNDATION_EXPORT double AnyThinkRewardedVideoVersionNumber;
|
FOUNDATION_EXPORT double AnyThinkRewardedVideoVersionNumber;
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -9,6 +9,7 @@
|
||||||
#ifndef ATAPI_Internal_h
|
#ifndef ATAPI_Internal_h
|
||||||
#define ATAPI_Internal_h
|
#define ATAPI_Internal_h
|
||||||
#import "ATAPI.h"
|
#import "ATAPI.h"
|
||||||
|
|
||||||
extern NSString *const kATNativeADAssetsAdvertiserKey;
|
extern NSString *const kATNativeADAssetsAdvertiserKey;
|
||||||
extern NSString *const kATNativeADAssetsMainTextKey;
|
extern NSString *const kATNativeADAssetsMainTextKey;
|
||||||
extern NSString *const kATNativeADAssetsMainTitleKey;
|
extern NSString *const kATNativeADAssetsMainTitleKey;
|
||||||
|
|
@ -70,6 +71,7 @@ extern NSString *const kATADUserAreaKey;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface ATAPI(Internal)
|
@interface ATAPI(Internal)
|
||||||
|
+(ATLogType)logType;
|
||||||
+(BOOL)logEnabled;
|
+(BOOL)logEnabled;
|
||||||
+(BOOL)adLogoVisible;
|
+(BOOL)adLogoVisible;
|
||||||
+(NSString *)hbTestModeDeviceID;
|
+(NSString *)hbTestModeDeviceID;
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
extern NSString *const kATADDelegateExtraECPMLevelKey;
|
extern NSString *const kATADDelegateExtraECPMLevelKey;
|
||||||
extern NSString *const kATADDelegateExtraSegmentIDKey;
|
extern NSString *const kATADDelegateExtraSegmentIDKey;
|
||||||
extern NSString *const kATADDelegateExtraScenarioIDKey;
|
extern NSString *const kATADDelegateExtraScenarioIDKey;
|
||||||
|
|
@ -32,7 +33,6 @@ extern NSString *const kATADDelegateExtraOfferIDKey;
|
||||||
extern NSString *const kATADDelegateExtraCreativeIDKey;
|
extern NSString *const kATADDelegateExtraCreativeIDKey;
|
||||||
extern NSString *const kATADDelegateExtraIsDeeplinkKey;
|
extern NSString *const kATADDelegateExtraIsDeeplinkKey;
|
||||||
extern NSString *const kATADDelegateExtraRVUserCustomData;
|
extern NSString *const kATADDelegateExtraRVUserCustomData;
|
||||||
extern NSString *const kATADDelegateExtraDismissTypeKey;
|
|
||||||
|
|
||||||
extern NSString *const ATADShowingErrorDomain;
|
extern NSString *const ATADShowingErrorDomain;
|
||||||
|
|
||||||
|
|
@ -194,6 +194,13 @@ typedef NS_ENUM(NSInteger, ATPersonalizedAdState) {
|
||||||
ATNonpersonalizedAdStateType = 2
|
ATNonpersonalizedAdStateType = 2
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef NS_OPTIONS(NSInteger, ATLogType) {
|
||||||
|
ATLogTypeNone = 0,
|
||||||
|
ATLogTypeInternal = 1 << 0,
|
||||||
|
ATLogTypeExternal = 1 << 1,
|
||||||
|
ATLogTypeTemporary = 1 << 2
|
||||||
|
};
|
||||||
|
|
||||||
@interface ATAPI : NSObject
|
@interface ATAPI : NSObject
|
||||||
|
|
||||||
+(NSDictionary<NSNumber*, NSString*>*)networkNameMap;
|
+(NSDictionary<NSNumber*, NSString*>*)networkNameMap;
|
||||||
|
|
@ -344,6 +351,7 @@ set header bidding test mode, only support incoming device idfa. setLogEnabled m
|
||||||
*/
|
*/
|
||||||
-(void) setPersonalizedAdState:(ATPersonalizedAdState)state;
|
-(void) setPersonalizedAdState:(ATPersonalizedAdState)state;
|
||||||
-(ATPersonalizedAdState) getPersonalizedAdState;
|
-(ATPersonalizedAdState) getPersonalizedAdState;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,32 @@ extern NSString *const kATSDKFailedToLoadRewardedVideoADMsg;
|
||||||
extern NSString *const kATSDKSplashADTooLongToLoadPlacementSettingMsg;
|
extern NSString *const kATSDKSplashADTooLongToLoadPlacementSettingMsg;
|
||||||
extern NSString *const kATSDKImportIssueErrorReason;
|
extern NSString *const kATSDKImportIssueErrorReason;
|
||||||
extern NSString *const kATAdAssetsAppIDKey;
|
extern NSString *const kATAdAssetsAppIDKey;
|
||||||
|
|
||||||
|
extern NSString *const kATAdCustomEventNotificationKey;
|
||||||
|
|
||||||
|
typedef NS_OPTIONS(NSInteger, ATCustomEventType) {
|
||||||
|
ATCustomEventLoaded = 0,
|
||||||
|
ATCustomEventLoadFail = 1,
|
||||||
|
ATCustomEventShow = 2,
|
||||||
|
ATCustomEventShowFail = 3,
|
||||||
|
ATCustomEventClick = 4,
|
||||||
|
ATCustomEventClose = 5,
|
||||||
|
ATCustomEventDetailViewWillPresentScreen = 6,
|
||||||
|
ATCustomEventCloseBeforeViewAppear = 7,
|
||||||
|
};
|
||||||
|
|
||||||
@interface ATAdCustomEvent : NSObject
|
@interface ATAdCustomEvent : NSObject
|
||||||
+(NSDictionary*)customInfoWithUnitGroupModel:(ATUnitGroupModel*)unitGroupModel extra:(NSDictionary*)extra;
|
+(NSDictionary*)customInfoWithUnitGroupModel:(ATUnitGroupModel*)unitGroupModel extra:(NSDictionary*)extra;
|
||||||
-(instancetype) initWithUnitID:(NSString*)unitID serverInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo;
|
-(instancetype) initWithUnitID:(NSString*)unitID serverInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo;
|
||||||
-(void) handleAssets:(NSDictionary*)assets;
|
-(void) handleAssets:(NSDictionary*)assets;
|
||||||
-(void) handleLoadingFailure:(NSError*)error;
|
-(void) handleLoadingFailure:(NSError*)error;
|
||||||
-(void) handleClose;
|
-(void) handleClose;
|
||||||
|
-(void) handleShow;
|
||||||
|
-(void) handleShowFailed;
|
||||||
|
|
||||||
-(void) trackShow;
|
-(void) trackShow;
|
||||||
-(void) trackClick;
|
-(void) trackClick;
|
||||||
|
|
||||||
-(ATNativeADSourceType) adSourceType;
|
-(ATNativeADSourceType) adSourceType;
|
||||||
@property(nonatomic, weak) id<ATAd> ad;
|
@property(nonatomic, weak) id<ATAd> ad;
|
||||||
@property(nonatomic) NSNumber *sdkTime;
|
@property(nonatomic) NSNumber *sdkTime;
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,17 @@
|
||||||
-(void) didFinishLoadingSplashADWithPlacementID:(NSString *)placementID isTimeout:(BOOL)isTimeout;
|
-(void) didFinishLoadingSplashADWithPlacementID:(NSString *)placementID isTimeout:(BOOL)isTimeout;
|
||||||
-(void) didTimeoutLoadingSplashADWithPlacementID:(NSString *)placementID;
|
-(void) didTimeoutLoadingSplashADWithPlacementID:(NSString *)placementID;
|
||||||
|
|
||||||
|
@optional
|
||||||
|
- (void)didStartLoadingADSourceWithPlacementID:(NSString *)placementID extra:(NSDictionary*)extra;
|
||||||
|
- (void)didFinishLoadingADSourceWithPlacementID:(NSString *)placementID extra:(NSDictionary*)extra;
|
||||||
|
|
||||||
|
- (void)didFailToLoadADSourceWithPlacementID:(NSString*)placementID extra:(NSDictionary*)extra error:(NSError*)error;
|
||||||
|
|
||||||
|
// bidding
|
||||||
|
- (void)didStartBiddingADSourceWithPlacementID:(NSString *)placementID extra:(NSDictionary*)extra;
|
||||||
|
- (void)didFinishBiddingADSourceWithPlacementID:(NSString *)placementID extra:(NSDictionary*)extra;
|
||||||
|
|
||||||
|
- (void)didFailBiddingADSourceWithPlacementID:(NSString*)placementID extra:(NSDictionary*)extra error:(NSError*)error;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
#endif /* ATAdLoadingDelegate_h */
|
#endif /* ATAdLoadingDelegate_h */
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
extern NSString *const kATAdAssetsCustomEventKey;
|
extern NSString *const kATAdAssetsCustomEventKey;
|
||||||
extern NSString *const kATAdAssetsCustomObjectKey;
|
extern NSString *const kATAdAssetsCustomObjectKey;
|
||||||
extern NSString *const kATExtraInfoRootViewControllerKey;
|
extern NSString *const kATExtraInfoRootViewControllerKey;
|
||||||
|
extern NSString *const kATAdAssetsDelegateObjKey;
|
||||||
|
|
||||||
|
|
||||||
//Banner's ad size, the value is a NSValue wrapped CGSize; for banner ad loading, we only support (320.0f, 50.0f) now, so the value you pass via this key will be ignored.
|
//Banner's ad size, the value is a NSValue wrapped CGSize; for banner ad loading, we only support (320.0f, 50.0f) now, so the value you pass via this key will be ignored.
|
||||||
|
|
@ -35,6 +36,7 @@ extern NSString *const kATAdLoadingExtraGDTEnableDefaultAudioSessionKey;
|
||||||
*/
|
*/
|
||||||
-(void) loadADWithPlacementID:(NSString*)placementID extra:(NSDictionary*)extra customData:(NSDictionary*)customData delegate:(id<ATAdLoadingDelegate>)delegate DEPRECATED_ATTRIBUTE;
|
-(void) loadADWithPlacementID:(NSString*)placementID extra:(NSDictionary*)extra customData:(NSDictionary*)customData delegate:(id<ATAdLoadingDelegate>)delegate DEPRECATED_ATTRIBUTE;
|
||||||
-(void) loadADWithPlacementID:(NSString*)placementID extra:(NSDictionary*)extra delegate:(id<ATAdLoadingDelegate>)delegate;
|
-(void) loadADWithPlacementID:(NSString*)placementID extra:(NSDictionary*)extra delegate:(id<ATAdLoadingDelegate>)delegate;
|
||||||
|
|
||||||
-(void) clearCache DEPRECATED_ATTRIBUTE;
|
-(void) clearCache DEPRECATED_ATTRIBUTE;
|
||||||
|
|
||||||
- (void)setExludePlacementid:(NSString *)placementid unitIDArray:(NSArray <NSString *> *)unitIDArray;
|
- (void)setExludePlacementid:(NSString *)placementid unitIDArray:(NSArray <NSString *> *)unitIDArray;
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,18 @@ typedef NS_ENUM(NSInteger, ATADShowType) {
|
||||||
ATADShowTypeSerial = 1
|
ATADShowTypeSerial = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
typedef enum : NSUInteger {
|
||||||
|
ATLoadingRequestConcurrentFixedType = 1,
|
||||||
|
ATLoadingRequestConcurrentEqualPriceType = 2,
|
||||||
|
} ATLoadingRequestModelType;
|
||||||
|
|
||||||
|
typedef enum : NSUInteger {
|
||||||
|
ATLoadingApiUnknown,
|
||||||
|
ATLoadingApiTypeOld,
|
||||||
|
ATLoadingApiTypeNew,
|
||||||
|
} ATLoadingApiType;
|
||||||
|
|
||||||
typedef NS_ENUM(NSInteger, ATAdFormat) {
|
typedef NS_ENUM(NSInteger, ATAdFormat) {
|
||||||
ATAdFormatNative = 0,
|
ATAdFormatNative = 0,
|
||||||
ATAdFormatRewardedVideo = 1,
|
ATAdFormatRewardedVideo = 1,
|
||||||
|
|
@ -76,7 +88,11 @@ extern NSString *const kATPlacementModelCustomDataKey;
|
||||||
/**
|
/**
|
||||||
* How many unit groups to be loaded concurrently
|
* How many unit groups to be loaded concurrently
|
||||||
*/
|
*/
|
||||||
@property(nonatomic, readonly) NSInteger maxConcurrentRequestCount;
|
|
||||||
|
@property(nonatomic, readonly) ATLoadingRequestModelType loadingRequestModelType;
|
||||||
|
@property(nonatomic, readonly) NSInteger fixedMaxConcurrentRequestCount;
|
||||||
|
@property(nonatomic, readonly) NSInteger equalPriceMaxConcurrentRequestCount;
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSString *psID;
|
@property(nonatomic, readonly) NSString *psID;
|
||||||
@property(nonatomic, readonly) NSString *sessionID;
|
@property(nonatomic, readonly) NSString *sessionID;
|
||||||
@property(nonatomic, readonly) ATADShowType showType;
|
@property(nonatomic, readonly) ATADShowType showType;
|
||||||
|
|
@ -102,19 +118,20 @@ extern NSString *const kATPlacementModelCustomDataKey;
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSTimeInterval bottomRreqts; // bottomAd dalay request time
|
@property(nonatomic, readonly) NSTimeInterval bottomRreqts; // bottomAd dalay request time
|
||||||
|
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSTimeInterval headerBiddingRequestTimeout;
|
@property(nonatomic, readonly) NSTimeInterval headerBiddingRequestTimeout;
|
||||||
@property(nonatomic, readonly) NSTimeInterval headerBiddingRequestTolerateInterval;
|
@property(nonatomic, readonly) NSTimeInterval headerBiddingRequestTolerateInterval;
|
||||||
@property(nonatomic, readonly) NSString *S2SBidRequestAddress;
|
@property(nonatomic, readonly) NSString *S2SBidRequestAddress;
|
||||||
@property(nonatomic, readonly) NSString *waterFallBidRequestAddress;
|
@property(nonatomic, readonly) NSString *waterFallBidRequestAddress;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSTimeInterval loadCapDuration;
|
@property(nonatomic, readonly) NSTimeInterval loadCapDuration;
|
||||||
@property(nonatomic, readonly) NSInteger loadCap;
|
@property(nonatomic, readonly) NSInteger loadCap;
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSInteger expectedNumberOfOffers;
|
@property(nonatomic, readonly) NSInteger expectedNumberOfOffers;
|
||||||
|
|
||||||
|
|
||||||
|
@property(nonatomic, readonly) NSTimeInterval bidWaitTimeout;
|
||||||
|
@property(nonatomic, readonly) NSTimeInterval reqWaitTimeout;
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSTimeInterval loadFailureInterval;
|
@property(nonatomic, readonly) NSTimeInterval loadFailureInterval;
|
||||||
@property(nonatomic, readonly) NSTimeInterval offerLoadingTimeout;
|
@property(nonatomic, readonly) NSTimeInterval offerLoadingTimeout;
|
||||||
@property(nonatomic, readonly) NSTimeInterval statusValidDuration;//Upstatus
|
@property(nonatomic, readonly) NSTimeInterval statusValidDuration;//Upstatus
|
||||||
|
|
@ -146,7 +163,7 @@ extern NSString *const kATPlacementModelCustomDataKey;
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSDictionary* olApiSettingDict;
|
@property(nonatomic, readonly) NSDictionary* olApiSettingDict;
|
||||||
|
|
||||||
|
@property(nonatomic, readonly) NSInteger waterfallCheckTime;
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSString *currency;
|
@property(nonatomic, readonly) NSString *currency;
|
||||||
@property(nonatomic, readonly) NSString *exchangeRate;
|
@property(nonatomic, readonly) NSString *exchangeRate;
|
||||||
|
|
@ -192,6 +209,7 @@ extern NSString *const kATPlacementModelCustomDataKey;
|
||||||
|
|
||||||
@property(nonatomic, readonly) NSString *exchRateC2U;
|
@property(nonatomic, readonly) NSString *exchRateC2U;
|
||||||
|
|
||||||
|
@property(nonatomic) ATLoadingApiType loadingApiType;
|
||||||
|
|
||||||
@property(nonatomic, assign) BOOL isExistHBAdSource;
|
@property(nonatomic, assign) BOOL isExistHBAdSource;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,16 @@
|
||||||
typedef NS_ENUM(NSInteger, ATRefreshType){
|
typedef NS_ENUM(NSInteger, ATRefreshType){
|
||||||
ATRefreshTypeNone,
|
ATRefreshTypeNone,
|
||||||
ATRefreshTypeAutoRefresh,
|
ATRefreshTypeAutoRefresh,
|
||||||
ATRefreshTypePlayAgain
|
ATRefreshTypePlayAgain,
|
||||||
|
ATRefreshTypeInitiation,
|
||||||
|
ATRefreshTypeLoadFailed,
|
||||||
|
ATRefreshTypeNotReady,
|
||||||
|
ATRefreshTypeShowStart,
|
||||||
|
ATRefreshTypeShowFailed
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
extern NSString *const kATTrackerExtraErrorKey;
|
extern NSString *const kATTrackerExtraErrorKey;
|
||||||
|
extern NSString *const kATTrackerExtraAgainLookFlagKey;
|
||||||
extern NSString *const kATTrackerExtraAutoloadFlagKey;
|
extern NSString *const kATTrackerExtraAutoloadFlagKey;
|
||||||
extern NSString *const kATTrackerExtraSDKCalledFlagKey;
|
extern NSString *const kATTrackerExtraSDKCalledFlagKey;
|
||||||
extern NSString *const kATTrackerExtraSDKNotCalledReasonKey;
|
extern NSString *const kATTrackerExtraSDKNotCalledReasonKey;
|
||||||
|
|
@ -55,8 +61,11 @@ extern NSString *const kATTrackerExtraRequestExpectedOfferNumberFlagKey;
|
||||||
extern NSString *const kATTrackerExtraClickImpKey;
|
extern NSString *const kATTrackerExtraClickImpKey;
|
||||||
extern NSString *const kATTrackerExtraPlacementModelKey;
|
extern NSString *const kATTrackerExtraPlacementModelKey;
|
||||||
extern NSString *const kATTrackerExtraAdCacheStatusKey;
|
extern NSString *const kATTrackerExtraAdCacheStatusKey;
|
||||||
|
extern NSString *const kATTrackerExtraAdRequestUsedTimeKey;
|
||||||
|
|
||||||
|
extern NSString *const kATTrackerExtralReqParTypeKey;
|
||||||
|
|
||||||
|
extern NSString *const kATTrackerExtralReqParNumKey;
|
||||||
|
|
||||||
// ofm
|
// ofm
|
||||||
extern NSString *const kATTrackerExtraOFMTrafficIDKey;
|
extern NSString *const kATTrackerExtraOFMTrafficIDKey;
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,13 @@
|
||||||
#import "ATMyOfferOfferModel.h"
|
#import "ATMyOfferOfferModel.h"
|
||||||
#import "ATBidInfo.h"
|
#import "ATBidInfo.h"
|
||||||
|
|
||||||
|
|
||||||
|
typedef NS_ENUM(NSInteger, ATShowAutoLoadType) {
|
||||||
|
ATShowAutoOneAdSupportLoadType = 1,
|
||||||
|
ATShowAutoOneAdNotSupportLoadType,
|
||||||
|
ATShowAutoOneNetWorkNotSupportLoadType,
|
||||||
|
};
|
||||||
|
|
||||||
@interface ATUnitGroupModel : ATModel
|
@interface ATUnitGroupModel : ATModel
|
||||||
-(instancetype) initWithDictionary:(NSDictionary *)dictionary;
|
-(instancetype) initWithDictionary:(NSDictionary *)dictionary;
|
||||||
@property(nonatomic, readonly, weak) Class adapterClass;
|
@property(nonatomic, readonly, weak) Class adapterClass;
|
||||||
|
|
@ -65,4 +72,15 @@
|
||||||
|
|
||||||
@property(nonatomic, copy) NSString *directOfferOid;
|
@property(nonatomic, copy) NSString *directOfferOid;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@property(nonatomic, assign) ATShowAutoLoadType showAutoLoadType;
|
||||||
|
|
||||||
|
|
||||||
|
@property(nonatomic) NSInteger priority; // when ad is filterd
|
||||||
|
|
||||||
|
/// ad type:0 Native, 1 Rewarded, 2 Banner, 3 Interstitial, 4 Splash
|
||||||
|
@property(nonatomic, assign) NSInteger adType;
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
||||||
|
|
@ -24,13 +24,16 @@ typedef NS_ENUM(NSInteger, ATUnitGroupFinishType) {
|
||||||
@interface ATWaterfallWrapper:NSObject
|
@interface ATWaterfallWrapper:NSObject
|
||||||
-(void) finish;
|
-(void) finish;
|
||||||
-(void) fill;
|
-(void) fill;
|
||||||
-(void) callback;
|
//-(void) callback;
|
||||||
-(ATUnitGroupModel*) filledUnitGroupWithMaximumPrice;
|
-(ATUnitGroupModel*) filledUnitGroupWithMaximumPrice;
|
||||||
|
- (ATUnitGroupModel *)requestingUnitGroupMaxPriceWithFilteredUnitID:(NSString *)unitID;
|
||||||
@property(nonatomic) NSInteger numberOfCachedOffers;
|
@property(nonatomic) NSInteger numberOfCachedOffers;
|
||||||
@property(nonatomic, readonly, getter=isFilled) BOOL filled;
|
@property(nonatomic, readonly, getter=isFilled) BOOL filled;
|
||||||
@property(nonatomic, readonly, getter=isCallbacked) BOOL callbacked;
|
//@property(nonatomic, readonly, getter=isCallbacked) BOOL callbacked;
|
||||||
@property(nonatomic) BOOL headerBiddingFired;
|
@property(nonatomic) BOOL headerBiddingFired;
|
||||||
@property(nonatomic) BOOL headerBiddingFailed;
|
@property(nonatomic) BOOL headerBiddingFailed;
|
||||||
|
@property(nonatomic, readonly) dispatch_queue_t access_queue;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface ATWaterfall:NSObject
|
@interface ATWaterfall:NSObject
|
||||||
|
|
@ -39,6 +42,8 @@ typedef NS_ENUM(NSInteger, ATUnitGroupFinishType) {
|
||||||
-(void) finishUnitGroup:(ATUnitGroupModel*)unitGroup withType:(ATUnitGroupFinishType)type;
|
-(void) finishUnitGroup:(ATUnitGroupModel*)unitGroup withType:(ATUnitGroupFinishType)type;
|
||||||
-(void) addUnitGroup:(ATUnitGroupModel*)unitGroup;
|
-(void) addUnitGroup:(ATUnitGroupModel*)unitGroup;
|
||||||
-(void) insertUnitGroup:(ATUnitGroupModel*)unitGroup price:(NSString *)price;
|
-(void) insertUnitGroup:(ATUnitGroupModel*)unitGroup price:(NSString *)price;
|
||||||
|
-(void) insertUnitGroup:(ATUnitGroupModel*)unitGroup price:(NSString *)price filtered:(BOOL)filtered;
|
||||||
|
|
||||||
-(ATUnitGroupModel*) firstPendingNonHBUnitGroupWithNetworkFirmID:(NSInteger)nwFirmID;
|
-(ATUnitGroupModel*) firstPendingNonHBUnitGroupWithNetworkFirmID:(NSInteger)nwFirmID;
|
||||||
-(ATUnitGroupModel*) unitGroupWithUnitID:(NSString*)unitID;
|
-(ATUnitGroupModel*) unitGroupWithUnitID:(NSString*)unitID;
|
||||||
-(ATUnitGroupModel*) unitGroupWithMaximumPrice;
|
-(ATUnitGroupModel*) unitGroupWithMaximumPrice;
|
||||||
|
|
@ -51,6 +56,10 @@ typedef NS_ENUM(NSInteger, ATUnitGroupFinishType) {
|
||||||
@property(nonatomic, readonly, getter=isLoading) BOOL loading;
|
@property(nonatomic, readonly, getter=isLoading) BOOL loading;
|
||||||
|
|
||||||
- (NSMutableArray<ATUnitGroupModel *> *)getWaterfallUnitGroups;
|
- (NSMutableArray<ATUnitGroupModel *> *)getWaterfallUnitGroups;
|
||||||
|
|
||||||
|
- (NSInteger)getEqualPriceRequestsQueuedWithSpacing:(NSInteger)divisionSpacing;
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface ATWaterfallManager : NSObject
|
@interface ATWaterfallManager : NSObject
|
||||||
|
|
@ -64,6 +73,8 @@ typedef NS_ENUM(NSInteger, ATUnitGroupFinishType) {
|
||||||
-(BOOL) loadingAdForPlacementID:(NSString*)placementID skipSettingLoadingStatus:(BOOL)skip;
|
-(BOOL) loadingAdForPlacementID:(NSString*)placementID skipSettingLoadingStatus:(BOOL)skip;
|
||||||
|
|
||||||
-(void) attachWaterfall:(ATWaterfall*)waterfall completion:(void(^)(ATWaterfallWrapper *waterfallWrapper, ATWaterfall *waterfall, ATWaterfall *headerBiddingWaterfall, ATWaterfall *finalWaterfall, BOOL finished, NSDate *loadStartDate))completion;
|
-(void) attachWaterfall:(ATWaterfall*)waterfall completion:(void(^)(ATWaterfallWrapper *waterfallWrapper, ATWaterfall *waterfall, ATWaterfall *headerBiddingWaterfall, ATWaterfall *finalWaterfall, BOOL finished, NSDate *loadStartDate))completion;
|
||||||
|
|
||||||
-(void) attachDefaultWaterfall:(ATWaterfall*)defaultWaterfall completion:(void(^)(ATWaterfallWrapper *waterfallWrapper, ATWaterfall *waterfall, ATWaterfall *headerBiddingWaterfall, ATWaterfall *finalWaterfall, ATWaterfall *defaultWaterfall, BOOL finished, NSDate *loadStartDate))completion;
|
-(void) attachDefaultWaterfall:(ATWaterfall*)defaultWaterfall completion:(void(^)(ATWaterfallWrapper *waterfallWrapper, ATWaterfall *waterfall, ATWaterfall *headerBiddingWaterfall, ATWaterfall *finalWaterfall, ATWaterfall *defaultWaterfall, BOOL finished, NSDate *loadStartDate))completion;
|
||||||
-(void) accessWaterfallForPlacementID:(NSString*)placementID requestID:(NSString*)requestID withBlock:(void(^)(ATWaterfallWrapper *waterfallWrapper, ATWaterfall *waterfall, ATWaterfall *headerBiddingWaterfall, ATWaterfall *defaultWaterfall, ATWaterfall *finalWaterfall, BOOL finished, BOOL callbacked, NSDate *loadStartDate))block;
|
-(void) accessWaterfallForPlacementID:(NSString*)placementID requestID:(NSString*)requestID withBlock:(void(^)(ATWaterfallWrapper *waterfallWrapper, ATWaterfall *waterfall, ATWaterfall *headerBiddingWaterfall, ATWaterfall *defaultWaterfall, ATWaterfall *finalWaterfall, BOOL finished, NSDate *loadStartDate))block;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -10,11 +10,11 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATAPI+Internal.h</key>
|
<key>Headers/ATAPI+Internal.h</key>
|
||||||
<data>
|
<data>
|
||||||
eS3+b4IO7B/+Y+zFRmOXUZvxbW4=
|
gVMe1ukp1pHx+w08CJ0ueTgoSA0=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATAPI.h</key>
|
<key>Headers/ATAPI.h</key>
|
||||||
<data>
|
<data>
|
||||||
D+Sh4l5jGJsAuUd5+ClHaYWDRwA=
|
8rzEWdp9sZvcfTfcIUdPMMUOSLw=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATAd.h</key>
|
<key>Headers/ATAd.h</key>
|
||||||
<data>
|
<data>
|
||||||
|
|
@ -26,11 +26,11 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATAdCustomEvent.h</key>
|
<key>Headers/ATAdCustomEvent.h</key>
|
||||||
<data>
|
<data>
|
||||||
OD3vs1r0mZbsXlmfzBt7N3R6A9k=
|
L559MaYjcBEUCqd+zG4mXCcaGxE=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATAdLoadingDelegate.h</key>
|
<key>Headers/ATAdLoadingDelegate.h</key>
|
||||||
<data>
|
<data>
|
||||||
cc38pQZpUVXMIuogJMdko8KOhqo=
|
7KRw8kUTgN56Ql416NNbOezvptw=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATAdManagement.h</key>
|
<key>Headers/ATAdManagement.h</key>
|
||||||
<data>
|
<data>
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATAdManager.h</key>
|
<key>Headers/ATAdManager.h</key>
|
||||||
<data>
|
<data>
|
||||||
/eC9xCd0ccKwZo0KBzy11cl682w=
|
oTSMqqB1hW5l7iptHx6zIDsQpqs=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATBidInfo.h</key>
|
<key>Headers/ATBidInfo.h</key>
|
||||||
<data>
|
<data>
|
||||||
|
|
@ -86,19 +86,19 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATPlacementModel.h</key>
|
<key>Headers/ATPlacementModel.h</key>
|
||||||
<data>
|
<data>
|
||||||
8hhQ9FgOWNRCfy29hLNV5apAKX0=
|
iWsELfwxWQRtOp8ijnkazZJ49M8=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATTracker.h</key>
|
<key>Headers/ATTracker.h</key>
|
||||||
<data>
|
<data>
|
||||||
DkwKDise7SfvBrfdsREp7aHpXvs=
|
77U8B0Cb694xkHVkzbFkqru9nKg=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATUnitGroupModel.h</key>
|
<key>Headers/ATUnitGroupModel.h</key>
|
||||||
<data>
|
<data>
|
||||||
JoPJWEV+L3I96K2XNPLwdi2alZQ=
|
88O0NABqxqcBFC5d8d/JkadpXs0=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/ATWaterfallManager.h</key>
|
<key>Headers/ATWaterfallManager.h</key>
|
||||||
<data>
|
<data>
|
||||||
efsV9lEeTaN3d/dGSW1cyS1Fns4=
|
0jYXaQN5MSKqZcklVD+f9etT+70=
|
||||||
</data>
|
</data>
|
||||||
<key>Headers/AnyThinkSDK.h</key>
|
<key>Headers/AnyThinkSDK.h</key>
|
||||||
<data>
|
<data>
|
||||||
|
|
@ -106,7 +106,7 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Info.plist</key>
|
<key>Info.plist</key>
|
||||||
<data>
|
<data>
|
||||||
Gfe+tXYSz1/0qyO6G7mSMx0qVyY=
|
/Nm6y/vXUHYVCFDNrOrKpWv976Q=
|
||||||
</data>
|
</data>
|
||||||
<key>Modules/module.modulemap</key>
|
<key>Modules/module.modulemap</key>
|
||||||
<data>
|
<data>
|
||||||
|
|
@ -130,22 +130,22 @@
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
eS3+b4IO7B/+Y+zFRmOXUZvxbW4=
|
gVMe1ukp1pHx+w08CJ0ueTgoSA0=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
cwrCZcIvDd8WP7DY3QIvxGaa3SyPGn36T+CT/dFdaiM=
|
iIJh9YGn9TxG7pW526rxMcZTRkCREIb7LgRcVpmrgZk=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/ATAPI.h</key>
|
<key>Headers/ATAPI.h</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
D+Sh4l5jGJsAuUd5+ClHaYWDRwA=
|
8rzEWdp9sZvcfTfcIUdPMMUOSLw=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
okObU5YYGiDHp+OTsJDX8cBQv3+WSThTH6NSaNtmDBI=
|
NtCgak/AgyIxQBB/pGBtAkhAmnapUeWuqat8kamrA9I=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/ATAd.h</key>
|
<key>Headers/ATAd.h</key>
|
||||||
|
|
@ -174,22 +174,22 @@
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
OD3vs1r0mZbsXlmfzBt7N3R6A9k=
|
L559MaYjcBEUCqd+zG4mXCcaGxE=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
8jhnLU492gk7NbTNvzlqeFzDz1219dfpNne3h5j08wE=
|
/rvFF3DcaQxlon4uHJSdtCMlCX9jO7mA8A5byLQoTJk=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/ATAdLoadingDelegate.h</key>
|
<key>Headers/ATAdLoadingDelegate.h</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
cc38pQZpUVXMIuogJMdko8KOhqo=
|
7KRw8kUTgN56Ql416NNbOezvptw=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
ujFLd/fnLJBjeR5FYLCVewe2/J84kJ/EBARUv4jb4Hc=
|
zP7yIM/KPwyjrvXtXIDApmBnN7F3VyvUDHqwq9MXiJ4=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/ATAdManagement.h</key>
|
<key>Headers/ATAdManagement.h</key>
|
||||||
|
|
@ -218,11 +218,11 @@
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
/eC9xCd0ccKwZo0KBzy11cl682w=
|
oTSMqqB1hW5l7iptHx6zIDsQpqs=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
AmdJKTaKypwzI9X9oCkTfg5ZDxVza2rFMO4lpfR7EJQ=
|
p8peHFI+N5zX2XbgGQ+P4tOrFR2Bzzp3oc9Zk+LjRSw=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/ATBidInfo.h</key>
|
<key>Headers/ATBidInfo.h</key>
|
||||||
|
|
@ -339,44 +339,44 @@
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
8hhQ9FgOWNRCfy29hLNV5apAKX0=
|
iWsELfwxWQRtOp8ijnkazZJ49M8=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
LILXB53koZhvBTIAwKUjVmgmCHFgvPsUIAY7FwSC0ps=
|
j8/gzPS5PgkEWOXhGHoEMZ51suKCIIBWMHO40uNP1P0=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/ATTracker.h</key>
|
<key>Headers/ATTracker.h</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
DkwKDise7SfvBrfdsREp7aHpXvs=
|
77U8B0Cb694xkHVkzbFkqru9nKg=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
0o3MK14R2HaRgeerjsIJYmmlf3JU1FwAfCEDB+1/fEs=
|
EbiPBOlrz4LnkoyOjOE8I5l8lNReJvygyWSWoH7f1rE=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/ATUnitGroupModel.h</key>
|
<key>Headers/ATUnitGroupModel.h</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
JoPJWEV+L3I96K2XNPLwdi2alZQ=
|
88O0NABqxqcBFC5d8d/JkadpXs0=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
x8DxeVyK2uC60hAOx7C9BXo/tUlR36u53TicpDR0fFM=
|
akjg1MSgmsd2H7dJo1FrEl20cboG90Y7ZNOvzyFUazw=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/ATWaterfallManager.h</key>
|
<key>Headers/ATWaterfallManager.h</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>hash</key>
|
<key>hash</key>
|
||||||
<data>
|
<data>
|
||||||
efsV9lEeTaN3d/dGSW1cyS1Fns4=
|
0jYXaQN5MSKqZcklVD+f9etT+70=
|
||||||
</data>
|
</data>
|
||||||
<key>hash2</key>
|
<key>hash2</key>
|
||||||
<data>
|
<data>
|
||||||
gsIdSQUubvfE2jnE98/bMmCHTlmFlctaPgQ5Yl3qVTY=
|
ellCBPCrafe8KUGxiVrYQFwGYhrLtnqFvCmcbeX7PCI=
|
||||||
</data>
|
</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Headers/AnyThinkSDK.h</key>
|
<key>Headers/AnyThinkSDK.h</key>
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -34,6 +34,9 @@
|
||||||
@property(nonatomic, readonly, weak) ATWaterfall *finalWaterfall;
|
@property(nonatomic, readonly, weak) ATWaterfall *finalWaterfall;
|
||||||
@property(nonatomic, readonly) NSInteger autoReqType;
|
@property(nonatomic, readonly) NSInteger autoReqType;
|
||||||
@property(nonatomic) BOOL adReportClicked;
|
@property(nonatomic) BOOL adReportClicked;
|
||||||
|
@property(nonatomic) BOOL isNativeSplash;
|
||||||
|
@property(nonatomic) NSDictionary *assets;
|
||||||
|
@property(nonatomic) NSObject *delegateObject;
|
||||||
|
|
||||||
//to do
|
//to do
|
||||||
// for ad which loads without a placement setting
|
// for ad which loads without a placement setting
|
||||||
|
|
|
||||||
|
|
@ -11,25 +11,17 @@
|
||||||
extern NSString *const kATSplashExtraRequestIDKey;
|
extern NSString *const kATSplashExtraRequestIDKey;
|
||||||
@class ATSplash;
|
@class ATSplash;
|
||||||
@protocol ATSplashDelegate;
|
@protocol ATSplashDelegate;
|
||||||
|
|
||||||
typedef NS_OPTIONS(NSInteger, ATSplashCloseType) {
|
|
||||||
ATSplashCloseNuknow = 1, // splash close type unknow
|
|
||||||
ATSplashCloseSkip = 2, // splash skip to close
|
|
||||||
ATSplashCloseCountdown = 3, // splash countdown to close
|
|
||||||
ATSplashCloseClickcontent = 4, // splash clickcontent to close
|
|
||||||
ATSplashCloseShowfail = 99 // splash showfail to close
|
|
||||||
};
|
|
||||||
|
|
||||||
@interface ATSplashCustomEvent : ATAdCustomEvent
|
@interface ATSplashCustomEvent : ATAdCustomEvent
|
||||||
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo;
|
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo;
|
||||||
@property(nonatomic, weak) id<ATSplashDelegate> delegate;
|
@property(nonatomic, weak) id<ATSplashDelegate> delegate;
|
||||||
|
@property(nonatomic, strong) ATSplash *splash;
|
||||||
@property(nonatomic, readonly) NSString *unitID;
|
@property(nonatomic, readonly) NSString *unitID;
|
||||||
@property(nonatomic, assign) NSInteger priorityIndex;
|
@property(nonatomic, assign) NSInteger priorityIndex;
|
||||||
|
|
||||||
-(NSDictionary*)delegateExtra;
|
-(NSDictionary*)delegateExtra;
|
||||||
-(void) trackShowWithoutWaterfall;
|
-(void) trackShowWithoutWaterfall;
|
||||||
-(void) trackClickWithoutWaterfall;
|
-(void) trackClickWithoutWaterfall;
|
||||||
-(void) trackSplashAdClosed __attribute__((deprecated("Deprecated, please Use `trackSplashAdClosed:`")));
|
-(void) trackSplashAdClosed;
|
||||||
-(void) trackSplashAdLoaded:(id)splashAd;
|
-(void) trackSplashAdLoaded:(id)splashAd;
|
||||||
-(void) trackSplashAdLoaded:(id)splashAd adExtra:(NSDictionary *)adExtra;
|
-(void) trackSplashAdLoaded:(id)splashAd adExtra:(NSDictionary *)adExtra;
|
||||||
-(void) trackSplashAdShow;
|
-(void) trackSplashAdShow;
|
||||||
|
|
@ -48,7 +40,4 @@ typedef NS_OPTIONS(NSInteger, ATSplashCloseType) {
|
||||||
|
|
||||||
- (void)startCountdown:(NSDictionary *)localInfo countdownBlock:(void(^)(NSInteger time))block;
|
- (void)startCountdown:(NSDictionary *)localInfo countdownBlock:(void(^)(NSInteger time))block;
|
||||||
|
|
||||||
// v5.7.99
|
|
||||||
-(void) trackSplashAdClosed:(NSDictionary *)extra;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue