lpw
2022-10-28 0ac0a6d87084f9dbbf719a37cbc249af157d5ef7
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;
0ac0a6 14 -(void)initWithCompletionHandler:(void (^_Nullable)())completionHandler;
dcdc07 15 -(void)initAppEventTracker;
W 16 -(void)setSDKType:(NSInteger)sdkType;
17 -(NSInteger)getSDKType;
18 -(BOOL)isDebugMode;
19 -(void)setDebugMode:(BOOL)isDebugMode;
20 -(BOOL)displayLog;
962836 21 -(void)setClientId:(NSString*)clientId;
dcdc07 22 -(NSString*)getUserId;
W 23 -(void)setServerId:(NSString *)serverId;
24 -(NSString*)getGameUserId;
25 -(NSString*)getServerId;
26 -(void)setLevel:(int)level;
27 -(int)getLevel;
28 -(void)setGameUserId:(NSString*)gameUserId;
6988c5 29 -(void)setNickName:(NSString*)nikeName;
H 30 -(void)setPuserName:(NSString *)puserName;
ff1ee0 31 -(void)setUserFlag:(NSString*)userFlag;
6988c5 32 -(NSString*)getPuserName;
H 33 -(NSString*)getNickName;
ff1ee0 34 -(NSString*)getUserFlag;
dcdc07 35 -(void)addLogWithString:(NSString*)string;
W 36 -(void)addLogWithoutBtn:(NSString*)string;
37 -(NSString*)getSdkVersion;
38 -(NSString*)getWaSdkServerUrl;
39 -(NSString*)getAppKey;
40 -(NSString*)getPublishChannel;
41 -(NSString*)getChannel;
42 -(NSString*)getAppID;
43 -(NSString*)getOS;
44 -(NSString*)getSdkVer;
45 -(NSString*)getSdkId;
46 -(NSString*)getSessionId;
34827e 47 -(NSString *)getPrivacyUrl;
H 48 -(NSString *)getPrivacyUpdateTime;
49 -(void)showPrivacyUI:(void(^)(BOOL isClose))handler;
79188b 50 -(void)showPrivacyUITitle:(NSString*)title url:(NSString*)url handle:(void(^)(BOOL isClose))handler;
L 51
dcdc07 52 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
cf3302 53 -(WAParamConfigObj*)getParamConfig;
dcdc07 54 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
W 55 -(void)addEventContentWithString:(NSString*)string;
56 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
aea85e 57 /** 检测设备是否越狱 */
H 58 - (BOOL)isJailBreak;
1ac090 59
L 60
dcdc07 61 @end