FBSDKAutoSetup.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 FBSDKAppEventsUtility;
  11. @protocol FBSDKCrashHandler;
  12. @protocol FBSDKEventLogging;
  13. @protocol FBSDKFeatureDisabling;
  14. @protocol FBSDKSwizzling;
  15. NS_ASSUME_NONNULL_BEGIN
  16. /**
  17. Internal Type exposed to facilitate transition to Swift.
  18. API Subject to change or removal without warning. Do not use.
  19. @warning INTERNAL - DO NOT USE
  20. */
  21. NS_SWIFT_NAME(_AutoSetup)
  22. @protocol FBSDKAutoSetup
  23. - (void)configureWithSwizzler:(nonnull Class<FBSDKSwizzling>)swizzler
  24. aemReporter:(nonnull Class<FBSDKAEMReporter>)aemReporter
  25. eventLogger:(nonnull id<FBSDKEventLogging>)eventLogger
  26. crashHandler:(nonnull id<FBSDKCrashHandler>)crashHandler
  27. featureChecker:(nonnull id<FBSDKFeatureDisabling>)featureChecker
  28. appEventsUtility:(nonnull id<FBSDKAppEventsUtility>)appEventsUtility
  29. NS_SWIFT_NAME(configure(swizzler:reporter:eventLogger:crashHandler:featureChecker:appEventsUtility:));
  30. - (void)enableAutoSetup:(BOOL)proxyEnabled;
  31. - (void)logAutoSetupStatus:(BOOL)optin
  32. source:(NSString *)source;
  33. @end
  34. NS_ASSUME_NONNULL_END