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/FBSDKAutoSetup.h> |
|
12 |
|
|
13 |
@protocol FBSDKSwizzling; |
|
14 |
@protocol FBSDKAEMReporter; |
|
15 |
@protocol FBSDKAutoSetup; |
|
16 |
|
|
17 |
NS_ASSUME_NONNULL_BEGIN |
|
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(_AEMManager) |
|
26 |
@interface FBSDKAEMManager : NSObject <FBSDKAutoSetup> |
|
27 |
|
|
28 |
+ (instancetype)new NS_UNAVAILABLE; |
|
29 |
- (instancetype)init NS_UNAVAILABLE; |
|
30 |
|
|
31 |
/// The shared instance of AEMManager. |
|
32 |
@property (class, nonatomic, readonly, strong) FBSDKAEMManager *shared; |
|
33 |
|
|
34 |
- (void)configureWithSwizzler:(nonnull Class<FBSDKSwizzling>)swizzler |
|
35 |
aemReporter:(nonnull Class<FBSDKAEMReporter>)aemReporter |
|
36 |
eventLogger:(nonnull id<FBSDKEventLogging>)eventLogger |
|
37 |
crashHandler:(nonnull id<FBSDKCrashHandler>)crashHandler |
|
38 |
featureChecker:(nonnull id<FBSDKFeatureDisabling>)featureChecker |
|
39 |
appEventsUtility:(nonnull id<FBSDKAppEventsUtility>)appEventsUtility |
|
40 |
NS_SWIFT_NAME(configure(swizzler:reporter:eventLogger:crashHandler:featureChecker:appEventsUtility:)); |
|
41 |
|
|
42 |
- (void)enableAutoSetup; |
|
43 |
|
|
44 |
- (void)logAutoSetupStatus:(BOOL)optin |
|
45 |
source:(NSString *)source; |
|
46 |
|
|
47 |
@end |
|
48 |
|
|
49 |
NS_ASSUME_NONNULL_END |