FBSDKCodelessIndexer.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #if !TARGET_OS_TV
  9. #import <FBSDKCoreKit/FBSDKCodelessIndexing.h>
  10. #import <Foundation/Foundation.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. /**
  13. Internal type exposed to facilitate transition to Swift.
  14. API Subject to change or removal without warning. Do not use.
  15. @warning INTERNAL - DO NOT USE
  16. */
  17. typedef void (^FBSDKCodelessSettingLoadBlock)(BOOL isCodelessSetupEnabled, NSError *_Nullable error);
  18. /**
  19. Internal type exposed to facilitate transition to Swift.
  20. API Subject to change or removal without warning. Do not use.
  21. @warning INTERNAL - DO NOT USE
  22. */
  23. NS_SWIFT_NAME(_CodelessIndexer)
  24. @interface FBSDKCodelessIndexer : NSObject <FBSDKCodelessIndexing>
  25. @property (class, nonatomic, readonly, copy) NSString *extInfo;
  26. + (void)enable;
  27. // UNCRUSTIFY_FORMAT_OFF
  28. + (void)configureWithGraphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
  29. serverConfigurationProvider:(id<FBSDKServerConfigurationProviding>)serverConfigurationProvider
  30. dataStore:(id<FBSDKDataPersisting>)dataStore
  31. graphRequestConnectionFactory:(id<FBSDKGraphRequestConnectionFactory>)graphRequestConnectionFactory
  32. swizzler:(Class<FBSDKSwizzling>)swizzler
  33. settings:(id<FBSDKSettings>)settings
  34. advertiserIDProvider:(id<FBSDKAdvertiserIDProviding>)advertisingIDProvider
  35. NS_SWIFT_NAME(configure(graphRequestFactory:serverConfigurationProvider:dataStore:graphRequestConnectionFactory:swizzler:settings:advertiserIDProvider:));
  36. // UNCRUSTIFY_FORMAT_ON
  37. @end
  38. NS_ASSUME_NONNULL_END
  39. #endif