lpw
2023-06-14 2457d93622015b41229cd438bcde68c1bcf729c4
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;
d521fa 14 -(void)initWithCompletionHandler:(void (^_Nullable)())completionHandler;
d1f6ab 15 -(void)initAppEventTracker;
H 16 -(void)setSDKType:(NSInteger)sdkType;
17 -(NSInteger)getSDKType;
18 -(BOOL)isDebugMode;
19 -(void)setDebugMode:(BOOL)isDebugMode;
20 -(BOOL)displayLog;
40ff0c 21 -(void)setClientId:(NSString*)clientId;
d1f6ab 22 -(NSString*)getUserId;
H 23 -(void)setServerId:(NSString *)serverId;
24 -(NSString*)getGameUserId;
25 -(NSString*)getServerId;
26 -(void)setLevel:(int)level;
27 -(int)getLevel;
28 -(void)setGameUserId:(NSString*)gameUserId;
45b3f1 29 -(void)setNickName:(NSString*)nikeName;
H 30 -(void)setPuserName:(NSString *)puserName;
31 -(void)setUserFlag:(NSString*)userFlag;
32 -(NSString*)getPuserName;
33 -(NSString*)getNickName;
34 -(NSString*)getUserFlag;
d1f6ab 35 -(void)addLogWithString:(NSString*)string;
H 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;
45b3f1 47 -(NSString *)getPrivacyUrl;
H 48 -(NSString *)getPrivacyUpdateTime;
49 -(void)showPrivacyUI:(void(^)(BOOL isClose))handler;
3a96ff 50 -(void)showPrivacyUITitle:(NSString*)title url:(NSString*)url handle:(void(^)(BOOL isClose))handler;
L 51
d1f6ab 52 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
d0b2df 53 -(WAParamConfigObj*)getParamConfig;
d1f6ab 54 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
H 55 -(void)addEventContentWithString:(NSString*)string;
56 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
45b3f1 57 /** 检测设备是否越狱 */
H 58 - (BOOL)isJailBreak;
28ea02 59
L 60
d1f6ab 61 @end