From cce4130b83d5d6acf8d840673ebee9deb617f980 Mon Sep 17 00:00:00 2001 From: LPW <812862340@qq.com> Date: Thu, 11 Nov 2021 18:29:34 +0800 Subject: [PATCH] no message --- frameworks/WASdkIntf.framework/Headers/WAUserProxy.h | 123 ++++++++++++++++++++++++++++++++++++++-- 1 files changed, 116 insertions(+), 7 deletions(-) diff --git a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h index cb86ff3..3b6c9f8 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h +++ b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h @@ -11,7 +11,9 @@ #import "WALoginResult.h" #import "WABindingResult.h" #import "WAAccount.h" +#import "WAUserCenterResult.h" #import "WAAppUser.h" +#import "WACertificationInfo.h" /*! @discussion 登录协议 - - - @@ -21,7 +23,7 @@ @required /*! @abstract 登录成功 - @param results 登录结果 + @param result 登录结果 */ -(void)loginDidCompleteWithResults:(WALoginResult*)result; /*! @@ -91,6 +93,9 @@ -(void)loginViewDidCancel:(WALoginResult*)result; @end + + + /*! @discussion 账号管理界面协议 - - - @@ -108,6 +113,50 @@ @param result 切换账户的账户信息 */ -(void)switchAcctDidCompleteWithResult:(WALoginResult*)result; + +/*! +@abstract 绑定账号回调接口 +@param bindResult 绑定账号信息 +*/ +-(void)bindAccountDidCompleteWithResult:(WABindingResult*)bindResult; + + +/*! +@abstract 实名认证成功回调接口 +@param certificationInfo 实名认证信息 +*/ +-(void)realNameAuthtDidCompleteWithResult:(WACertificationInfo*)certificationInfo; + +@end + +/*! + @discussion 用户中心 + - - - + */ +@protocol WAUserCenterNoticeDelegate <NSObject> +/*! + @abstract 获取用户中心数据回调接口 + @param result 用户中心数据信息 + */ +- (void)userCenterNoticeWithResult:(WAUserCenterResult *)result; + +@end + +/*! + @discussion 用户中心 + - - - + */ +@protocol WAUserCenterNoticeUIDelegate <NSObject> +/*! + @abstract 用户中心界面关闭回调接口 + */ +- (void)userCenterNoticeClose; +/*! + @abstract 用户中心界面错误回调接口 + @param error 用户中心错误信息 + */ +- (void)userCenterNoticeError:(NSError *)error; + @end @@ -164,15 +213,13 @@ /*! @discussion 切换账号接口 @param platform 切换平台 - @param error 错误 - @param result 登录结果 + @param completeBlock 回调结果:包括error(错误)和result(登录结果) */ +(void)switchAccountWithPlatform:(NSString *const)platform completeBlock:(void(^)(NSError* error,WALoginResult* result))completeBlock; /*! @discussion 创建账号接口 - @param error 错误 - @param result 创建结果 + @param completeBlock 回调结果:包括error(错误)和result(创建结果) */ +(void)createNewAccountWithCompleteBlock:(void(^)(NSError* error,WALoginResult* result))completeBlock; @@ -197,6 +244,17 @@ */ +(void)openAccountManager:(id<WAAcctManagerDelegate>)delegate; + +/*! +@abstract 调用此方法打开账户管理界面 +@param delegate 委托 +*/ ++(void)openAccountCenter:(id<WAAcctManagerDelegate>)delegate; + + + + ++(BOOL)isBoundPlatformAccount; /*! @abstract 获取账户信息 @param platform 平台 @@ -205,15 +263,29 @@ //+(NSString*)transferWithPlatform:(NSString *const)platform; ++ (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate; + ++ (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate; + /*! @discussion 处理UIApplicationDelegate的方法[-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions]传递过来的参数。 */ + (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; /*! - @discussion 处理UIApplicationDelegate的方法[+ (void)applicationDidBecomeActive:(UIApplication *)application]传递过来的参数。 + @discussion 处理UIApplicationDelegate的方法[- (void)applicationDidBecomeActive:(UIApplication *)application]传递过来的参数。 */ -+ (void)applicationDidBecomeActive:(UIApplication *)application; ++(void)applicationDidBecomeActive:(UIApplication *)application; + +/*! + @discussion 处理UIApplicationDelegate的方法[- (void)applicationWillEnterForeground:(UIApplication *)application]传递过来的参数。 + */ ++(void)applicationWillEnterForeground:(UIApplication *)application; + +/*! + @discussion 处理UIApplicationDelegate的方法[- (void)applicationDidEnterBackground:(UIApplication *)application]传递过来的参数。 + */ ++(void)applicationDidEnterBackground:(UIApplication *)application; /*! @discussion 处理UIApplicationDelegate的方法[-(BOOL)application:(UIApplication *)application @@ -252,4 +324,41 @@ @discussion (tip:CP无需关注)获取用户模块组件 */ +(NSArray*)getUserComponents; + ++(void)queryUserCertificationInfo:(void(^)(WACertificationInfo *certificationInfo,NSError *error))callBackBlock; + + +/*! + @discussion 检测是否可以打开账号绑定、账号切换、实名认证接口 + */ ++ (BOOL)canOpenAccoutbind; ++ (BOOL)canOpenAccoutSwitch; ++ (BOOL)canOpenRealNameAuth; + +/*! +@discussion 打开账户绑定界面 +*/ ++ (void)openAccoutbindManager:(void(^)(NSError* error,WABindingResult * bindResult))block; + + +/*! +@discussion 打开账户切换界面 +*/ ++ (void)openAccoutSwithchManager:(void(^)(NSError* error,WALoginResult * loginResult))block; + + +/*! +@discussion 打开实名认证界面 +*/ ++ (void)openRealNameAuthManager:(void(^)(NSError* error,WACertificationInfo * certificationInfo))block; + + + +/*! +@discussion 打开as评分弹框 +*/ ++ (void)openReview API_AVAILABLE(ios(10.3), macos(10.14)); + + + @end -- Gitblit v1.8.0