commit | author | age
|
dcdc07
|
1 |
// |
W |
2 |
// WAEvent.h |
|
3 |
// WASdkIntfUI |
|
4 |
// |
|
5 |
// Created by wuyx on 16/4/14. |
|
6 |
// Copyright © 2016年 GHW-T-01. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
/*! |
|
11 |
@discussion WAEvent 该类用来做数据收集 |
|
12 |
- - - |
|
13 |
*/ |
|
14 |
@interface WAEvent : NSObject |
|
15 |
/*! |
|
16 |
@abstract 默认事件名称 |
|
17 |
*/ |
|
18 |
@property(nonatomic,strong)NSString* defaultEventName; |
|
19 |
/*! |
|
20 |
@abstract 默认累加值 |
|
21 |
*/ |
|
22 |
@property(nonatomic)double defaultValue; |
|
23 |
/*! |
|
24 |
@abstract 默认参数字典 |
|
25 |
*/ |
|
26 |
@property(nonatomic,strong)NSDictionary* defaultParamValues; |
|
27 |
/*! |
|
28 |
@abstract 数据收集渠道开关 |
|
29 |
*/ |
|
30 |
@property(nonatomic,strong)NSDictionary* channelSwitcherDict; |
|
31 |
/*! |
|
32 |
@abstract 各个渠道事件名称 |
|
33 |
*/ |
|
34 |
@property(nonatomic,strong)NSDictionary* eventNameDict; |
|
35 |
/*! |
|
36 |
@abstract 各个渠道累加值 |
|
37 |
*/ |
|
38 |
@property(nonatomic,strong)NSDictionary* valueDict; |
|
39 |
/*! |
|
40 |
@abstract 各个渠道参数字典 |
|
41 |
*/ |
|
42 |
@property(nonatomic,strong)NSDictionary* paramValuesDict; |
|
43 |
/*! |
|
44 |
@discussion 构建一个WAIEvent实例,调用该方法可以将数据发送到各个渠道。 |
|
45 |
*/ |
|
46 |
-(void)trackEvent; |
|
47 |
@end |