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 #import <Foundation/Foundation.h>
10
11 #import <FBSDKCoreKit_Basics/FBSDKLinking.h>
12
13 NS_ASSUME_NONNULL_BEGIN
14
15 /**
16  Internal type exposed to facilitate transition to Swift.
17  API Subject to change or removal without warning. Do not use.
18
19  @warning INTERNAL - DO NOT USE
20  */
21 NS_SWIFT_NAME(_FileDataExtracting)
22 @protocol FBSDKFileDataExtracting
23
24 + (nullable NSData *)fb_dataWithContentsOfFile:(NSString *)path
25                                        options:(NSDataReadingOptions)readOptionsMask
26                                          error:(NSError *_Nullable *)error;
27
28 @end
29
30 /**
31  Internal conformance exposed to facilitate transition to Swift.
32  API Subject to change or removal without warning. Do not use.
33
34  @warning INTERNAL - DO NOT USE
35  */
36 FB_LINK_CATEGORY_INTERFACE(NSData, FileDataExtracting)
37 @interface NSData (FileDataExtracting) <FBSDKFileDataExtracting>
38
39 @end
40
41 NS_ASSUME_NONNULL_END