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; |
|
19 |
-(NSString*)getUserId; |
|
20 |
-(void)setServerId:(NSString *)serverId; |
|
21 |
-(NSString*)getGameUserId; |
|
22 |
-(NSString*)getServerId; |
|
23 |
-(void)setLevel:(int)level; |
|
24 |
-(int)getLevel; |
|
25 |
-(void)setGameUserId:(NSString*)gameUserId; |
|
26 |
-(void)addLogWithString:(NSString*)string; |
|
27 |
-(void)addLogWithoutBtn:(NSString*)string; |
|
28 |
-(NSString*)getSdkVersion; |
|
29 |
-(NSString*)getWaSdkServerUrl; |
|
30 |
-(NSString*)getAppKey; |
|
31 |
-(NSString*)getPublishChannel; |
|
32 |
-(NSString*)getChannel; |
|
33 |
-(NSString*)getAppID; |
|
34 |
-(NSString*)getOS; |
|
35 |
-(NSString*)getSdkVer; |
|
36 |
-(NSString*)getSdkId; |
|
37 |
-(NSString*)getSessionId; |
|
38 |
-(NSString*)getDeepLinkWithUrl:(NSURL*)url; |
|
39 |
-(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler; |
|
40 |
-(void)addEventContentWithString:(NSString*)string; |
|
41 |
-(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color; |
|
42 |
@end |