commit | author | age
|
d1f6ab
|
1 |
// |
H |
2 |
// WACore.h |
|
3 |
// WASdkIntfUI |
|
4 |
// |
|
5 |
// Created by wuyx on 16/3/1. |
|
6 |
// Copyright © 2016年 GHW-T-01. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
#import <UIKit/UIKit.h> |
d0b2df
|
11 |
@class WAParamConfigObj; |
d1f6ab
|
12 |
@interface WACore : NSObject |
H |
13 |
-(void)initialize; |
|
14 |
-(void)initAppEventTracker; |
|
15 |
-(void)setSDKType:(NSInteger)sdkType; |
|
16 |
-(NSInteger)getSDKType; |
|
17 |
-(BOOL)isDebugMode; |
|
18 |
-(void)setDebugMode:(BOOL)isDebugMode; |
|
19 |
-(BOOL)displayLog; |
40ff0c
|
20 |
-(void)setClientId:(NSString*)clientId; |
d1f6ab
|
21 |
-(NSString*)getUserId; |
H |
22 |
-(void)setServerId:(NSString *)serverId; |
|
23 |
-(NSString*)getGameUserId; |
|
24 |
-(NSString*)getServerId; |
|
25 |
-(void)setLevel:(int)level; |
|
26 |
-(int)getLevel; |
|
27 |
-(void)setGameUserId:(NSString*)gameUserId; |
45b3f1
|
28 |
-(void)setNickName:(NSString*)nikeName; |
H |
29 |
-(void)setPuserName:(NSString *)puserName; |
|
30 |
-(void)setUserFlag:(NSString*)userFlag; |
|
31 |
-(NSString*)getPuserName; |
|
32 |
-(NSString*)getNickName; |
|
33 |
-(NSString*)getUserFlag; |
d1f6ab
|
34 |
-(void)addLogWithString:(NSString*)string; |
H |
35 |
-(void)addLogWithoutBtn:(NSString*)string; |
|
36 |
-(NSString*)getSdkVersion; |
|
37 |
-(NSString*)getWaSdkServerUrl; |
|
38 |
-(NSString*)getAppKey; |
|
39 |
-(NSString*)getPublishChannel; |
|
40 |
-(NSString*)getChannel; |
|
41 |
-(NSString*)getAppID; |
|
42 |
-(NSString*)getOS; |
|
43 |
-(NSString*)getSdkVer; |
|
44 |
-(NSString*)getSdkId; |
|
45 |
-(NSString*)getSessionId; |
45b3f1
|
46 |
-(NSString *)getPrivacyUrl; |
H |
47 |
-(NSString *)getPrivacyUpdateTime; |
|
48 |
-(void)showPrivacyUI:(void(^)(BOOL isClose))handler; |
3a96ff
|
49 |
-(void)showPrivacyUITitle:(NSString*)title url:(NSString*)url handle:(void(^)(BOOL isClose))handler; |
L |
50 |
|
d1f6ab
|
51 |
-(NSString*)getDeepLinkWithUrl:(NSURL*)url; |
d0b2df
|
52 |
-(WAParamConfigObj*)getParamConfig; |
d1f6ab
|
53 |
-(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler; |
H |
54 |
-(void)addEventContentWithString:(NSString*)string; |
|
55 |
-(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color; |
45b3f1
|
56 |
/** 检测设备是否越狱 */ |
H |
57 |
- (BOOL)isJailBreak; |
28ea02
|
58 |
|
L |
59 |
|
d1f6ab
|
60 |
@end |