更新sdk

This commit is contained in:
xiaohui.wang 2022-04-22 10:46:37 +08:00
parent 8af60447c5
commit 4d380c4353
36 changed files with 248 additions and 53 deletions

View File

@ -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

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 5cf569c332774489fbd2fafdaee522cf
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -27,7 +27,7 @@
-(ATNativeADSourceType) adSourceType;
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo ;
@property(nonatomic, weak) id<ATInterstitialDelegate> delegate;
@property(nonatomic, weak) ATInterstitial *interstitial;
@property(nonatomic, strong) ATInterstitial *interstitial;
@property(nonatomic, readonly) NSString *unitID;
@property(nonatomic, assign) NSInteger priorityIndex;
@end

View File

@ -12,6 +12,8 @@
#import <AnyThinkInterstitial/ATAdManager+Interstitial.h>
#import <AnyThinkInterstitial/ATInterstitialDelegate.h>
#import <AnyThinkInterstitial/ATInterstitialCustomEvent.h>
#import <AnyThinkInterstitial/ATInterstitialAutoAdManager.h>
//! Project version number for AnyThinkInterstitial.
FOUNDATION_EXPORT double AnyThinkInterstitialVersionNumber;

View File

@ -27,6 +27,18 @@ typedef NS_ENUM(NSInteger, ATPlayerStatus) {
ATPlayerStatusResume,
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.
*/
@ -119,6 +131,8 @@ extern NSString *const kATExtraNativeImageSizeKey;
extern NSString const* kATExtraNativeImageSize1280_720;
extern NSString const* kATExtraNativeImageSize1200_628;
extern NSString const* kATExtraNativeImageSize640_640;
extern NSString *const kATExtraStartAPPNativeMainImageSizeKey;
extern NSString *const kATExtraNativeIconImageSizeKey;
@interface ATNativeADView(DrawVideo)
/*

View File

@ -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

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 7ebe12ce0277c4f99829cb3449f00a86
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -27,7 +27,7 @@
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary *)localInfo;
@property(nonatomic, weak) id<ATRewardedVideoDelegate> delegate;
@property(nonatomic, weak) ATRewardedVideo *rewardedVideo;
@property(nonatomic, strong) ATRewardedVideo *rewardedVideo;
@property(nonatomic, readonly) NSString *unitID;
@property(nonatomic) NSString *userID;
@property(nonatomic, assign) NSInteger priorityIndex;

View File

@ -12,6 +12,8 @@
#import <AnyThinkRewardedVideo/ATAdManager+RewardedVideo.h>
#import <AnyThinkRewardedVideo/ATRewardedVideoDelegate.h>
#import <AnyThinkRewardedVideo/ATRewardedVideoCustomEvent.h>
#import <AnyThinkRewardedVideo/ATRewardedVideoAutoAdManager.h>
//! Project version number for AnyThinkRewardedVideo.
FOUNDATION_EXPORT double AnyThinkRewardedVideoVersionNumber;

View File

@ -9,6 +9,7 @@
#ifndef ATAPI_Internal_h
#define ATAPI_Internal_h
#import "ATAPI.h"
extern NSString *const kATNativeADAssetsAdvertiserKey;
extern NSString *const kATNativeADAssetsMainTextKey;
extern NSString *const kATNativeADAssetsMainTitleKey;
@ -70,6 +71,7 @@ extern NSString *const kATADUserAreaKey;
@end
@interface ATAPI(Internal)
+(ATLogType)logType;
+(BOOL)logEnabled;
+(BOOL)adLogoVisible;
+(NSString *)hbTestModeDeviceID;

View File

@ -8,6 +8,7 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
extern NSString *const kATADDelegateExtraECPMLevelKey;
extern NSString *const kATADDelegateExtraSegmentIDKey;
extern NSString *const kATADDelegateExtraScenarioIDKey;
@ -32,7 +33,6 @@ extern NSString *const kATADDelegateExtraOfferIDKey;
extern NSString *const kATADDelegateExtraCreativeIDKey;
extern NSString *const kATADDelegateExtraIsDeeplinkKey;
extern NSString *const kATADDelegateExtraRVUserCustomData;
extern NSString *const kATADDelegateExtraDismissTypeKey;
extern NSString *const ATADShowingErrorDomain;
@ -194,6 +194,13 @@ typedef NS_ENUM(NSInteger, ATPersonalizedAdState) {
ATNonpersonalizedAdStateType = 2
};
typedef NS_OPTIONS(NSInteger, ATLogType) {
ATLogTypeNone = 0,
ATLogTypeInternal = 1 << 0,
ATLogTypeExternal = 1 << 1,
ATLogTypeTemporary = 1 << 2
};
@interface ATAPI : NSObject
+(NSDictionary<NSNumber*, NSString*>*)networkNameMap;
@ -344,6 +351,7 @@ set header bidding test mode, only support incoming device idfa. setLogEnabled m
*/
-(void) setPersonalizedAdState:(ATPersonalizedAdState)state;
-(ATPersonalizedAdState) getPersonalizedAdState;
@end

View File

@ -19,14 +19,32 @@ extern NSString *const kATSDKFailedToLoadRewardedVideoADMsg;
extern NSString *const kATSDKSplashADTooLongToLoadPlacementSettingMsg;
extern NSString *const kATSDKImportIssueErrorReason;
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
+(NSDictionary*)customInfoWithUnitGroupModel:(ATUnitGroupModel*)unitGroupModel extra:(NSDictionary*)extra;
-(instancetype) initWithUnitID:(NSString*)unitID serverInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo;
-(void) handleAssets:(NSDictionary*)assets;
-(void) handleLoadingFailure:(NSError*)error;
-(void) handleClose;
-(void) handleShow;
-(void) handleShowFailed;
-(void) trackShow;
-(void) trackClick;
-(ATNativeADSourceType) adSourceType;
@property(nonatomic, weak) id<ATAd> ad;
@property(nonatomic) NSNumber *sdkTime;

View File

@ -19,5 +19,17 @@
-(void) didFinishLoadingSplashADWithPlacementID:(NSString *)placementID isTimeout:(BOOL)isTimeout;
-(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
#endif /* ATAdLoadingDelegate_h */

View File

@ -12,6 +12,7 @@
extern NSString *const kATAdAssetsCustomEventKey;
extern NSString *const kATAdAssetsCustomObjectKey;
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.
@ -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 delegate:(id<ATAdLoadingDelegate>)delegate;
-(void) clearCache DEPRECATED_ATTRIBUTE;
- (void)setExludePlacementid:(NSString *)placementid unitIDArray:(NSArray <NSString *> *)unitIDArray;

View File

@ -23,6 +23,18 @@ typedef NS_ENUM(NSInteger, ATADShowType) {
ATADShowTypeSerial = 1
};
typedef enum : NSUInteger {
ATLoadingRequestConcurrentFixedType = 1,
ATLoadingRequestConcurrentEqualPriceType = 2,
} ATLoadingRequestModelType;
typedef enum : NSUInteger {
ATLoadingApiUnknown,
ATLoadingApiTypeOld,
ATLoadingApiTypeNew,
} ATLoadingApiType;
typedef NS_ENUM(NSInteger, ATAdFormat) {
ATAdFormatNative = 0,
ATAdFormatRewardedVideo = 1,
@ -76,7 +88,11 @@ extern NSString *const kATPlacementModelCustomDataKey;
/**
* 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 *sessionID;
@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 headerBiddingRequestTimeout;
@property(nonatomic, readonly) NSTimeInterval headerBiddingRequestTolerateInterval;
@property(nonatomic, readonly) NSString *S2SBidRequestAddress;
@property(nonatomic, readonly) NSString *waterFallBidRequestAddress;
@property(nonatomic, readonly) NSTimeInterval loadCapDuration;
@property(nonatomic, readonly) NSInteger loadCap;
@property(nonatomic, readonly) NSInteger expectedNumberOfOffers;
@property(nonatomic, readonly) NSTimeInterval bidWaitTimeout;
@property(nonatomic, readonly) NSTimeInterval reqWaitTimeout;
@property(nonatomic, readonly) NSTimeInterval loadFailureInterval;
@property(nonatomic, readonly) NSTimeInterval offerLoadingTimeout;
@property(nonatomic, readonly) NSTimeInterval statusValidDuration;//Upstatus
@ -146,7 +163,7 @@ extern NSString *const kATPlacementModelCustomDataKey;
@property(nonatomic, readonly) NSDictionary* olApiSettingDict;
@property(nonatomic, readonly) NSInteger waterfallCheckTime;
@property(nonatomic, readonly) NSString *currency;
@property(nonatomic, readonly) NSString *exchangeRate;
@ -192,6 +209,7 @@ extern NSString *const kATPlacementModelCustomDataKey;
@property(nonatomic, readonly) NSString *exchRateC2U;
@property(nonatomic) ATLoadingApiType loadingApiType;
@property(nonatomic, assign) BOOL isExistHBAdSource;

View File

@ -12,10 +12,16 @@
typedef NS_ENUM(NSInteger, ATRefreshType){
ATRefreshTypeNone,
ATRefreshTypeAutoRefresh,
ATRefreshTypePlayAgain
ATRefreshTypePlayAgain,
ATRefreshTypeInitiation,
ATRefreshTypeLoadFailed,
ATRefreshTypeNotReady,
ATRefreshTypeShowStart,
ATRefreshTypeShowFailed
} ;
extern NSString *const kATTrackerExtraErrorKey;
extern NSString *const kATTrackerExtraAgainLookFlagKey;
extern NSString *const kATTrackerExtraAutoloadFlagKey;
extern NSString *const kATTrackerExtraSDKCalledFlagKey;
extern NSString *const kATTrackerExtraSDKNotCalledReasonKey;
@ -55,8 +61,11 @@ extern NSString *const kATTrackerExtraRequestExpectedOfferNumberFlagKey;
extern NSString *const kATTrackerExtraClickImpKey;
extern NSString *const kATTrackerExtraPlacementModelKey;
extern NSString *const kATTrackerExtraAdCacheStatusKey;
extern NSString *const kATTrackerExtraAdRequestUsedTimeKey;
extern NSString *const kATTrackerExtralReqParTypeKey;
extern NSString *const kATTrackerExtralReqParNumKey;
// ofm
extern NSString *const kATTrackerExtraOFMTrafficIDKey;

View File

@ -11,6 +11,13 @@
#import "ATMyOfferOfferModel.h"
#import "ATBidInfo.h"
typedef NS_ENUM(NSInteger, ATShowAutoLoadType) {
ATShowAutoOneAdSupportLoadType = 1,
ATShowAutoOneAdNotSupportLoadType,
ATShowAutoOneNetWorkNotSupportLoadType,
};
@interface ATUnitGroupModel : ATModel
-(instancetype) initWithDictionary:(NSDictionary *)dictionary;
@property(nonatomic, readonly, weak) Class adapterClass;
@ -65,4 +72,15 @@
@property(nonatomic, copy) NSString *directOfferOid;
@property(nonatomic, assign) ATShowAutoLoadType showAutoLoadType;
@property(nonatomic) NSInteger priority; // when ad is filterd
/// ad type0 Native, 1 Rewarded, 2 Banner, 3 Interstitial, 4 Splash
@property(nonatomic, assign) NSInteger adType;
@end

View File

@ -24,13 +24,16 @@ typedef NS_ENUM(NSInteger, ATUnitGroupFinishType) {
@interface ATWaterfallWrapper:NSObject
-(void) finish;
-(void) fill;
-(void) callback;
//-(void) callback;
-(ATUnitGroupModel*) filledUnitGroupWithMaximumPrice;
- (ATUnitGroupModel *)requestingUnitGroupMaxPriceWithFilteredUnitID:(NSString *)unitID;
@property(nonatomic) NSInteger numberOfCachedOffers;
@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 headerBiddingFailed;
@property(nonatomic, readonly) dispatch_queue_t access_queue;
@end
@interface ATWaterfall:NSObject
@ -39,6 +42,8 @@ typedef NS_ENUM(NSInteger, ATUnitGroupFinishType) {
-(void) finishUnitGroup:(ATUnitGroupModel*)unitGroup withType:(ATUnitGroupFinishType)type;
-(void) addUnitGroup:(ATUnitGroupModel*)unitGroup;
-(void) insertUnitGroup:(ATUnitGroupModel*)unitGroup price:(NSString *)price;
-(void) insertUnitGroup:(ATUnitGroupModel*)unitGroup price:(NSString *)price filtered:(BOOL)filtered;
-(ATUnitGroupModel*) firstPendingNonHBUnitGroupWithNetworkFirmID:(NSInteger)nwFirmID;
-(ATUnitGroupModel*) unitGroupWithUnitID:(NSString*)unitID;
-(ATUnitGroupModel*) unitGroupWithMaximumPrice;
@ -51,6 +56,10 @@ typedef NS_ENUM(NSInteger, ATUnitGroupFinishType) {
@property(nonatomic, readonly, getter=isLoading) BOOL loading;
- (NSMutableArray<ATUnitGroupModel *> *)getWaterfallUnitGroups;
- (NSInteger)getEqualPriceRequestsQueuedWithSpacing:(NSInteger)divisionSpacing;
@end
@interface ATWaterfallManager : NSObject
@ -64,6 +73,8 @@ typedef NS_ENUM(NSInteger, ATUnitGroupFinishType) {
-(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) 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

View File

@ -10,11 +10,11 @@
</data>
<key>Headers/ATAPI+Internal.h</key>
<data>
eS3+b4IO7B/+Y+zFRmOXUZvxbW4=
gVMe1ukp1pHx+w08CJ0ueTgoSA0=
</data>
<key>Headers/ATAPI.h</key>
<data>
D+Sh4l5jGJsAuUd5+ClHaYWDRwA=
8rzEWdp9sZvcfTfcIUdPMMUOSLw=
</data>
<key>Headers/ATAd.h</key>
<data>
@ -26,11 +26,11 @@
</data>
<key>Headers/ATAdCustomEvent.h</key>
<data>
OD3vs1r0mZbsXlmfzBt7N3R6A9k=
L559MaYjcBEUCqd+zG4mXCcaGxE=
</data>
<key>Headers/ATAdLoadingDelegate.h</key>
<data>
cc38pQZpUVXMIuogJMdko8KOhqo=
7KRw8kUTgN56Ql416NNbOezvptw=
</data>
<key>Headers/ATAdManagement.h</key>
<data>
@ -42,7 +42,7 @@
</data>
<key>Headers/ATAdManager.h</key>
<data>
/eC9xCd0ccKwZo0KBzy11cl682w=
oTSMqqB1hW5l7iptHx6zIDsQpqs=
</data>
<key>Headers/ATBidInfo.h</key>
<data>
@ -86,19 +86,19 @@
</data>
<key>Headers/ATPlacementModel.h</key>
<data>
8hhQ9FgOWNRCfy29hLNV5apAKX0=
iWsELfwxWQRtOp8ijnkazZJ49M8=
</data>
<key>Headers/ATTracker.h</key>
<data>
DkwKDise7SfvBrfdsREp7aHpXvs=
77U8B0Cb694xkHVkzbFkqru9nKg=
</data>
<key>Headers/ATUnitGroupModel.h</key>
<data>
JoPJWEV+L3I96K2XNPLwdi2alZQ=
88O0NABqxqcBFC5d8d/JkadpXs0=
</data>
<key>Headers/ATWaterfallManager.h</key>
<data>
efsV9lEeTaN3d/dGSW1cyS1Fns4=
0jYXaQN5MSKqZcklVD+f9etT+70=
</data>
<key>Headers/AnyThinkSDK.h</key>
<data>
@ -106,7 +106,7 @@
</data>
<key>Info.plist</key>
<data>
Gfe+tXYSz1/0qyO6G7mSMx0qVyY=
/Nm6y/vXUHYVCFDNrOrKpWv976Q=
</data>
<key>Modules/module.modulemap</key>
<data>
@ -130,22 +130,22 @@
<dict>
<key>hash</key>
<data>
eS3+b4IO7B/+Y+zFRmOXUZvxbW4=
gVMe1ukp1pHx+w08CJ0ueTgoSA0=
</data>
<key>hash2</key>
<data>
cwrCZcIvDd8WP7DY3QIvxGaa3SyPGn36T+CT/dFdaiM=
iIJh9YGn9TxG7pW526rxMcZTRkCREIb7LgRcVpmrgZk=
</data>
</dict>
<key>Headers/ATAPI.h</key>
<dict>
<key>hash</key>
<data>
D+Sh4l5jGJsAuUd5+ClHaYWDRwA=
8rzEWdp9sZvcfTfcIUdPMMUOSLw=
</data>
<key>hash2</key>
<data>
okObU5YYGiDHp+OTsJDX8cBQv3+WSThTH6NSaNtmDBI=
NtCgak/AgyIxQBB/pGBtAkhAmnapUeWuqat8kamrA9I=
</data>
</dict>
<key>Headers/ATAd.h</key>
@ -174,22 +174,22 @@
<dict>
<key>hash</key>
<data>
OD3vs1r0mZbsXlmfzBt7N3R6A9k=
L559MaYjcBEUCqd+zG4mXCcaGxE=
</data>
<key>hash2</key>
<data>
8jhnLU492gk7NbTNvzlqeFzDz1219dfpNne3h5j08wE=
/rvFF3DcaQxlon4uHJSdtCMlCX9jO7mA8A5byLQoTJk=
</data>
</dict>
<key>Headers/ATAdLoadingDelegate.h</key>
<dict>
<key>hash</key>
<data>
cc38pQZpUVXMIuogJMdko8KOhqo=
7KRw8kUTgN56Ql416NNbOezvptw=
</data>
<key>hash2</key>
<data>
ujFLd/fnLJBjeR5FYLCVewe2/J84kJ/EBARUv4jb4Hc=
zP7yIM/KPwyjrvXtXIDApmBnN7F3VyvUDHqwq9MXiJ4=
</data>
</dict>
<key>Headers/ATAdManagement.h</key>
@ -218,11 +218,11 @@
<dict>
<key>hash</key>
<data>
/eC9xCd0ccKwZo0KBzy11cl682w=
oTSMqqB1hW5l7iptHx6zIDsQpqs=
</data>
<key>hash2</key>
<data>
AmdJKTaKypwzI9X9oCkTfg5ZDxVza2rFMO4lpfR7EJQ=
p8peHFI+N5zX2XbgGQ+P4tOrFR2Bzzp3oc9Zk+LjRSw=
</data>
</dict>
<key>Headers/ATBidInfo.h</key>
@ -339,44 +339,44 @@
<dict>
<key>hash</key>
<data>
8hhQ9FgOWNRCfy29hLNV5apAKX0=
iWsELfwxWQRtOp8ijnkazZJ49M8=
</data>
<key>hash2</key>
<data>
LILXB53koZhvBTIAwKUjVmgmCHFgvPsUIAY7FwSC0ps=
j8/gzPS5PgkEWOXhGHoEMZ51suKCIIBWMHO40uNP1P0=
</data>
</dict>
<key>Headers/ATTracker.h</key>
<dict>
<key>hash</key>
<data>
DkwKDise7SfvBrfdsREp7aHpXvs=
77U8B0Cb694xkHVkzbFkqru9nKg=
</data>
<key>hash2</key>
<data>
0o3MK14R2HaRgeerjsIJYmmlf3JU1FwAfCEDB+1/fEs=
EbiPBOlrz4LnkoyOjOE8I5l8lNReJvygyWSWoH7f1rE=
</data>
</dict>
<key>Headers/ATUnitGroupModel.h</key>
<dict>
<key>hash</key>
<data>
JoPJWEV+L3I96K2XNPLwdi2alZQ=
88O0NABqxqcBFC5d8d/JkadpXs0=
</data>
<key>hash2</key>
<data>
x8DxeVyK2uC60hAOx7C9BXo/tUlR36u53TicpDR0fFM=
akjg1MSgmsd2H7dJo1FrEl20cboG90Y7ZNOvzyFUazw=
</data>
</dict>
<key>Headers/ATWaterfallManager.h</key>
<dict>
<key>hash</key>
<data>
efsV9lEeTaN3d/dGSW1cyS1Fns4=
0jYXaQN5MSKqZcklVD+f9etT+70=
</data>
<key>hash2</key>
<data>
gsIdSQUubvfE2jnE98/bMmCHTlmFlctaPgQ5Yl3qVTY=
ellCBPCrafe8KUGxiVrYQFwGYhrLtnqFvCmcbeX7PCI=
</data>
</dict>
<key>Headers/AnyThinkSDK.h</key>

View File

@ -34,6 +34,9 @@
@property(nonatomic, readonly, weak) ATWaterfall *finalWaterfall;
@property(nonatomic, readonly) NSInteger autoReqType;
@property(nonatomic) BOOL adReportClicked;
@property(nonatomic) BOOL isNativeSplash;
@property(nonatomic) NSDictionary *assets;
@property(nonatomic) NSObject *delegateObject;
//to do
// for ad which loads without a placement setting

View File

@ -11,25 +11,17 @@
extern NSString *const kATSplashExtraRequestIDKey;
@class ATSplash;
@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
-(instancetype) initWithInfo:(NSDictionary*)serverInfo localInfo:(NSDictionary*)localInfo;
@property(nonatomic, weak) id<ATSplashDelegate> delegate;
@property(nonatomic, strong) ATSplash *splash;
@property(nonatomic, readonly) NSString *unitID;
@property(nonatomic, assign) NSInteger priorityIndex;
-(NSDictionary*)delegateExtra;
-(void) trackShowWithoutWaterfall;
-(void) trackClickWithoutWaterfall;
-(void) trackSplashAdClosed __attribute__((deprecated("Deprecated, please Use `trackSplashAdClosed:`")));
-(void) trackSplashAdClosed;
-(void) trackSplashAdLoaded:(id)splashAd;
-(void) trackSplashAdLoaded:(id)splashAd adExtra:(NSDictionary *)adExtra;
-(void) trackSplashAdShow;
@ -48,7 +40,4 @@ typedef NS_OPTIONS(NSInteger, ATSplashCloseType) {
- (void)startCountdown:(NSDictionary *)localInfo countdownBlock:(void(^)(NSInteger time))block;
// v5.7.99
-(void) trackSplashAdClosed:(NSDictionary *)extra;
@end