lpw
2024-04-15 97fc0a41111c5a929ee8be9d6511775697ffa760
commit | author | age
e0ec42 1 /*
L 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
9 #if !TARGET_OS_TV
10
11 #import <FBSDKCoreKit/FBSDKMetadataIndexing.h>
12 #import <Foundation/Foundation.h>
13
14 @protocol FBSDKUserDataPersisting;
15 @protocol FBSDKSwizzling;
16
17 NS_ASSUME_NONNULL_BEGIN
18
19 /**
20  Internal type exposed to facilitate transition to Swift.
21  API Subject to change or removal without warning. Do not use.
22
23  @warning INTERNAL - DO NOT USE
24  */
25 NS_SWIFT_NAME(_MetadataIndexer)
26 @interface FBSDKMetadataIndexer : NSObject <FBSDKMetadataIndexing>
27
28 - (instancetype)init NS_UNAVAILABLE;
29 + (instancetype)new NS_UNAVAILABLE;
30
31 - (instancetype)initWithUserDataStore:(id<FBSDKUserDataPersisting>)userDataStore
32                              swizzler:(Class<FBSDKSwizzling>)swizzler
33   NS_DESIGNATED_INITIALIZER;
34
35 - (void)enable;
36
37 @end
38
39 NS_ASSUME_NONNULL_END
40
41 #endif