| | |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | A protocol for media content (photo or video) to be shared. |
| | | */ |
| | | NS_SWIFT_NAME(ShareMedia) |
| | | @protocol FBSDKShareMedia <NSObject> |
| | | |
| | | @end |
| | | |
| | | /** |
| | | A model for media content (photo or video) to be shared. |
| | | */ |
| | | NS_SWIFT_NAME(ShareMediaContent) |
| | | @interface FBSDKShareMediaContent : NSObject <FBSDKSharingContent> |
| | | |
| | | /** |
| | | Media to be shared. |
| | | - Returns: Array of the media (FBSDKSharePhoto or FBSDKShareVideo) |
| | | @return Array of the media (FBSDKSharePhoto or FBSDKShareVideo) |
| | | */ |
| | | @property (nonatomic, copy) NSArray *media; |
| | | @property (nonatomic, copy) NSArray<id<FBSDKShareMedia>> *media; |
| | | |
| | | /** |
| | | Compares the receiver to another media content. |
| | | - Parameter content: The other content |
| | | - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO |
| | | @param content The other content |
| | | @return YES if the receiver's values are equal to the other content's values; otherwise NO |
| | | */ |
| | | - (BOOL)isEqualToShareMediaContent:(FBSDKShareMediaContent *)content; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |