PNSCrashComponentFactory.h 643 B

123456789101112131415161718192021222324252627
  1. //
  2. // PNSCrashComponentFactory.h
  3. // ATAuthSDK
  4. //
  5. // Created by Vienta on 2020/2/6.
  6. // Copyright © 2020 alicom. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "PNSCrashComponentInterface.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface PNSCrashComponentFactory : NSObject
  12. /**
  13. * 目前创建crash相关类
  14. * info 数据结构如下 {@"version":@"xxxx", @"filterModules":@[xxxx,xxxx], @"appid":@"xxxxx"}
  15. * version为版本号,filterModules为过滤条件
  16. * appid:应用的标识
  17. * 以上三个参数为必传项
  18. */
  19. + (id<PNSCrashComponentInterface>)createCrashComponent:(NSDictionary *)info;
  20. @end
  21. NS_ASSUME_NONNULL_END