UMAPMConfig.h 895 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // UMAPMConfig.h
  3. // UMAPM
  4. //
  5. // Created by zhangjunhua on 2021/6/21.
  6. // Copyright © 2021 wangkai. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface UMAPMConfig : NSObject<NSCopying>
  11. +(UMAPMConfig*)defaultConfig;
  12. /**
  13. * crash&卡顿监控开关,默认开启
  14. */
  15. @property (nonatomic,assign) BOOL crashAndBlockMonitorEnable;
  16. /**
  17. * 启动模块监控开关,默认开启
  18. */
  19. @property (nonatomic,assign) BOOL launchMonitorEnable;
  20. /**
  21. * 内存模块监控开关,默认开启
  22. */
  23. @property (nonatomic,assign) BOOL memMonitorEnable;
  24. /**
  25. * OOM模块监控开关,默认开启
  26. */
  27. @property (nonatomic,assign) BOOL oomMonitorEnable;
  28. /**
  29. * 网络模块监控开关,默认开启
  30. */
  31. @property (nonatomic,assign) BOOL networkEnable;
  32. /**
  33. *集成测试。
  34. */
  35. + (BOOL)handleUrl:(NSURL *)url;
  36. @end
  37. NS_ASSUME_NONNULL_END