lpw
2024-04-15 97fc0a41111c5a929ee8be9d6511775697ffa760
commit | author | age
97fc0a 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 #import <FBSDKCoreKit/FBSDKDomainConfiguration.h>
11
12 @protocol FBSDKGraphRequestFactory;
13 @protocol FBSDKGraphRequestConnectionFactory;
14 @protocol FBSDKSettings;
15 @protocol FBSDKDataPersisting;
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(_DomainConfigurationBlock)
26 typedef void (^FBSDKDomainConfigurationBlock)(void);
27
28 /**
29  Internal type exposed to facilitate transition to Swift.
30  API Subject to change or removal without warning. Do not use.
31
32  @warning INTERNAL - DO NOT USE
33  */
34 NS_SWIFT_NAME(_DomainConfigurationProviding)
35 @protocol FBSDKDomainConfigurationProviding
36
37 - (FBSDKDomainConfiguration *)cachedDomainConfiguration;
38
39 // UNCRUSTIFY_FORMAT_OFF
40 - (void)configureWithSettings:(id<FBSDKSettings>)settings
41                     dataStore:(id<FBSDKDataPersisting>)dataStore
42           graphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
43 graphRequestConnectionFactory:(id<FBSDKGraphRequestConnectionFactory>)graphRequestConnectionFactory
44 NS_SWIFT_NAME(configure(settings:dataStore:graphRequestFactory:graphRequestConnectionFactory:));
45 // UNCRUSTIFY_FORMAT_ON
46
47 - (void)loadDomainConfigurationWithCompletionBlock:(nullable FBSDKDomainConfigurationBlock)completionBlock;
48
49 @end
50
51 NS_ASSUME_NONNULL_END