lpw
2023-07-20 80f7cc0c18ce7e590a4c14cd1011a82b296770f5
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 @protocol FBSDKAEMReporter;
12 @protocol FBSDKAppEventsUtility;
13 @protocol FBSDKCrashHandler;
14 @protocol FBSDKEventLogging;
15 @protocol FBSDKFeatureDisabling;
16 @protocol FBSDKSwizzling;
17
18 NS_ASSUME_NONNULL_BEGIN
19
20 /**
21  Internal Type exposed to facilitate transition to Swift.
22  API Subject to change or removal without warning. Do not use.
23
24  @warning INTERNAL - DO NOT USE
25  */
26 NS_SWIFT_NAME(_AutoSetup)
27 @protocol FBSDKAutoSetup
28
29 - (void)configureWithSwizzler:(nonnull Class<FBSDKSwizzling>)swizzler
30                   aemReporter:(nonnull Class<FBSDKAEMReporter>)aemReporter
31                   eventLogger:(nonnull id<FBSDKEventLogging>)eventLogger
32                  crashHandler:(nonnull id<FBSDKCrashHandler>)crashHandler
33                featureChecker:(nonnull id<FBSDKFeatureDisabling>)featureChecker
34              appEventsUtility:(nonnull id<FBSDKAppEventsUtility>)appEventsUtility
35 NS_SWIFT_NAME(configure(swizzler:reporter:eventLogger:crashHandler:featureChecker:appEventsUtility:));
36
37 - (void)enableAutoSetup;
38
39 - (void)logAutoSetupStatus:(BOOL)optin
40                     source:(NSString *)source;
41
42 @end
43
44 NS_ASSUME_NONNULL_END