hank
2018-04-18 6988c5a381f9516ce59920b36300bfed2c008064
commit | author | age
dcdc07 1 //
W 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>
cf3302 11 @class WAParamConfigObj;
dcdc07 12 @interface WACore : NSObject
W 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;
962836 20 -(void)setClientId:(NSString*)clientId;
dcdc07 21 -(NSString*)getUserId;
W 22 -(void)setServerId:(NSString *)serverId;
23 -(NSString*)getGameUserId;
24 -(NSString*)getServerId;
25 -(void)setLevel:(int)level;
26 -(int)getLevel;
27 -(void)setGameUserId:(NSString*)gameUserId;
6988c5 28 -(void)setNickName:(NSString*)nikeName;
H 29 -(void)setPuserName:(NSString *)puserName;
30 -(NSString*)getPuserName;
31 -(NSString*)getNickName;
dcdc07 32 -(void)addLogWithString:(NSString*)string;
W 33 -(void)addLogWithoutBtn:(NSString*)string;
34 -(NSString*)getSdkVersion;
35 -(NSString*)getWaSdkServerUrl;
36 -(NSString*)getAppKey;
37 -(NSString*)getPublishChannel;
38 -(NSString*)getChannel;
39 -(NSString*)getAppID;
40 -(NSString*)getOS;
41 -(NSString*)getSdkVer;
42 -(NSString*)getSdkId;
43 -(NSString*)getSessionId;
44 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
cf3302 45 -(WAParamConfigObj*)getParamConfig;
dcdc07 46 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
W 47 -(void)addEventContentWithString:(NSString*)string;
48 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
aea85e 49 /** 检测设备是否越狱 */
H 50 - (BOOL)isJailBreak;
dcdc07 51 @end