Blame view

ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h 2.35 KB
23a302b86   alexYang   GameSDK 的iOS分支提交,...
1
2
3
  
  #import <Foundation/Foundation.h>
  #import "LSGAccount.h"
23a302b86   alexYang   GameSDK 的iOS分支提交,...
4
5
6
  
  
  typedef void (^LSGLoginSuccBlock)(NSString *userId, NSString *sessionKey, LSGAccountType type);
23a302b86   alexYang   GameSDK 的iOS分支提交,...
7
8
9
  typedef void (^LSGDismissBlock)(void);
  
  static BOOL isDisableFB = NO;
44e1460f1   alexYang   line login add,登录...
10
  static BOOL isDisableLine = NO;
b27a5c1eb   alexYang   Google login
11
  static BOOL isDisableGoogle = NO;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
12
  static BOOL hiddenLogo = NO;
6e6b962fb   alexYang   SDK界面更新
13
14
  //默认横屏
  static BOOL DeviceOrientationIsHorizontal = YES;
6cbde3a59   alexYang   重置密码提示修改
15
  static NSString *version = @"3.6.5";
23a302b86   alexYang   GameSDK 的iOS分支提交,...
16
17
18
19
20
  
  @interface LetsGameAPI : NSObject<UIApplicationDelegate>
  
  @property (nonatomic, strong) NSString *appId;
  @property (nonatomic, strong) NSString *appKey;
1bfd8354c   alexYang   参数from和channelId添...
21
  @property(nonatomic, strong) NSString *channelId;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
22
23
  @property (nonatomic, copy) LSGLoginSuccBlock succBlock;
  @property (nonatomic, copy) LSGDismissBlock dismissBlock;
971c75d1b   alexYang   v3.4.6
24
  @property (nonatomic, assign) int isDebug;
e29d673a0   alexYang   wechat获取wechatId时...
25
  @property (nonatomic, assign) int decideWebTo;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
26
27
28
29
30
  //@property(nonatomic,strong) NSString *version;
  
  + (instancetype)instance;
  
  -(NSString*)version;
050bf6331   alexYang   1、新增sdk登录初始化接口 2、...
31
  - (void)SDKLoginInitofResponse:(void (^)(BOOL result))response;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
32
33
34
35
  - (void)showLoginView;
  - (void)showLoginViewInView:(UIView *)view;
  
  +(void)disableFB:(BOOL)isDisable;
b27a5c1eb   alexYang   Google login
36
  +(void)disableGoogle:(BOOL)isDisable;
44e1460f1   alexYang   line login add,登录...
37
  +(void)disableLine:(BOOL)isDissable;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
38
  +(BOOL)isFBDisable;
b27a5c1eb   alexYang   Google login
39
  +(BOOL)isGoogleDisable;
44e1460f1   alexYang   line login add,登录...
40
  +(BOOL)isLineDisable;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
41
42
  +(void)hiddenLogo:(BOOL)isHidden;
  +(BOOL)isHiddenLogo;
6e6b962fb   alexYang   SDK界面更新
43
44
  +(void)DeviceOrientationIsHorizontal:(BOOL)isDisable;
  +(BOOL)DeviceOrientationIsHorizontal;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
45
46
47
48
49
50
51
  
  - (void)logout;
  
  - (void)hide;
  
  - (BOOL)handleOpenURL:(NSURL *)url
      sourceApplication:(NSString *)sourceApplication;
f8353174d   alexYang   1、第三方支付中含有pay的字段修...
52
  -(void)pWeb:(NSDictionary*) pWebInfo handleCallBack:(void (^)()) pWebAccomplistCallback;
6e191f658   alexYang   iap 支付回调增加失败回调
53
54
  
  -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
55
56
  
  -(void)registeIapObserver;
971c75d1b   alexYang   v3.4.6
57
  -(void)decideIsDebug:(int)isDebug;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
58

e29d673a0   alexYang   wechat获取wechatId时...
59
  -(void)decideWebToVersion:(int)decideWebTo;
bf74f0bb6   alexYang   v3.3.19 FB 自动登录
60
61
62
  
  -(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success
                          failure:(void (^)(NSString *errorString))failure;
635b66127   alexYang   1、自动登录部分修改,将自动登录部...
63
64
65
66
67
  
  //获取是否展示安全页面,YES展示侵权页面,NO展示非侵权页面
  -(void)gameObtainSafeSetInfoWithAppId:(NSString *)appId
                              ChannelId:(NSString *)channelId
                             handleCallBack:(void (^)(BOOL resultStatus))callBack;
d7e540e1e   alexYang   1、关闭页面接口增加2、关于游客登...
68
69
  //关闭登录页面
  -(void)hidenLogInView;
23a302b86   alexYang   GameSDK 的iOS分支提交,...
70
  @end