FBSDKAEMManager.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. #import <FBSDKCoreKit/FBSDKAutoSetup.h>
  10. @protocol FBSDKSwizzling;
  11. @protocol FBSDKAEMReporter;
  12. @protocol FBSDKAutoSetup;
  13. NS_ASSUME_NONNULL_BEGIN
  14. /**
  15. Internal type exposed to facilitate transition to Swift.
  16. API Subject to change or removal without warning. Do not use.
  17. @warning INTERNAL - DO NOT USE
  18. */
  19. NS_SWIFT_NAME(_AEMManager)
  20. @interface FBSDKAEMManager : NSObject <FBSDKAutoSetup>
  21. + (instancetype)new NS_UNAVAILABLE;
  22. - (instancetype)init NS_UNAVAILABLE;
  23. /// The shared instance of AEMManager.
  24. @property (class, nonatomic, readonly, strong) FBSDKAEMManager *shared;
  25. - (void)configureWithSwizzler:(nonnull Class<FBSDKSwizzling>)swizzler
  26. aemReporter:(nonnull Class<FBSDKAEMReporter>)aemReporter
  27. eventLogger:(nonnull id<FBSDKEventLogging>)eventLogger
  28. crashHandler:(nonnull id<FBSDKCrashHandler>)crashHandler
  29. featureChecker:(nonnull id<FBSDKFeatureDisabling>)featureChecker
  30. appEventsUtility:(nonnull id<FBSDKAppEventsUtility>)appEventsUtility
  31. NS_SWIFT_NAME(configure(swizzler:reporter:eventLogger:crashHandler:featureChecker:appEventsUtility:));
  32. - (void)enableAutoSetup:(BOOL)proxyEnabled;
  33. - (void)logAutoSetupStatus:(BOOL)optin
  34. source:(NSString *)source;
  35. @end
  36. NS_ASSUME_NONNULL_END