| | |
| | | #import <Foundation/Foundation.h> |
| | | #import <WASdkIntf/WASdkIntf.h> |
| | | #import <WACommon/WACommon.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | #define WASdkLog(fmt,...) {\ |
| | | if([WACoreProxy isDebugMode]){\ |
| | | NSLog((@"WASDK LOG [(version %@) %s ]:" fmt), [WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__);\ |
| | |
| | | * 初始化 |
| | | */ |
| | | +(void)init; |
| | | |
| | | |
| | | /** |
| | | * 初始化(20221027 新增回掉) |
| | | */ |
| | | +(void)initWithCompletionHandler:(void (^_Nullable)(void))completionHandler; |
| | | |
| | | /** |
| | | * 设置调试模式 |
| | | * |
| | |
| | | /** |
| | | * 设置调试模式 |
| | | * |
| | | * @param isDebugMode |
| | | * isDebugMode |
| | | */ |
| | | +(void)setDebugMode:(BOOL)isDebugMode; |
| | | |
| | |
| | | /** |
| | | * 设置clientId |
| | | * |
| | | * @param clientId |
| | | * clientId |
| | | */ |
| | | +(void)setClientId:(NSString*)clientId; |
| | | |
| | |
| | | */ |
| | | +(NSString*)getVersion; |
| | | |
| | | /** |
| | | |
| | | sdk内部使用,tta结果后,调用是否需要弹出(didomisdk 初始化快,tta结果慢点情况) |
| | | */ |
| | | + (BOOL)needShowCmpUI; |
| | | + (void)showDidomiUI; |
| | | |
| | | + (void)showConsentPreferences; |
| | | |
| | | //方法来控制同意设置按钮的显示和隐藏。如果不在生效地区(一般指欧盟),回调结果会返回false,此时应该隐藏按钮,否则返回true则需要显示 |
| | | + (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock; |
| | | |
| | | @end |
| | | NS_ASSUME_NONNULL_END |