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 |
NS_ASSUME_NONNULL_BEGIN |
|
14 |
|
|
15 |
/// A protocol to describe an AppLinkTarget |
|
16 |
NS_SWIFT_NAME(AppLinkTargetProtocol) |
|
17 |
@protocol FBSDKAppLinkTarget |
|
18 |
|
|
19 |
// UNCRUSTIFY_FORMAT_OFF |
|
20 |
+ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url |
|
21 |
appStoreId:(nullable NSString *)appStoreId |
|
22 |
appName:(NSString *)appName |
|
23 |
NS_SWIFT_NAME(init(url:appStoreId:appName:)); |
|
24 |
// UNCRUSTIFY_FORMAT_ON |
|
25 |
|
e0ec42
|
26 |
/// The URL prefix for this app link target |
2e29a3
|
27 |
@property (nullable, nonatomic, readonly) NSURL *URL; |
L |
28 |
|
e0ec42
|
29 |
/// The app ID for the app store |
2e29a3
|
30 |
@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; |
L |
31 |
|
e0ec42
|
32 |
/// The name of the app |
2e29a3
|
33 |
@property (nonatomic, readonly, copy) NSString *appName; |
L |
34 |
|
|
35 |
@end |
|
36 |
|
|
37 |
NS_ASSUME_NONNULL_END |
|
38 |
|
|
39 |
#endif |