| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKSharingContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | @protocol FBSDKSharingDelegate; |
| | | |
| | |
| | | @see FBSDKShareDialog |
| | | |
| | | @see FBSDKMessageDialog |
| | | |
| | | @see FBSDKShareAPI |
| | | */ |
| | | NS_SWIFT_NAME(Sharing) |
| | | @protocol FBSDKSharing <NSObject> |
| | | |
| | | /** |
| | |
| | | /** |
| | | The common interface for dialogs that initiate sharing. |
| | | */ |
| | | NS_SWIFT_NAME(SharingDialog) |
| | | @protocol FBSDKSharingDialog <FBSDKSharing> |
| | | |
| | | /** |
| | |
| | | receive the information. For example, if the person is not signed into the containing app, the sharer may not be able |
| | | to distinguish between completion of a share and cancellation. |
| | | */ |
| | | NS_SWIFT_NAME(SharingDelegate) |
| | | @protocol FBSDKSharingDelegate <NSObject> |
| | | |
| | | /** |
| | |
| | | @param sharer The FBSDKSharing that completed. |
| | | @param results The results from the sharer. This may be nil or empty. |
| | | */ |
| | | - (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results; |
| | | - (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary<NSString *, id> *)results; |
| | | |
| | | /** |
| | | Sent to the delegate when the sharer encounters an error. |
| | |
| | | - (void)sharerDidCancel:(id<FBSDKSharing>)sharer; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |