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 FBSDKGateKeeperManaging;
13 @protocol FBSDKAppEventsConfigurationProviding;
14 @protocol FBSDKSourceApplicationTracking;
15 @protocol FBSDKServerConfigurationProviding;
16 @protocol FBSDKGraphRequestFactory;
17 @protocol FBSDKFeatureChecking;
18 @protocol FBSDKDataPersisting;
19 @protocol FBSDKInternalUtility;
20 @protocol FBSDKLogging;
21 @protocol FBSDKSettings;
22 @protocol FBSDKPaymentObserving;
23 @protocol FBSDKTimeSpentRecording;
24 @protocol FBSDKAppEventsStatePersisting;
25 @protocol FBSDKAppEventsParameterProcessing;
26 @protocol FBSDKAppEventsParameterProcessing;
27 @protocol FBSDKATEPublisherCreating;
28 @protocol FBSDKAppEventsStateProviding;
29 @protocol FBSDKAdvertiserIDProviding;
30 @protocol FBSDKUserDataPersisting;
31 @protocol FBSDKLoggingNotifying;
32 @protocol FBSDKAppEventsUtility;
33 @protocol FBSDKAppEventDropDetermining;
34 @protocol FBSDKCAPIReporter;
35 @protocol FBSDKAppEventParametersExtracting;
36
37 #if !TARGET_OS_TV
38 @protocol FBSDKEventProcessing;
39 @protocol FBSDKMetadataIndexing;
40 @protocol FBSDKAppEventsReporter;
41 @protocol FBSDKCodelessIndexing;
42 @protocol FBSDKSwizzling;
43 #endif
44
45 NS_ASSUME_NONNULL_BEGIN
46
47 /**
48  Internal type exposed to facilitate transition to Swift.
49  API Subject to change or removal without warning. Do not use.
50
51  @warning INTERNAL - DO NOT USE
52  */
53 NS_SWIFT_NAME(_AppEventsConfiguring)
54 @protocol FBSDKAppEventsConfiguring
55
56 - (void)   configureWithGateKeeperManager:(Class<FBSDKGateKeeperManaging>)gateKeeperManager
57            appEventsConfigurationProvider:(id<FBSDKAppEventsConfigurationProviding>)appEventsConfigurationProvider
58               serverConfigurationProvider:(id<FBSDKServerConfigurationProviding>)serverConfigurationProvider
59                       graphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
60                            featureChecker:(id<FBSDKFeatureChecking>)featureChecker
61                          primaryDataStore:(id<FBSDKDataPersisting>)primaryDataStore
62                                    logger:(Class<FBSDKLogging>)logger
63                                  settings:(id<FBSDKSettings>)settings
64                           paymentObserver:(id<FBSDKPaymentObserving>)paymentObserver
65                         timeSpentRecorder:(id<FBSDKSourceApplicationTracking, FBSDKTimeSpentRecording>)timeSpentRecorder
66                       appEventsStateStore:(id<FBSDKAppEventsStatePersisting>)appEventsStateStore
67       eventDeactivationParameterProcessor:(id<FBSDKAppEventsParameterProcessing>)eventDeactivationParameterProcessor
68   restrictiveDataFilterParameterProcessor:(id<FBSDKAppEventsParameterProcessing>)restrictiveDataFilterParameterProcessor
69                       atePublisherFactory:(id<FBSDKATEPublisherCreating>)atePublisherFactory
70                    appEventsStateProvider:(id<FBSDKAppEventsStateProviding>)appEventsStateProvider
71                      advertiserIDProvider:(id<FBSDKAdvertiserIDProviding>)advertiserIDProvider
72                             userDataStore:(id<FBSDKUserDataPersisting>)userDataStore
73                          appEventsUtility:(id<FBSDKAppEventDropDetermining, FBSDKAppEventParametersExtracting, FBSDKAppEventsUtility, FBSDKLoggingNotifying>)appEventsUtility
74                           internalUtility:(id<FBSDKInternalUtility>)internalUtility
75                              capiReporter:(id<FBSDKCAPIReporter>)capiReporter
76 NS_SWIFT_NAME(configure(gateKeeperManager:appEventsConfigurationProvider:serverConfigurationProvider:graphRequestFactory:featureChecker:primaryDataStore:logger:settings:paymentObserver:timeSpentRecorder:appEventsStateStore:eventDeactivationParameterProcessor:restrictiveDataFilterParameterProcessor:atePublisherFactory:appEventsStateProvider:advertiserIDProvider:userDataStore:appEventsUtility:internalUtility:capiReporter:));
77
78 #if !TARGET_OS_TV
79
80 // UNCRUSTIFY_FORMAT_OFF
81 - (void)configureNonTVComponentsWithOnDeviceMLModelManager:(id<FBSDKEventProcessing>)modelManager
82                                            metadataIndexer:(id<FBSDKMetadataIndexing>)metadataIndexer
83                                        skAdNetworkReporter:(nullable id<FBSDKAppEventsReporter>)skAdNetworkReporter
84                                            codelessIndexer:(Class<FBSDKCodelessIndexing>)codelessIndexer
85                                                   swizzler:(Class<FBSDKSwizzling>)swizzler
86                                                aemReporter:(Class<FBSDKAEMReporter>)aemReporter
87 NS_SWIFT_NAME(configureNonTVComponents(onDeviceMLModelManager:metadataIndexer:skAdNetworkReporter:codelessIndexer:swizzler:aemReporter:));
88 // UNCRUSTIFY_FORMAT_ON
89
90 #endif
91
92 @end
93
94 NS_ASSUME_NONNULL_END