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 <Foundation/Foundation.h> |
|
12 |
|
|
13 |
@protocol FBSDKAppLinkTarget; |
|
14 |
|
|
15 |
NS_ASSUME_NONNULL_BEGIN |
|
16 |
|
|
17 |
/** |
|
18 |
Internal type exposed to facilitate transition to Swift. |
|
19 |
API Subject to change or removal without warning. Do not use. |
|
20 |
|
|
21 |
@warning INTERNAL - DO NOT USE |
|
22 |
*/ |
|
23 |
NS_SWIFT_NAME(_AppLinkProtocol) |
|
24 |
@protocol FBSDKAppLink |
|
25 |
|
|
26 |
/// The URL from which this FBSDKAppLink was derived |
|
27 |
@property (nullable, nonatomic, readonly, strong) NSURL *sourceURL; |
|
28 |
|
|
29 |
/** |
|
30 |
The ordered list of targets applicable to this platform that will be used |
|
31 |
for navigation. |
|
32 |
*/ |
|
33 |
@property (nonatomic, readonly, copy) NSArray<id<FBSDKAppLinkTarget>> *targets; |
|
34 |
|
|
35 |
/// The fallback web URL to use if no targets are installed on this device. |
|
36 |
@property (nullable, nonatomic, readonly, strong) NSURL *webURL; |
|
37 |
|
|
38 |
/// return if this AppLink is to go back to referrer. |
|
39 |
@property (nonatomic, readonly, getter = isBackToReferrer, assign) BOOL backToReferrer; |
|
40 |
|
|
41 |
@end |
|
42 |
|
|
43 |
NS_ASSUME_NONNULL_END |
|
44 |
|
|
45 |
#endif |