lpw
2023-07-20 80f7cc0c18ce7e590a4c14cd1011a82b296770f5
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 #if !TARGET_OS_TV
12
13 NS_ASSUME_NONNULL_BEGIN
14
15 NS_SWIFT_NAME(URLHosting)
16 @protocol FBSDKURLHosting
17
18 /**
19  Internal Type exposed to facilitate transition to Swift.
20  API Subject to change or removal without warning. Do not use.
21
22  @warning INTERNAL - DO NOT USE
23  */
24 - (nullable NSURL *)appURLWithHost:(NSString *)host
25                               path:(NSString *)path
26                    queryParameters:(NSDictionary<NSString *, NSString *> *)queryParameters
27                              error:(NSError *__autoreleasing *)errorRef;
28
29 /**
30  Internal Type exposed to facilitate transition to Swift.
31  API Subject to change or removal without warning. Do not use.
32
33  @warning INTERNAL - DO NOT USE
34  */
35 - (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix
36                                          path:(NSString *)path
37                               queryParameters:(NSDictionary<NSString *, NSString *> *)queryParameters
38                                         error:(NSError *__autoreleasing *)errorRef
39 NS_SWIFT_NAME(facebookURL(hostPrefix:path:queryParameters:));
40
41
42 @end
43
44 NS_ASSUME_NONNULL_END
45
46 #endif