FBSDKCrashShield.h 941 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the license found in the
  6. * LICENSE file in the root directory of this source tree.
  7. */
  8. #import <Foundation/Foundation.h>
  9. @protocol FBSDKFeatureDisabling;
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Internal type exposed to facilitate transition to Swift.
  13. API Subject to change or removal without warning. Do not use.
  14. @warning INTERNAL - DO NOT USE
  15. */
  16. NS_SWIFT_NAME(_CrashShield)
  17. @interface FBSDKCrashShield : NSObject
  18. + (void)analyze:(NSArray<NSDictionary<NSString *, id> *> *)crashLogs;
  19. + (void)configureWithSettings:(id<FBSDKSettings>)settings
  20. graphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
  21. featureChecking:(id<FBSDKFeatureChecking, FBSDKFeatureDisabling>)featureChecking
  22. NS_SWIFT_NAME(configure(settings:graphRequestFactory:featureChecking:));
  23. @end
  24. NS_ASSUME_NONNULL_END