lpw
2024-04-15 97fc0a41111c5a929ee8be9d6511775697ffa760
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;
97fc0a 36 @protocol FBSDKMACARuleMatching;
L 37 @protocol FBSDKEventsProcessing;
e0ec42 38 #if !TARGET_OS_TV
L 39 @protocol FBSDKEventProcessing;
40 @protocol FBSDKMetadataIndexing;
41 @protocol FBSDKAppEventsReporter;
42 @protocol FBSDKCodelessIndexing;
43 @protocol FBSDKSwizzling;
44 #endif
45
46 NS_ASSUME_NONNULL_BEGIN
47
48 /**
49  Internal type exposed to facilitate transition to Swift.
50  API Subject to change or removal without warning. Do not use.
51
52  @warning INTERNAL - DO NOT USE
53  */
54 NS_SWIFT_NAME(_AppEventsConfiguring)
55 @protocol FBSDKAppEventsConfiguring
56
57 - (void)   configureWithGateKeeperManager:(Class<FBSDKGateKeeperManaging>)gateKeeperManager
58            appEventsConfigurationProvider:(id<FBSDKAppEventsConfigurationProviding>)appEventsConfigurationProvider
59               serverConfigurationProvider:(id<FBSDKServerConfigurationProviding>)serverConfigurationProvider
60                       graphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
61                            featureChecker:(id<FBSDKFeatureChecking>)featureChecker
62                          primaryDataStore:(id<FBSDKDataPersisting>)primaryDataStore
63                                    logger:(Class<FBSDKLogging>)logger
64                                  settings:(id<FBSDKSettings>)settings
65                           paymentObserver:(id<FBSDKPaymentObserving>)paymentObserver
66                         timeSpentRecorder:(id<FBSDKSourceApplicationTracking, FBSDKTimeSpentRecording>)timeSpentRecorder
67                       appEventsStateStore:(id<FBSDKAppEventsStatePersisting>)appEventsStateStore
68       eventDeactivationParameterProcessor:(id<FBSDKAppEventsParameterProcessing>)eventDeactivationParameterProcessor
69   restrictiveDataFilterParameterProcessor:(id<FBSDKAppEventsParameterProcessing>)restrictiveDataFilterParameterProcessor
70                       atePublisherFactory:(id<FBSDKATEPublisherCreating>)atePublisherFactory
71                    appEventsStateProvider:(id<FBSDKAppEventsStateProviding>)appEventsStateProvider
72                      advertiserIDProvider:(id<FBSDKAdvertiserIDProviding>)advertiserIDProvider
73                             userDataStore:(id<FBSDKUserDataPersisting>)userDataStore
74                          appEventsUtility:(id<FBSDKAppEventDropDetermining, FBSDKAppEventParametersExtracting, FBSDKAppEventsUtility, FBSDKLoggingNotifying>)appEventsUtility
75                           internalUtility:(id<FBSDKInternalUtility>)internalUtility
76                              capiReporter:(id<FBSDKCAPIReporter>)capiReporter
97fc0a 77                      protectedModeManager:(id<FBSDKAppEventsParameterProcessing>)protectedModeManager
L 78                   macaRuleMatchingManager:(id<FBSDKMACARuleMatching>)macaRuleMatchingManager
79                    blocklistEventsManager:(nonnull id<FBSDKEventsProcessing>)blocklistEventsManager
80                    redactedEventsManager:(nonnull id<FBSDKEventsProcessing>)redactedEventsManager
81                   sensitiveParamsManager:(nonnull id<FBSDKAppEventsParameterProcessing>)sensitiveParamsManager
82 NS_SWIFT_NAME(configure(gateKeeperManager:appEventsConfigurationProvider:serverConfigurationProvider:graphRequestFactory:featureChecker:primaryDataStore:logger:settings:paymentObserver:timeSpentRecorder:appEventsStateStore:eventDeactivationParameterProcessor:restrictiveDataFilterParameterProcessor:atePublisherFactory:appEventsStateProvider:advertiserIDProvider:userDataStore:appEventsUtility:internalUtility:capiReporter:protectedModeManager:macaRuleMatchingManager:blocklistEventsManager:redactedEventsManager:sensitiveParamsManager:));
e0ec42 83
L 84 #if !TARGET_OS_TV
85
86 // UNCRUSTIFY_FORMAT_OFF
87 - (void)configureNonTVComponentsWithOnDeviceMLModelManager:(id<FBSDKEventProcessing>)modelManager
88                                            metadataIndexer:(id<FBSDKMetadataIndexing>)metadataIndexer
89                                        skAdNetworkReporter:(nullable id<FBSDKAppEventsReporter>)skAdNetworkReporter
97fc0a 90                                        skAdNetworkReporterV2:(nullable id<FBSDKAppEventsReporter>)skAdNetworkReporterV2
e0ec42 91                                            codelessIndexer:(Class<FBSDKCodelessIndexing>)codelessIndexer
L 92                                                   swizzler:(Class<FBSDKSwizzling>)swizzler
93                                                aemReporter:(Class<FBSDKAEMReporter>)aemReporter
97fc0a 94 NS_SWIFT_NAME(configureNonTVComponents(onDeviceMLModelManager:metadataIndexer:skAdNetworkReporter:skAdNetworkReporterV2:codelessIndexer:swizzler:aemReporter:));
e0ec42 95 // UNCRUSTIFY_FORMAT_ON
L 96
97 #endif
98
99 @end
100
101 NS_ASSUME_NONNULL_END