lpw
2024-01-12 1cbc13b30f3b999e48b5991820811c023ba0b1e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
//  WACore.h
//  WASdkIntfUI
//
//  Created by wuyx on 16/3/1.
//  Copyright © 2016年 GHW-T-01. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class WAParamConfigObj;
@interface WACore : NSObject
-(void)initialize;
-(void)initWithCompletionHandler:(void (^_Nullable)())completionHandler;
-(void)initAppEventTracker;
-(void)setSDKType:(NSInteger)sdkType;
-(NSInteger)getSDKType;
-(BOOL)isDebugMode;
-(void)setDebugMode:(BOOL)isDebugMode;
-(BOOL)displayLog;
-(void)setClientId:(NSString*)clientId;
-(NSString*)getUserId;
-(void)setServerId:(NSString *)serverId;
-(NSString*)getGameUserId;
-(NSString*)getServerId;
-(void)setLevel:(int)level;
-(int)getLevel;
-(void)setGameUserId:(NSString*)gameUserId;
-(void)setNickName:(NSString*)nikeName;
-(void)setPuserName:(NSString *)puserName;
-(void)setUserFlag:(NSString*)userFlag;
-(NSString*)getPuserName;
-(NSString*)getNickName;
-(NSString*)getUserFlag;
-(void)addLogWithString:(NSString*)string;
-(void)addLogWithoutBtn:(NSString*)string;
-(NSString*)getSdkVersion;
-(NSString*)getWaSdkServerUrl;
-(NSString*)getAppKey;
-(NSString*)getPublishChannel;
-(NSString*)getChannel;
-(NSString*)getAppID;
-(NSString*)getOS;
-(NSString*)getSdkVer;
-(NSString*)getSdkId;
-(NSString*)getSessionId;
-(NSString *)getPrivacyUrl;
-(NSString *)getPrivacyUpdateTime;
-(void)showPrivacyUI:(void(^)(BOOL isClose))handler;
-(void)showPrivacyUITitle:(NSString*)title url:(NSString*)url handle:(void(^)(BOOL isClose))handler;
 
-(NSString*)getDeepLinkWithUrl:(NSURL*)url;
-(WAParamConfigObj*)getParamConfig;
-(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
-(void)addEventContentWithString:(NSString*)string;
-(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
/** 检测设备是否越狱 */
- (BOOL)isJailBreak;
 
 
@end