lpw
2024-04-15 97fc0a41111c5a929ee8be9d6511775697ffa760
commit | author | age
e0ec42 1 /*
L 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
9 #import <Foundation/Foundation.h>
10
11 #import <FBSDKCoreKit_Basics/FBSDKCoreKit_Basics.h>
12
13 NS_ASSUME_NONNULL_BEGIN
14
15 @protocol FBSDKFeatureChecking;
16 @protocol FBSDKGraphRequestFactory;
17 @protocol FBSDKSettings;
18
19 /**
20  Internal type exposed to facilitate transition to Swift.
21  API Subject to change or removal without warning. Do not use.
22
23  @warning INTERNAL - DO NOT USE
24  */
25 NS_SWIFT_NAME(_CrashObserver)
26 @interface FBSDKCrashObserver : NSObject <FBSDKCrashObserving>
27
28 - (instancetype)init NS_UNAVAILABLE;
29 + (instancetype)new NS_UNAVAILABLE;
30
31 // UNCRUSTIFY_FORMAT_OFF
32 - (instancetype)initWithFeatureChecker:(id<FBSDKFeatureChecking>)featureChecker
33                    graphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
34                               settings:(id<FBSDKSettings>)settings
35                           crashHandler:(id<FBSDKCrashHandler>)crashHandler
36 NS_SWIFT_NAME(init(featureChecker:graphRequestFactory:settings:crashHandler:));
37 // UNCRUSTIFY_FORMAT_ON
38
39 @end
40
41 NS_ASSUME_NONNULL_END