FBSDKAppEventsConfiguring.h 5.5 KB

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