lpw
2024-05-16 1974a9b107ce81ccc909b6140285fce644547acb
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 #if !TARGET_OS_TV
10
11 #import <FBSDKCoreKit/FBSDKCodelessIndexing.h>
12 #import <Foundation/Foundation.h>
13
14 NS_ASSUME_NONNULL_BEGIN
15
16 /**
17  Internal type exposed to facilitate transition to Swift.
18  API Subject to change or removal without warning. Do not use.
19
20  @warning INTERNAL - DO NOT USE
21  */
22 typedef void (^FBSDKCodelessSettingLoadBlock)(BOOL isCodelessSetupEnabled, NSError *_Nullable error);
23
24 /**
25  Internal type exposed to facilitate transition to Swift.
26  API Subject to change or removal without warning. Do not use.
27
28  @warning INTERNAL - DO NOT USE
29  */
30 NS_SWIFT_NAME(_CodelessIndexer)
31 @interface FBSDKCodelessIndexer : NSObject <FBSDKCodelessIndexing>
32
33 @property (class, nonatomic, readonly, copy) NSString *extInfo;
34
35 + (void)enable;
36
37 // UNCRUSTIFY_FORMAT_OFF
38 + (void)configureWithGraphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
39              serverConfigurationProvider:(id<FBSDKServerConfigurationProviding>)serverConfigurationProvider
40                                dataStore:(id<FBSDKDataPersisting>)dataStore
41            graphRequestConnectionFactory:(id<FBSDKGraphRequestConnectionFactory>)graphRequestConnectionFactory
42                                 swizzler:(Class<FBSDKSwizzling>)swizzler
43                                 settings:(id<FBSDKSettings>)settings
44                     advertiserIDProvider:(id<FBSDKAdvertiserIDProviding>)advertisingIDProvider
45 NS_SWIFT_NAME(configure(graphRequestFactory:serverConfigurationProvider:dataStore:graphRequestConnectionFactory:swizzler:settings:advertiserIDProvider:));
46 // UNCRUSTIFY_FORMAT_ON
47
48 @end
49
50 NS_ASSUME_NONNULL_END
51
52 #endif