ATBehaviorLogger.h 771 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // ATBehaviorLogger.h
  3. // ATrack
  4. //
  5. // Created by 卡迩 on 2018/5/3.
  6. // Copyright © 2018年 Alipay. All rights reserved.
  7. //
  8. #import "ATLogger.h"
  9. #import "AntBehavior.h"
  10. /**
  11. * 行为Logger
  12. */
  13. @interface ATBehaviorLogger : ATLogger
  14. /**
  15. * 点击埋点
  16. * @param b 行为埋点参数对象 @see \c AntBehavior
  17. */
  18. - (void)click:(AntBehavior *)b;
  19. /**
  20. * 曝光埋点
  21. * @param b 行为埋点参数对象 @see \c AntBehavior
  22. */
  23. - (void)exposure:(AntBehavior *)b;
  24. /**
  25. * 通用行为事件
  26. * @param b 行为埋点参数对象 @see \c AntBehavior
  27. */
  28. - (void)event:(AntBehavior *)b;
  29. @end
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33. /**
  34. * 获取行为Logger实例
  35. */
  36. ATBehaviorLogger * ATBehaviorLoggerGet();
  37. #ifdef __cplusplus
  38. }
  39. #endif