lpw
2021-02-02 319c91dc5faa80969bf4f417e3fc8c7a9095e2c9
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;
45b3f1 28 -(void)setNickName:(NSString*)nikeName;
H 29 -(void)setPuserName:(NSString *)puserName;
30 -(void)setUserFlag:(NSString*)userFlag;
31 -(NSString*)getPuserName;
32 -(NSString*)getNickName;
33 -(NSString*)getUserFlag;
d1f6ab 34 -(void)addLogWithString:(NSString*)string;
H 35 -(void)addLogWithoutBtn:(NSString*)string;
36 -(NSString*)getSdkVersion;
37 -(NSString*)getWaSdkServerUrl;
38 -(NSString*)getAppKey;
39 -(NSString*)getPublishChannel;
40 -(NSString*)getChannel;
41 -(NSString*)getAppID;
42 -(NSString*)getOS;
43 -(NSString*)getSdkVer;
44 -(NSString*)getSdkId;
45 -(NSString*)getSessionId;
45b3f1 46 -(NSString *)getPrivacyUrl;
H 47 -(NSString *)getPrivacyUpdateTime;
48 -(void)showPrivacyUI:(void(^)(BOOL isClose))handler;
d1f6ab 49 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
d0b2df 50 -(WAParamConfigObj*)getParamConfig;
d1f6ab 51 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
H 52 -(void)addEventContentWithString:(NSString*)string;
53 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
45b3f1 54 /** 检测设备是否越狱 */
H 55 - (BOOL)isJailBreak;
28ea02 56
L 57
d1f6ab 58 @end