hank
2017-06-14 dcbf70902c8986e8271fd60d25b114e103d8e7f4
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;
28 -(void)addLogWithString:(NSString*)string;
29 -(void)addLogWithoutBtn:(NSString*)string;
30 -(NSString*)getSdkVersion;
31 -(NSString*)getWaSdkServerUrl;
32 -(NSString*)getAppKey;
33 -(NSString*)getPublishChannel;
34 -(NSString*)getChannel;
35 -(NSString*)getAppID;
36 -(NSString*)getOS;
37 -(NSString*)getSdkVer;
38 -(NSString*)getSdkId;
39 -(NSString*)getSessionId;
40 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
cf3302 41 -(WAParamConfigObj*)getParamConfig;
dcdc07 42 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
W 43 -(void)addEventContentWithString:(NSString*)string;
44 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
45 @end