APMonitorPointManager.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // APMonitorPointMrg.h
  3. // AlipayPortal
  4. //
  5. // Created by tudou on 11-12-19.
  6. // Copyright (c) 2011年 aliPay. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. //FIXME:埋点的老接口,不要在这个类里面再添加方法
  10. @interface APMonitorPointManager : NSObject
  11. @property (atomic, strong) NSString *userID;
  12. @property (nonatomic, assign) BOOL hasAuthenticated;
  13. + (APMonitorPointManager*)sharedInstance;
  14. /**
  15. * 注意:新的打点不要调用此接口,为保持兼容以前的代码保留
  16. * 8.3之前的老的页面继续使用此接口,8.3新开的页面使用writeLogWithActionId:..这个接口
  17. *
  18. * 新的接口文件是APRemoteLogger.h
  19. *
  20. * @param firstLog 字典初始化参数
  21. **/
  22. -(void)addLogsAndKeys:(NSString *)firstLog, ... /*__deprecated*/;
  23. /**
  24. * 设置用户的id跟认证信息
  25. * @param userId,登录用户的用户id
  26. */
  27. - (void)setUserId:(NSString *)userId;
  28. /**
  29. * 设置用户的id跟认证信息
  30. * @@param authenticated,标志用户是否已经认证
  31. */
  32. - (void)setAuthenticated:(BOOL)authenticated;
  33. @end