lpw
2024-09-25 b967348d7f23fac77c85a3164b696eab09d834a8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 * All rights reserved.
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 */
 
#import <Foundation/Foundation.h>
 
NS_ASSUME_NONNULL_BEGIN
 
@protocol FBSDKFeatureChecking;
@protocol FBSDKSettings;
@protocol FBSDKCrashObserving;
@protocol FBSDKErrorReporting;
@protocol FBSDKCrashHandler;
 
/**
 Internal type exposed to facilitate transition to Swift.
 API Subject to change or removal without warning. Do not use.
 
 @warning INTERNAL - DO NOT USE
 */
NS_SWIFT_NAME(_InstrumentManager)
@interface FBSDKInstrumentManager : NSObject
 
@property (class, nonatomic, readonly) FBSDKInstrumentManager *shared;
 
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
 
// UNCRUSTIFY_FORMAT_OFF
- (void)configureWithFeatureChecker:(id<FBSDKFeatureChecking>)featureChecker
                           settings:(id<FBSDKSettings>)settings
                      crashObserver:(id<FBSDKCrashObserving>)crashObserver
                      errorReporter:(id<FBSDKErrorReporting>)errorReporter
                       crashHandler:(id<FBSDKCrashHandler>)crashHandler
NS_SWIFT_NAME(configure(featureChecker:settings:crashObserver:errorReporter:crashHandler:));
// UNCRUSTIFY_FORMAT_ON
 
- (void)enable;
 
@end
 
NS_ASSUME_NONNULL_END