Wuyx
2017-01-04 7af250e7c0af174e51c88989f286706b0fd87706
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>
11 @interface WACore : NSObject
12 -(void)initialize;
13 -(void)initAppEventTracker;
14 -(void)setSDKType:(NSInteger)sdkType;
15 -(NSInteger)getSDKType;
16 -(BOOL)isDebugMode;
17 -(void)setDebugMode:(BOOL)isDebugMode;
18 -(BOOL)displayLog;
40ff0c 19 -(void)setClientId:(NSString*)clientId;
d1f6ab 20 -(NSString*)getUserId;
H 21 -(void)setServerId:(NSString *)serverId;
22 -(NSString*)getGameUserId;
23 -(NSString*)getServerId;
24 -(void)setLevel:(int)level;
25 -(int)getLevel;
26 -(void)setGameUserId:(NSString*)gameUserId;
27 -(void)addLogWithString:(NSString*)string;
28 -(void)addLogWithoutBtn:(NSString*)string;
29 -(NSString*)getSdkVersion;
30 -(NSString*)getWaSdkServerUrl;
31 -(NSString*)getAppKey;
32 -(NSString*)getPublishChannel;
33 -(NSString*)getChannel;
34 -(NSString*)getAppID;
35 -(NSString*)getOS;
36 -(NSString*)getSdkVer;
37 -(NSString*)getSdkId;
38 -(NSString*)getSessionId;
39 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
40 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
41 -(void)addEventContentWithString:(NSString*)string;
42 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
43 @end