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 #if !TARGET_OS_TV
10
11 #import <FBSDKCoreKit/FBSDKSuggestedEventsIndexerProtocol.h>
12 #import <Foundation/Foundation.h>
13
14 @protocol FBSDKGraphRequestFactory;
15 @protocol FBSDKServerConfigurationProviding;
16 @protocol FBSDKSwizzling;
17 @protocol FBSDKSettings;
18 @protocol FBSDKEventLogging;
19 @protocol FBSDKFeatureExtracting;
20 @protocol FBSDKEventProcessing;
21
22 NS_ASSUME_NONNULL_BEGIN
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(_SuggestedEventsIndexer)
31 @interface FBSDKSuggestedEventsIndexer : NSObject <FBSDKSuggestedEventsIndexer>
32
33 - (instancetype)init NS_UNAVAILABLE;
34 + (instancetype)new NS_UNAVAILABLE;
35
36 - (instancetype)initWithGraphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
37                 serverConfigurationProvider:(id<FBSDKServerConfigurationProviding>)serverConfigurationProvider
38                                    swizzler:(Class<FBSDKSwizzling>)swizzler
39                                    settings:(id<FBSDKSettings>)settings
40                                 eventLogger:(id<FBSDKEventLogging>)eventLogger
41                            featureExtractor:(Class<FBSDKFeatureExtracting>)featureExtractor
42                              eventProcessor:(id<FBSDKEventProcessing>)eventProcessor
43   NS_DESIGNATED_INITIALIZER;
44
45 - (void)enable;
46
47 @end
48
49 NS_ASSUME_NONNULL_END
50
51 #endif