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