Commit 6fea5540 authored by 乔金柱's avatar 乔金柱

Merge branch 'jql/expore' into 'master'

实时精准曝光

See merge request !56
parents a27f6b25 7b4fff9d
PODS:
- GMCache (1.0.1):
- TMCache (= 2.1.0)
- GMPhobos (2.0.4):
- GMPhobos (2.0.6):
- GMCache
- MagicalRecord
- MJExtension
......@@ -28,7 +28,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
GMCache: b78d8e46db864405e91d226ce640cc80d966c611
GMPhobos: fd6f7e453e71fb7f51d8c5601e605c110ddfda92
GMPhobos: e70f78a492eca95a5c5152620deda65e49f4e216
MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755
MJExtension: 635f2c663dcb1bf76fa4b715b2570a5710aec545
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
......
......@@ -34,15 +34,14 @@ typedef NS_ENUM(NSInteger, GMViewTrackerType) {
}; // 记录方式
@interface GMExposureManager : NSObject
/// 设置上报数据地址
@property (nonatomic, copy) NSString *uploadExposureAPI;
/**
* 精准曝光数据上报模式
* 默认为 GMExpoUploadModePage
*/
@property (nonatomic, assign) GMExpoUploadMode uploadMode;
/** view出现的屏幕的占比 默认0.01f */
/** view出现的屏幕的占比 默认0.5f,如果后期再次修改为0.01时 需要修改老首页曝光逻辑 */
@property (nonatomic, assign) CGFloat exposureDimThreshold;// view visble in size > exposureDimThreshold
/** 曝光最少时长 默认0.01s (目前暂未使用)*/
@property (nonatomic, assign) NSTimeInterval exposureMinDuration;// view duration > exposureMinDuration
......
......@@ -42,7 +42,7 @@
_exposurePageDictM = [NSMutableDictionary dictionary];
_exposureViewDictM = [NSMutableDictionary dictionary];
_uploadMode = GMExpoUploadModePage;
_exposureDimThreshold = 0.01f;
_exposureDimThreshold = 0.5f;
_exposureMinDuration = 0.01f;
[self addObserverMethod];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment