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 |
@protocol FBSDKBridgeAPIProtocol; |
|
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(BridgeAPIRequestProtocol) |
|
26 |
@protocol FBSDKBridgeAPIRequest <NSObject, NSCopying> |
|
27 |
|
|
28 |
@property (nonatomic, readonly, copy) NSString *scheme; |
|
29 |
@property (nonatomic, readonly, copy) NSString *actionID; |
|
30 |
@property (nullable, nonatomic, readonly, copy) NSString *methodName; |
|
31 |
@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; |
|
32 |
@property (nullable, nonatomic, readonly, strong) id<FBSDKBridgeAPIProtocol> protocol; |
|
33 |
|
|
34 |
- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; |
|
35 |
|
|
36 |
@end |
|
37 |
|
|
38 |
NS_ASSUME_NONNULL_END |
|
39 |
|
|
40 |
#endif |