lpw
yesterday 303b8f43a0f25b1bd791061e0d0ba3d862238386
frameworks/WASdkIntf.framework/Headers/WAIUser.h
@@ -9,7 +9,9 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <WASdkIntf/WAUserProxy.h>
#import <WASdkIntf/WASdkIntf.h>
@interface WAIUser : NSObject
-(void)setLoginFlowType:(int)flowType;
-(int)getLoginFlowType;
@@ -73,6 +75,7 @@
- (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate;
- (BOOL)isOpenUserCenter;
- (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate;
-(void)queryUserCertificationInfo:(void(^)(WACertificationInfo *certificationInfo,NSError *error))callBackBlock;
@@ -141,6 +144,12 @@
//删除账号授权,拿到第三方的token信息,如 signinwithapple拿到authorizationCode
-(void)deleteAccounAuthorizationWithPlatform:(NSString*)platform completeBlock:(void(^)(NSError* error,WADeleteRequestModel*deleteResult))block;
/*!
@discussion 是否可以删除账号
 */
- (BOOL)isOpenDeleteAccount;
/*!
@discussion 账号删除
 */
@@ -167,4 +176,81 @@
- (void)showConsentPreferences;
/*!
@discussion 检测是非需要弹出同意内容弹框
 */
- (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock;
/*!
@discussion 打开客服中心 4. 6.0增加
 */
- (void)showCustomerCenterWithCompletion:(void(^)(WACustomerResult*deleteResult))completionBlock;
 /**
 @discussion 获取任务列表 4. 6.0增加
  * 获取推广任务列表
  * @param completeBlock 完成回调,返回任务列表数组或错误信息
  * 数组元素格式为:
  * @{
  *   @"taskName": @"任务名称",
  *   @"taskStatus": @"0/1" // 0表示未完成,1表示已完成
  * }
  */
-(void)fetchPromotionTasksWithCompletion:(void(^_Nullable)(NSArray<NSDictionary *> * _Nullable tasks, NSError * _Nullable error))completeBlock;
/*!
@discussion 查询玩家任务完成情况 4. 6.0增加
 */
- (void)checkPlayerTask:(void(^_Nullable)(NSError * _Nullable error, BOOL success))completeBlock;
- (void)getPlatformAccountInfo:(void(^_Nullable)(NSError * _Nullable error, WAPlatformAccountInfo * _Nullable acountInfo))completeBlock;
/*!
@discussion 月卡有关功能 4. 9.0增加
 */
- (void)getPassInfo:(void(^_Nullable)(NSError * _Nullable error, WAPassPlatformInfo * _Nullable passPlatfromInfo))completeBlock;
- (void)showPassUserGuide:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
- (BOOL)isOpenCoins;
- (void)showCoins:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
/*!
@discussion 展示coins购买引导弹窗
 */
- (void)showCoinsGuide:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
/*!
@discussion 获取coins余额和启用状态信息
 */
- (void)getCoinsInfo:(void(^_Nullable)(NSError * _Nullable error, WACoinsInfo * _Nullable coinsInfo))completeBlock;
/*!
@discussion 监听coins余额和开启状态变更(当余额或开启状态发生变化时才通知CP)
*/
- (void)listenCoinsChange:(void(^_Nullable)(NSError * _Nullable error, WACoinsInfo * _Nullable coinsInfo))callback;
// 取消监听
- (void)removeCoinsChangeListener;
@end