admin
2017-12-19 8b0e10c2bfee1db6408cbd0deee0a29dafb5dc90
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;
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;
d0b2df 41 -(WAParamConfigObj*)getParamConfig;
d1f6ab 42 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
H 43 -(void)addEventContentWithString:(NSString*)string;
44 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
45 @end