2 files added
	
		
		18 files modified
	
	
 
	
	
	
	
	
	
	
	
 |  |  | 
 |  |  | Pod::Spec.new do |s| | 
 |  |  |  | 
 |  |  | s.name = 'WASdkIntf' | 
 |  |  | s.version = '3.8.3' | 
 |  |  | s.version = '3.8.4' | 
 |  |  | s.summary = 'WASdkIntf framework in production environment.' | 
 |  |  | s.license = 'MIT' | 
 |  |  | s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } | 
 
| New file | 
 |  |  | 
 |  |  | # | 
 |  |  | #  Be sure to run `pod spec lint WASdkIntf.podspec' to ensure this is a | 
 |  |  | #  valid spec and to remove all comments including this before submitting the spec. | 
 |  |  | # | 
 |  |  | #  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html | 
 |  |  | #  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ | 
 |  |  | # | 
 |  |  |  | 
 |  |  | Pod::Spec.new do |s| | 
 |  |  |  | 
 |  |  | s.name = 'WASdkIntf' | 
 |  |  | s.version = '3.8.4' | 
 |  |  | s.summary = 'WASdkIntf framework in production environment.' | 
 |  |  | s.license = 'MIT' | 
 |  |  | s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } | 
 |  |  | s.homepage = 'http://repo.wingsdk.cn:8082/summary/WASdkIntf.git' | 
 |  |  | s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WASdkIntf.git" , :tag => s.version} | 
 |  |  | s.platform = :ios | 
 |  |  | s.ios.deployment_target = "7.0" | 
 |  |  | s.vendored_frameworks = 'frameworks/WASdkIntf.framework' | 
 |  |  | s.resources = ['config/*.plist'] | 
 |  |  | s.requires_arc = true | 
 |  |  | end | 
 
 |  |  | 
 |  |  |  @abstract 第三方平台openId | 
 |  |  |  */ | 
 |  |  | @property(nonatomic,copy)NSString* pUserId;//第三方平台openId | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  |  @abstract 绑定平台标识 FACEBOOK、APPLE、WINGA | 
 |  |  |  */ | 
 |  |  | @property(nonatomic,copy)NSString* platform; | 
 |  |  |  | 
 |  |  | @property (nonatomic, strong) NSString *mobile;//wa平台才有此字段 | 
 |  |  |  | 
 |  |  |  | 
 |  |  | +(WAAccount*)parserWithDict:(NSDictionary*)dict; | 
 |  |  | +(NSArray*)parserWithArray:(NSArray*)arr; | 
 |  |  | @end | 
 
| New file | 
 |  |  | 
 |  |  | // | 
 |  |  | //  WACertificationInfo.h | 
 |  |  | //  WASdkIntf | 
 |  |  | // | 
 |  |  | //  Created by LPW on 2019/12/30. | 
 |  |  | //  Copyright © 2019 GHW-T-01. All rights reserved. | 
 |  |  | //  查询用户实名信息返回model | 
 |  |  |  | 
 |  |  | #import <Foundation/Foundation.h> | 
 |  |  |  | 
 |  |  | NS_ASSUME_NONNULL_BEGIN | 
 |  |  |  | 
 |  |  | @interface WACertificationInfo : NSObject | 
 |  |  | /*用户实名认证状态 | 
 |  |  |  * -1  未开启 | 
 |  |  |  * 0   已实名 | 
 |  |  |  * 1   未实名 | 
 |  |  |  * 2   已实名-未成年 | 
 |  |  |  */ | 
 |  |  | @property NSInteger userRealNameStatus; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /*用户实名认证状态 | 
 |  |  | * -1  未开启实名认证 或者  未实名 | 
 |  |  | */ | 
 |  |  | @property NSInteger age; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | @end | 
 |  |  |  | 
 |  |  | NS_ASSUME_NONNULL_END | 
 
 |  |  | 
 |  |  | extern NSString *const WA_PLATFORM_BOACOMPRA; | 
 |  |  | extern NSString *const WA_PLATFORM_VK; | 
 |  |  | extern NSString *const WA_PLATFORM_WECHAT; | 
 |  |  | extern NSString *const WA_PLATFORM_QQ; | 
 |  |  | extern NSString *const WA_PLATFORM_SIGNINWITHAPPLE; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | extern NSString *const WA_PLATFORM_QQ_CN_NAME; | 
 |  |  | extern NSString *const WA_PLATFORM_SIGNINWITHAPPLE_CN_NAME; | 
 |  |  | extern NSString *const WA_PLATFORM_WECHAT_CN_NAME; | 
 |  |  | extern NSString *const WA_PLATFORM_WINGA_CN_NAME; | 
 |  |  | extern NSString *const WA_CONSTANT_GUEST_CN_NAME; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | extern NSString *const WA_PLATFORM_HUP; | 
 |  |  | extern NSString *const WA_PLATFORM_APW; | 
 |  |  | extern NSString *const WA_PLATFORM_PUSH; | 
 |  |  | 
 |  |  | extern const int WA_SDK_TYPE_FR; // 国外 | 
 |  |  | extern const int WA_SDK_TYPE_CN; // 国内 | 
 |  |  |  | 
 |  |  |  | 
 |  |  | // qq登录通知 | 
 |  |  | extern NSString *const WAQQLoginSuccessedNSNotification; | 
 |  |  | extern NSString *const WAQQkLoginFailedNSNotificationName; | 
 |  |  | extern NSString *const WAQQkLoginCancelledNSNotificationName; | 
 |  |  | extern NSString *const WAQQkGetUnionIDNSNotificationName; | 
 |  |  | extern NSString *const WAQQkLogoutSuccessedNSNotificationName; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | @interface WAConstants : NSObject { | 
 |  |  |      | 
 |  |  | } | 
 
 |  |  | 
 |  |  | -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color; | 
 |  |  | /** 检测设备是否越狱 */ | 
 |  |  | - (BOOL)isJailBreak; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | @end | 
 
 |  |  | 
 |  |  |  */ | 
 |  |  | + (BOOL)isJailBreak; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | @end | 
 
 |  |  | 
 |  |  |  */ | 
 |  |  | +  (void)setLanguage:(nonnull NSString *)language; | 
 |  |  |  | 
 |  |  | #pragma mark -- 设置SDK方向 | 
 |  |  | /* | 
 |  |  |   | 
 |  |  |  UIInterfaceOrientationMaskPortrait,         // 设备(屏幕)直立 | 
 |  |  |  UIInterfaceOrientationMaskLandscapeLeft,    // 设备(屏幕)向左横置 | 
 |  |  |  UIInterfaceOrientationMaskLandscapeRight,   // 设备(屏幕)向右橫置 | 
 |  |  |  UIInterfaceOrientationMaskPortraitUpsideDown,// 设备(屏幕)直立,上下顛倒 | 
 |  |  |  UIInterfaceOrientationMaskLandscape,        // 设备(屏幕)横置,包含向左和向右 | 
 |  |  |  UIInterfaceOrientationMaskAll,              // 设备(屏幕)可以支持上下左右四个方向 | 
 |  |  |  UIInterfaceOrientationMaskAllButUpsideDown  //设备(屏幕)可以支持上左右三个个方向,但不支持直立上下颠倒 | 
 |  |  |  | 
 |  |  |  */ | 
 |  |  | +  (void)setSDKInterfaceOrientationMask:(NSUInteger)interfaceOrientationMask; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  | @abstract 检测是否开启aihelp | 
 |  |  | */ | 
 |  |  | + (BOOL) isOpenAiHelp; | 
 |  |  |  | 
 |  |  | + (void) openAiHelp:(NSString * _Nonnull )language; | 
 |  |  |  | 
 |  |  | + (void) openAiHelp:(NSString * _Nonnull )language isVip:(BOOL)vip; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | @end | 
 
 |  |  | 
 |  |  |  | 
 |  |  | #pragma mark -- 设置SDK语言 | 
 |  |  | - (void)setLanguage:(nonnull NSString *)language; | 
 |  |  | #pragma mark -- 设置SDK方向 | 
 |  |  | /* | 
 |  |  |   | 
 |  |  |  UIInterfaceOrientationMaskPortrait,         // 设备(屏幕)直立 | 
 |  |  |  UIInterfaceOrientationMaskLandscapeLeft,    // 设备(屏幕)向左横置 | 
 |  |  |  UIInterfaceOrientationMaskLandscapeRight,   // 设备(屏幕)向右橫置 | 
 |  |  |  UIInterfaceOrientationMaskPortraitUpsideDown,// 设备(屏幕)直立,上下顛倒 | 
 |  |  |  UIInterfaceOrientationMaskLandscape,        // 设备(屏幕)横置,包含向左和向右 | 
 |  |  |  UIInterfaceOrientationMaskAll,              // 设备(屏幕)可以支持上下左右四个方向 | 
 |  |  |  UIInterfaceOrientationMaskAllButUpsideDown  //设备(屏幕)可以支持上左右三个个方向,但不支持直立上下颠倒 | 
 |  |  |  | 
 |  |  |  */ | 
 |  |  | - (void)setSDKInterfaceOrientationMask:(NSUInteger)interfaceOrientationMask; | 
 |  |  |  | 
 |  |  | #pragma mark -- 判断是否加载aihelp模块 | 
 |  |  | - (BOOL) isOpenAiHelp; | 
 |  |  |  | 
 |  |  | #pragma mark -- 打开aihelp | 
 |  |  | - (void) openAiHelp:(NSString * _Nonnull )language; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | #pragma mark -- 打开aihelp 扩展是否为vip | 
 |  |  | - (void) openAiHelp:(NSString * _Nonnull )language isVip:(BOOL)vip; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | @end | 
 
 |  |  | 
 |  |  | -(NSData*)getCurrentReceipt; | 
 |  |  | -(float)getReorderLimitTime; | 
 |  |  | -(void)payLog:(NSString *)logInfo; | 
 |  |  | -(void)startRunAppleTransactionObserve; | 
 |  |  | -(void)removeAppleTransactionObserve; | 
 |  |  | @end | 
 
 |  |  | 
 |  |  |  | 
 |  |  | - (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; | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  | - (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; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  | @discussion 打开as评分弹框 | 
 |  |  | */ | 
 |  |  | - (void)openReview; | 
 |  |  |  | 
 |  |  | @end | 
 
 |  |  | 
 |  |  |  */ | 
 |  |  | @property(nonatomic) long resultCode; | 
 |  |  |  | 
 |  |  | @property (nonatomic) NSString *message; //成功 or 失败原因 | 
 |  |  |  | 
 |  |  | @end | 
 
 |  |  | 
 |  |  |  @abstract 第三方平台token(当GUEST登录时为空,当Apple登录时,实际上是将extends转化为NSString) | 
 |  |  |  */ | 
 |  |  | @property(copy,nonatomic)NSString *pToken; | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  | @abstract 第三方平台的刷新refresh_token,如微信 | 
 |  |  | */ | 
 |  |  | @property(copy,nonatomic)NSString *refresh_token; | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  |  @abstract 当APPLE登录时有值,否则为空 | 
 |  |  |  */ | 
 |  |  | 
 |  |  |  */ | 
 |  |  | @property BOOL isBindMobile; | 
 |  |  | /**! | 
 |  |  |  @abstract 是否绑定手机号 用户状态(有效用户返回): | 
 |  |  |  @abstract 用户实名认证状态(未开启则不返回): | 
 |  |  |  * 0:已实名 | 
 |  |  |  * 1:未实名 | 
 |  |  |  * 2:已实名-未成年 | 
 |  |  |  */ | 
 |  |  | @property NSInteger userStatus; | 
 |  |  | @property NSInteger userRealNameStatus; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /**! | 
 |  |  |  @abstract 登录实名验证: | 
 |  |  |  @abstract 是否开启游戏防沉迷(未开启则无数据返回) | 
 |  |  |  * 1:开启 | 
 |  |  |  */ | 
 |  |  | @property NSInteger gameAddiction; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /**! | 
 |  |  |  @abstract 已实名认证用户的年龄(未开启则无数据返回) | 
 |  |  |  */ | 
 |  |  | @property NSInteger age; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /**! | 
 |  |  |  @abstract 登录实名验证:  v1.4.0 废弃 | 
 |  |  |  * 0:不需要实名验证 | 
 |  |  |  * 1:提示用户实名验证,这里返回的token可作为登录及用户实名验证使用 | 
 |  |  |  * 2:强制用户实名验证,此时返回的仅是token是实名验证token | 
 |  |  |  */ | 
 |  |  | @property NSInteger loginRna; | 
 |  |  | //@property NSInteger loginRna; | 
 |  |  |  | 
 |  |  | /**! | 
 |  |  |  @abstract 支付实名验证: | 
 |  |  |  @abstract 支付实名验证:  v1.4.0 废弃 | 
 |  |  |  * 0:不需要实名验证 | 
 |  |  |  * 1:提示用户实名验证 | 
 |  |  |  * 2:强制用户实名验证 | 
 |  |  |  * 注:当有该字段返回时,token可作为登录及用户实名验证使用 | 
 |  |  |  */ | 
 |  |  | @property NSInteger paymentRna; | 
 |  |  | //@property NSInteger paymentRna; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /**! | 
 |  |  |  @abstract 当前用户ID含义标识: | 
 
 |  |  | 
 |  |  | @property(nonatomic,copy)NSString* userAgreementUrl; | 
 |  |  | @property(nonatomic,strong)NSNumber* uploadPurchaseLog; | 
 |  |  | @property(nonatomic) NSInteger adVideoCacheCount; | 
 |  |  | @property(nonatomic) NSInteger enableBindAccount; // 绑定:  0-关闭, 1-打开 | 
 |  |  | @property(nonatomic) NSInteger enableBindAccount; // 绑定:  0-关闭, 1-打开  2-强制绑定(国内) | 
 |  |  | @property(nonatomic) NSInteger enableUnBindAccount; // 解绑:   0-关闭,1-打开 | 
 |  |  | @property(nonatomic,copy)NSString* privacyUrl; // 用户协议url | 
 |  |  | @property(nonatomic,copy)NSString* privacyUpdateTime; // 用户协议更新时间 | 
 |  |  | @property(nonatomic)NSInteger userCenterStatus; // 用户中心状态 0-关闭,1-打开 | 
 |  |  | @property(nonatomic)NSInteger isOpenKefu; //  是否开启客服  0  关闭 1 启动机器人客服聊天界面   2 启动人工客服聊天界面   3 启动运营界面  4 展示全部FAQ菜单 5 展示全部FAQ菜单(无机器人客服) | 
 |  |  | @property (nonatomic, copy) NSDictionary *paymentTip; //付款信息提示  (complete:提示语字段的key) | 
 |  |  | @property(nonatomic)NSInteger logEventControl; //  事件日志开关  0  关闭 1 全部打开  2 仅android打开   3 仅ios打开   | 
 |  |  | @property(nonatomic)NSInteger loginRna;     // 0 - 关闭,登录后不弹实名认证。   1 - 开启并强制   2开启不强制 | 
 |  |  | @property(nonatomic)NSInteger paymentRna;   // 0 - 关闭,下单前不弹出实名认证。  1 - 开启并强制   2开启不强制 | 
 |  |  |  | 
 |  |  | @property(nonatomic)NSInteger autoGuestLogin;       // 游客自动登录开关 0 - 开启,  1 - 关闭 | 
 |  |  | @property(nonatomic)NSInteger guestLoginBindAlert;   // 游客登录绑定提醒 0 - 关闭,  1 - 开启 | 
 |  |  |  | 
 |  |  |  | 
 |  |  | @end | 
 
 |  |  | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  | @abstract 查询渠道商品调用方法 | 
 |  |  | @param callBackBlock 回掉 | 
 |  |  | @param callBackBlock 回调 | 
 |  |  | */ | 
 |  |  | + (void)queryChannelProduct:(NSString *)channel | 
 |  |  |               callBackBlock:(void(^)(NSArray <WAChannelProduct *>*channelProductsArray,NSError *error))callBackBlock; | 
 
 |  |  | 
 |  |  | #import <WASdkIntf/WAUserCenterResult.h> | 
 |  |  | #import <WASdkIntf/WAIUser.h> | 
 |  |  | #import <WASdkIntf/WAUserProxy.h> | 
 |  |  | #import <WASdkIntf/WACertificationInfo.h> | 
 |  |  | #import <WASdkIntf/WAAccount.h> | 
 |  |  | #import <WASdkIntf/WAClassGenerator.h> | 
 |  |  | #import <WASdkIntf/WAShareVideo.h> | 
 |  |  | 
 |  |  |  | 
 |  |  | // In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h> | 
 |  |  |  | 
 |  |  | //time:2019/09/19 09:15 ver:3.8.3 | 
 |  |  | //time:2020/05/20 09:15 ver:3.8.4 | 
 
 |  |  | 
 |  |  | extern NSString* WAEventParameterNameCustomMethodPrefix;//自定义事件名称前缀 | 
 |  |  |  | 
 |  |  |  | 
 |  |  | extern NSString* WAEventParameterNameApplePayLogCustomPrefix;//苹果支付自定义事件名称前缀 | 
 |  |  |  | 
 |  |  |  | 
 |  |  | extern NSString *const WAEventLaunch; | 
 |  |  | extern NSString *const WAEventStartUp; | 
 |  |  | extern NSString *const WAEventCompleteRegistration; | 
 |  |  | 
 |  |  | extern NSString *const WAEventPostThirdPartyLogin; // 进行第三方渠道登录之后 | 
 |  |  | extern NSString *const WAEventPostWingLogin; // 进行WING平台登录之后 | 
 |  |  |  | 
 |  |  |  | 
 |  |  | //苹果支付事件上报打点事件名20200302 | 
 |  |  | extern NSString *const WAEventForHandTransaction;               //手动消耗事件 | 
 |  |  | extern NSString *const WAEventForApplePayStateChanged;         //苹果支付状态改变 | 
 |  |  | extern NSString *const WAEventForOrderCheckNoTransaction;    //下单检测未消耗事件 | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | extern NSString *const WAEventParameterNameRegistrationMethod; | 
 |  |  |  | 
 |  |  | extern NSString *const WAEventParameterNameCurrencyType; | 
 |  |  | 
 |  |  | extern NSString *const WAEventParameterNameStartTime; | 
 |  |  | extern NSString *const WAEventParameterNameNowTime; | 
 |  |  | extern NSString *const WAEventParameterNameSessionType; | 
 |  |  | extern NSString *const WAEventParameterUnAdult; | 
 |  |  |  | 
 |  |  | extern NSString *const WAEventParameterNameTransactionId; | 
 |  |  | extern NSString *const WAEventParameterNamePaymentType; | 
 |  |  | extern NSString *const WAEventParameterNameCurrencyAmount; | 
 |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  |  @discussion WATrackProxy 该类用来做数据收集 | 
 |  |  |  - - - | 
 
 |  |  | 
 |  |  | #import "WAAccount.h" | 
 |  |  | #import "WAUserCenterResult.h" | 
 |  |  | #import "WAAppUser.h" | 
 |  |  | #import "WACertificationInfo.h" | 
 |  |  | /*! | 
 |  |  |  @discussion 登录协议 | 
 |  |  |  - - - | 
 |  |  | 
 |  |  | -(void)loginViewDidCancel:(WALoginResult*)result; | 
 |  |  | @end | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  |  @discussion 账号管理界面协议 | 
 |  |  |  - - - | 
 |  |  | 
 |  |  |  @param result 切换账户的账户信息 | 
 |  |  |  */ | 
 |  |  | -(void)switchAcctDidCompleteWithResult:(WALoginResult*)result; | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  | @abstract 绑定账号回调接口 | 
 |  |  | @param bindResult 绑定账号信息 | 
 |  |  | */ | 
 |  |  | -(void)bindAccountDidCompleteWithResult:(WABindingResult*)bindResult; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  | @abstract 实名认证成功回调接口 | 
 |  |  | @param certificationInfo 实名认证信息 | 
 |  |  | */ | 
 |  |  | -(void)realNameAuthtDidCompleteWithResult:(WACertificationInfo*)certificationInfo; | 
 |  |  |  | 
 |  |  | @end | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  | 
 |  |  |  */ | 
 |  |  | +(void)openAccountManager:(id<WAAcctManagerDelegate>)delegate; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | /*! | 
 |  |  | @abstract 调用此方法打开账户管理界面 | 
 |  |  | @param delegate 委托 | 
 |  |  | */ | 
 |  |  | +(void)openAccountCenter:(id<WAAcctManagerDelegate>)delegate; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | +(BOOL)isBoundPlatformAccount; | 
 |  |  | /*! | 
 |  |  |  @abstract 获取账户信息 | 
 |  |  |  @param platform 平台 | 
 |  |  | 
 |  |  |  @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 |