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