From d560f4df74bc74b2e5c269173f4c9572bb28cabc Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Wed, 06 May 2020 10:38:44 +0800 Subject: [PATCH] 2.1.0 --- frameworks/WASdkIntf.framework/Headers/WAIUser.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/frameworks/WASdkIntf.framework/Headers/WAIUser.h b/frameworks/WASdkIntf.framework/Headers/WAIUser.h index 2eb93dc..3ee5eee 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAIUser.h +++ b/frameworks/WASdkIntf.framework/Headers/WAIUser.h @@ -30,10 +30,18 @@ -(void)applicationDidBecomeActive:(UIApplication *)application; +-(void)applicationWillEnterForeground:(UIApplication *)application; + +-(void)applicationDidEnterBackground:(UIApplication *)application; + -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation; + +- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options; + +- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url; -(void)loginWithResult:(WALoginResult*)result delegate:(id<WALoginDelegate>)delegate; -(void)loginWithResult:(WALoginResult*)result extInfo:(NSString*)extInfo delegate:(id<WALoginDelegate>)delegate; @@ -43,4 +51,41 @@ -(WALoginResult*)getCurrentLoginResult; -(void)didUserLogin:(void(^)(NSError* error,BOOL didLogin))block; + +- (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate; + +- (void)showUserCenterNoticeUI:(id<WAUserCenterNoticeUIDelegate>)delegate; + +-(void)queryUserCertificationInfo:(void(^)(WACertificationInfo *certificationInfo,NSError *error))callBackBlock; + +//查询是否已绑定第三方账号 (国内) +-(BOOL)isBoundPlatformAccount; + +/*! + @discussion 检测是否可以打开账号绑定、账号切换、实名认证接口 + 如果返回NO,没有登录 canOpenRealNameAuth 已经实名 + */ +- (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; + + + @end -- Gitblit v1.8.0