commit | author | age
|
2e29a3
|
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 <Foundation/Foundation.h> |
|
12 |
|
|
13 |
#import <FBSDKCoreKit/FBSDKBridgeAPIProtocolType.h> |
|
14 |
|
|
15 |
NS_ASSUME_NONNULL_BEGIN |
|
16 |
|
|
17 |
FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIAppIDKey; |
|
18 |
FOUNDATION_EXPORT NSString *const FBSDKBridgeAPISchemeSuffixKey; |
|
19 |
FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIVersionKey; |
|
20 |
|
|
21 |
/** |
|
22 |
Internal Type exposed to facilitate transition to Swift. |
|
23 |
API Subject to change or removal without warning. Do not use. |
|
24 |
|
|
25 |
@warning INTERNAL - DO NOT USE |
|
26 |
*/ |
|
27 |
NS_SWIFT_NAME(BridgeAPIProtocol) |
|
28 |
@protocol FBSDKBridgeAPIProtocol <NSObject> |
|
29 |
|
e0ec42
|
30 |
// UNCRUSTIFY_FORMAT_OFF |
2e29a3
|
31 |
- (nullable NSURL *)requestURLWithActionID:(NSString *)actionID |
L |
32 |
scheme:(NSString *)scheme |
|
33 |
methodName:(NSString *)methodName |
|
34 |
parameters:(NSDictionary<NSString *, id> *)parameters |
e0ec42
|
35 |
error:(NSError *_Nullable *)errorRef |
L |
36 |
NS_SWIFT_NAME(requestURL(actionID:scheme:methodName:parameters:)); |
|
37 |
// UNCRUSTIFY_FORMAT_ON |
|
38 |
|
|
39 |
// UNCRUSTIFY_FORMAT_OFF |
2e29a3
|
40 |
- (nullable NSDictionary<NSString *, id> *)responseParametersForActionID:(NSString *)actionID |
L |
41 |
queryParameters:(NSDictionary<NSString *, id> *)queryParameters |
|
42 |
cancelled:(nullable BOOL *)cancelledRef |
e0ec42
|
43 |
error:(NSError *_Nullable *)errorRef |
L |
44 |
NS_SWIFT_NAME(responseParameters(actionID:queryParameters:cancelled:)); |
|
45 |
// UNCRUSTIFY_FORMAT_ON |
2e29a3
|
46 |
|
L |
47 |
@end |
|
48 |
|
|
49 |
NS_ASSUME_NONNULL_END |
|
50 |
|
|
51 |
#endif |