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 <FBSDKShareKit/FBSDKSharingContent.h> |
|
14 |
|
|
15 |
NS_ASSUME_NONNULL_BEGIN |
|
16 |
|
|
17 |
/** |
|
18 |
The common interface for sharing buttons. |
|
19 |
|
|
20 |
@see FBSDKSendButton |
|
21 |
|
|
22 |
@see FBSDKShareButton |
|
23 |
*/ |
|
24 |
NS_SWIFT_NAME(SharingButton) |
|
25 |
@protocol FBSDKSharingButton <NSObject> |
|
26 |
|
|
27 |
/** |
|
28 |
The content to be shared. |
|
29 |
*/ |
|
30 |
@property (nullable, nonatomic, copy) id<FBSDKSharingContent> shareContent; |
|
31 |
|
|
32 |
@end |
|
33 |
|
|
34 |
NS_ASSUME_NONNULL_END |
|
35 |
|
|
36 |
#endif |