From ce4eaddf9eb835f01e6bf5845a063d306f322b24 Mon Sep 17 00:00:00 2001 From: Aeline <liu9421wen@163.com> Date: 星期一, 08 三月 2021 18:16:51 +0800 Subject: [PATCH] al --- BuWanVideo2.0/CSJ/BUAdSDK.framework/Headers/BUAdSDKManager.h | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/BuWanVideo2.0/CSJ/BUAdSDK.framework/Headers/BUAdSDKManager.h b/BuWanVideo2.0/CSJ/BUAdSDK.framework/Headers/BUAdSDKManager.h index 19aeb81..581d50a 100644 --- a/BuWanVideo2.0/CSJ/BUAdSDK.framework/Headers/BUAdSDKManager.h +++ b/BuWanVideo2.0/CSJ/BUAdSDK.framework/Headers/BUAdSDKManager.h @@ -10,12 +10,24 @@ #import "BUAdSDKDefines.h" #import "BUMopubAdMarkUpDelegate.h" +///CN china, NO_CN is not china +typedef NS_ENUM(NSUInteger, BUAdSDKTerritory) { + BUAdSDKTerritory_CN = 1, + BUAdSDKTerritory_NO_CN, +}; + +@class BUAdSlot; + typedef void (^BUConfirmGDPR)(BOOL isAgreed); @interface BUAdSDKManager : NSObject @property (nonatomic, copy, readonly, class) NSString *SDKVersion; - +/** +This property should be set when integrating non-China areas at the same time, otherwise it does not need to be set.you鈥榙 better set Territory first, if you need to set them +@param territory : Regional value +*/ ++ (void)setTerritory:(BUAdSDKTerritory)territory; /** Register the App key that鈥檚 already been applied before requesting an ad from TikTok Audience Network. @param appID : the unique identifier of the App @@ -62,6 +74,9 @@ /// Open GDPR Privacy for the user to choose before setAppID. + (void)openGDPRPrivacyFromRootViewController:(UIViewController *)rootViewController confirm:(BUConfirmGDPR)confirm; +/// Custom set idfa value ++ (void)setCustomIDFA:(NSString *)idfa; + /// get appID + (NSString *)appID; @@ -71,9 +86,16 @@ /// get GDPR + (NSInteger)GDPR; +/// get coppa ++ (NSUInteger)coppa; + @end @interface BUAdSDKManager (MopubAdaptor) <BUMopubAdMarkUpDelegate> @end + +@interface BUAdSDKManager (BUAdNR) ++ (NSDictionary *)bunr_dictionaryWithSlot:(BUAdSlot *)slot isDynamicRender:(BOOL)isDynamicRender; +@end -- Gitblit v1.8.0