FBSDKMetadataIndexer.h 969 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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/FBSDKMetadataIndexing.h>
  10. #import <Foundation/Foundation.h>
  11. @protocol FBSDKUserDataPersisting;
  12. @protocol FBSDKSwizzling;
  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(_MetadataIndexer)
  20. @interface FBSDKMetadataIndexer : NSObject <FBSDKMetadataIndexing>
  21. - (instancetype)init NS_UNAVAILABLE;
  22. + (instancetype)new NS_UNAVAILABLE;
  23. - (instancetype)initWithUserDataStore:(id<FBSDKUserDataPersisting>)userDataStore
  24. swizzler:(Class<FBSDKSwizzling>)swizzler
  25. NS_DESIGNATED_INITIALIZER;
  26. - (void)enable;
  27. @end
  28. NS_ASSUME_NONNULL_END
  29. #endif