| | |
| | | #import <WACommon/WACommon.h> |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | #define WASdkLog(fmt,...) {\ |
| | | if([WACoreProxy isDebugMode]){\ |
| | | if([WACoreProxy displayLog]){\ |
| | | NSLog((@"WASDK LOG [(version %@) %s ]:" fmt), [WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__);\ |
| | | [WACoreProxy addLogWithString:[NSString stringWithFormat:(@"(version %@) %s ]:" fmt),[WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__]];\ |
| | | }\ |
| | |
| | | |
| | | + (void)showConsentPreferences; |
| | | |
| | | //方法来控制同意设置按钮的显示和隐藏。如果不在生效地区(一般指欧盟),回调结果会返回false,此时应该隐藏按钮,否则返回true则需要显示 |
| | | + (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock; |
| | | |
| | | @end |
| | | NS_ASSUME_NONNULL_END |