CSJADViewTrackInfo.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. //
  2. // CSJADViewTrackInfo.h
  3. // CSJAdSDK
  4. //
  5. // Created by bytedance on 2021/11/1.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface CSJADViewTrackInfo : NSObject
  10. @property (nonatomic, assign) NSTimeInterval viewDidAllVisibleTime;
  11. @property (nonatomic, strong, nullable) NSDate *didEnterBackgroundDate;
  12. @property (nonatomic, strong, nullable) NSDate *willEnterForegroundDate;
  13. //海外v4200 补充展示相关数据上报 https://bytedance.feishu.cn/docs/doccnjUZHJyu0XqW5WVF66TMUGf
  14. @property (nonatomic, assign) NSTimeInterval showStartTime;//首次展示的时间
  15. @property (nonatomic, assign) NSTimeInterval showFirstQuartileTime;//展示到达25%的时间
  16. @property (nonatomic, assign) NSTimeInterval showMidTime;//展示到达50%的时间 单位ms
  17. @property (nonatomic, assign) NSTimeInterval showThirdQuartileTime;//展示到达75%的时间
  18. @property (nonatomic, assign) NSTimeInterval showFullTime;//展示到达100%的时间
  19. - (nullable NSDictionary *)showTimeDict;
  20. - (NSInteger)duration;
  21. @end
  22. NS_ASSUME_NONNULL_END