| | |
| | | // |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | @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)userImport; |
| | | /** |
| | | * 获取登录方式之前 |
| | | */ |
| | | -(void)initiatedLoginWay; |
| | | /** |
| | | * 获取登录方式之后 |
| | | */ |
| | | -(void)postLoginWay; |
| | | /** |
| | | * 进行登录之前 |
| | | */ |
| | | -(void)initiatedPlatformLogin; |
| | | /** |
| | | * 进行第三方渠道登录之后 |
| | | */ |
| | | -(void)postThirdPartyLogin; |
| | | /** |
| | | * 进行WING平台登录之后 |
| | | */ |
| | | -(void)postWingLogin; |
| | | |
| | | /** |
| | | * 弹出登录框时发送 |
| | | */ |
| | | -(void)postShowLoginWindow; |
| | | |
| | | |
| | | |
| | | /** |
| | | * cmp结果 |
| | | */ |
| | | -(void)postCMPResult; |
| | | /** |
| | | * 自定义事件 |
| | | */ |
| | | -(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; |
| | | NS_ASSUME_NONNULL_END |
| | | @end |