lpw
2022-02-15 79188b8f776565da8b5ae59826e9e08fe28630aa
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;
6988c5 28 -(void)setNickName:(NSString*)nikeName;
H 29 -(void)setPuserName:(NSString *)puserName;
ff1ee0 30 -(void)setUserFlag:(NSString*)userFlag;
6988c5 31 -(NSString*)getPuserName;
H 32 -(NSString*)getNickName;
ff1ee0 33 -(NSString*)getUserFlag;
dcdc07 34 -(void)addLogWithString:(NSString*)string;
W 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;
34827e 46 -(NSString *)getPrivacyUrl;
H 47 -(NSString *)getPrivacyUpdateTime;
48 -(void)showPrivacyUI:(void(^)(BOOL isClose))handler;
79188b 49 -(void)showPrivacyUITitle:(NSString*)title url:(NSString*)url handle:(void(^)(BOOL isClose))handler;
L 50
dcdc07 51 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
cf3302 52 -(WAParamConfigObj*)getParamConfig;
dcdc07 53 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
W 54 -(void)addEventContentWithString:(NSString*)string;
55 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
aea85e 56 /** 检测设备是否越狱 */
H 57 - (BOOL)isJailBreak;
1ac090 58
L 59
dcdc07 60 @end