| | |
| | | // |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | @interface WAITrack : NSObject |
| | | @property(strong,nonatomic)NSMutableDictionary *params; |
| | | @property(nonatomic)double value; |
| | | @property(copy,nonatomic)NSDecimalNumber* numValue; |
| | | @property(copy,nonatomic)NSString* eventName; |
| | | |
| | | -(void)initTracker; |
| | | -(void)trackWithEventName:(NSString *const)eventName valueToSum:(double)value params:(NSDictionary*)params; |
| | | -(void)trackWithEventName:(NSString *const)eventName numValueToSum:(NSDecimalNumber*)numValue params:(NSDictionary*)params; |
| | | -(void)autoTriggerAfterPayment:(BOOL)isAuto; |
| | | -(BOOL)getAutoTriggerAfterPayment; |
| | | -(NSString*)getCollectionInfo; |
| | |
| | | -(void)purchase; |
| | | /** |
| | | * 在线时长 |
| | | * @param type 0->开启,1->关闭 |
| | | */ |
| | | -(void)heartbeat; |
| | | -(void)session:(int)type; |
| | | /** |
| | | * 等级或分数 |
| | | */ |
| | |
| | | */ |
| | | -(void)userImport; |
| | | /** |
| | | * 获取登录方式之前 |
| | | */ |
| | | -(void)initiatedLoginWay; |
| | | /** |
| | | * 获取登录方式之后 |
| | | */ |
| | | -(void)postLoginWay; |
| | | /** |
| | | * 进行登录之前 |
| | | */ |
| | | -(void)initiatedPlatformLogin; |
| | | /** |
| | | * 进行第三方渠道登录之后 |
| | | */ |
| | | -(void)postThirdPartyLogin; |
| | | /** |
| | | * 进行WING平台登录之后 |
| | | */ |
| | | -(void)postWingLogin; |
| | | |
| | | /** |
| | | * 弹出登录框时发送 |
| | | */ |
| | | -(void)postShowLoginWindow; |
| | | /** |
| | | * 自定义事件 |
| | | */ |
| | | -(void)custom; |
| | | |
| | | - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler; |
| | | |
| | | - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation; |
| | | |
| | | - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options; |
| | | |
| | | @end |