lpw
2022-03-14 16bbc0ff237f290d85e9095b4859dc3e7885be15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
//  WASDKSingletonHandler.h
//  WASdkImplUI
//
//  Created by wuyx on 16/3/4.
//  Copyright © 2016年 GHW-T-01. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import <WASdkIntf/WASdkIntf.h>
#import <WACommon/WACommon.h>
@interface WASdkLoginSingleton : NSObject
 
//创建单例
+(instancetype)shareInstance;
//获取示例 有可能为空
+(instancetype)getInstance;
//设置当前登录结果
-(void)setCurrentLoginResult:(WALoginResult*)loginResult;
//获取当前登录结果
+(WALoginResult*)getCurrentLoginResult;
//设置当前登录是否为绑定登录
//+(void)setIsBindingLogin:(BOOL)isBinding;
 
//弹出登录界面
+(void)login:(id<WALoginViewDelegate>)delegate cacheEnabled:(BOOL)cacheEnabled;
//移除登录界面
+(void)hide;
//设置当前平台
+(void)setCurrentLoginPlatform:(NSString *)platform;
+(NSString*)getCurrentLoginPlatform;
@end