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/FBSDKAppEventsConfigurationProviding.h> |
|
12 |
|
|
13 |
typedef void (^FBSDKAppEventsConfigurationManagerBlock)(void); |
|
14 |
@protocol FBSDKDataPersisting; |
|
15 |
@protocol FBSDKSettings; |
|
16 |
@protocol FBSDKGraphRequestFactory; |
|
17 |
@protocol FBSDKGraphRequestConnectionFactory; |
|
18 |
@protocol FBSDKAppEventsConfiguration; |
|
19 |
|
|
20 |
NS_ASSUME_NONNULL_BEGIN |
|
21 |
|
|
22 |
/** |
|
23 |
Internal type exposed to facilitate transition to Swift. |
|
24 |
API Subject to change or removal without warning. Do not use. |
|
25 |
|
|
26 |
@warning INTERNAL - DO NOT USE |
|
27 |
*/ |
|
28 |
NS_SWIFT_NAME(_AppEventsConfigurationManager) |
|
29 |
@interface FBSDKAppEventsConfigurationManager : NSObject <FBSDKAppEventsConfigurationProviding> |
|
30 |
|
|
31 |
@property (class, nonatomic, readonly) FBSDKAppEventsConfigurationManager *shared; |
|
32 |
|
|
33 |
@property (nonatomic, readonly) id<FBSDKAppEventsConfiguration> cachedAppEventsConfiguration; |
|
34 |
|
|
35 |
#if !DEBUG |
|
36 |
- (instancetype)init NS_UNAVAILABLE; |
|
37 |
+ (instancetype)new NS_UNAVAILABLE; |
|
38 |
#endif |
|
39 |
|
|
40 |
// UNCRUSTIFY_FORMAT_OFF |
|
41 |
- (void) configureWithStore:(id<FBSDKDataPersisting>)store |
|
42 |
settings:(id<FBSDKSettings>)settings |
|
43 |
graphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory |
|
44 |
graphRequestConnectionFactory:(id<FBSDKGraphRequestConnectionFactory>)graphRequestConnectionFactory |
|
45 |
NS_SWIFT_NAME(configure(store:settings:graphRequestFactory:graphRequestConnectionFactory:)); |
|
46 |
// UNCRUSTIFY_FORMAT_ON |
|
47 |
|
|
48 |
- (void)loadAppEventsConfigurationWithBlock:(FBSDKAppEventsConfigurationManagerBlock)block; |
|
49 |
|
|
50 |
@end |
|
51 |
|
|
52 |
NS_ASSUME_NONNULL_END |