FBSDKCrashObserver.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #import <FBSDKCoreKit_Basics/FBSDKCoreKit_Basics.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @protocol FBSDKFeatureChecking;
  12. @protocol FBSDKGraphRequestFactory;
  13. @protocol FBSDKSettings;
  14. /**
  15. Internal type exposed to facilitate transition to Swift.
  16. API Subject to change or removal without warning. Do not use.
  17. @warning INTERNAL - DO NOT USE
  18. */
  19. NS_SWIFT_NAME(_CrashObserver)
  20. @interface FBSDKCrashObserver : NSObject <FBSDKCrashObserving>
  21. - (instancetype)init NS_UNAVAILABLE;
  22. + (instancetype)new NS_UNAVAILABLE;
  23. // UNCRUSTIFY_FORMAT_OFF
  24. - (instancetype)initWithFeatureChecker:(id<FBSDKFeatureChecking>)featureChecker
  25. graphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
  26. settings:(id<FBSDKSettings>)settings
  27. crashHandler:(id<FBSDKCrashHandler>)crashHandler
  28. NS_SWIFT_NAME(init(featureChecker:graphRequestFactory:settings:crashHandler:));
  29. // UNCRUSTIFY_FORMAT_ON
  30. @end
  31. NS_ASSUME_NONNULL_END