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 <FBSDKShareKit/FBSDKShareDialogMode.h> |
|
12 |
|
|
13 |
NS_ASSUME_NONNULL_BEGIN |
|
14 |
|
|
15 |
/** |
|
16 |
A base interface for indicating a custom URL scheme |
|
17 |
*/ |
|
18 |
DEPRECATED_MSG_ATTRIBUTE("`SharingScheme` is deprecated and will be removed in the next major release") |
|
19 |
NS_SWIFT_NAME(SharingScheme) |
|
20 |
@protocol FBSDKSharingScheme |
|
21 |
|
|
22 |
/** |
|
23 |
Asks the receiver to provide a custom scheme. |
|
24 |
@param mode The intended dialog mode for sharing the content. |
|
25 |
@return A custom URL scheme to use for the specified mode, or nil. |
|
26 |
*/ |
|
27 |
- (nullable NSString *)schemeForMode:(FBSDKShareDialogMode)mode |
|
28 |
DEPRECATED_MSG_ATTRIBUTE("`SharingScheme` is deprecated and will be removed in the next major release"); |
|
29 |
|
|
30 |
@end |
|
31 |
|
|
32 |
NS_ASSUME_NONNULL_END |
|
33 |
|
|
34 |
#endif |