| | |
| | | |
| | | #import <FBSDKShareKit/FBSDKShareMessengerActionButton.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | typedef NS_ENUM(NSUInteger, FBSDKShareMessengerURLActionButtonWebviewHeightRatio) { |
| | | FBSDKShareMessengerURLActionButtonWebviewHeightRatioFull = 0, |
| | | FBSDKShareMessengerURLActionButtonWebviewHeightRatioTall, |
| | | FBSDKShareMessengerURLActionButtonWebviewHeightRatioCompact |
| | | }; |
| | | } NS_SWIFT_NAME(ShareMessengerURLActionButton.WebviewHeightRatio); |
| | | |
| | | /** |
| | | A model for a Messenger share URL action button. |
| | | */ |
| | | NS_SWIFT_NAME(ShareMessengerURLActionButton) |
| | | @interface FBSDKShareMessengerURLActionButton : NSObject <FBSDKShareMessengerActionButton> |
| | | |
| | | /** |
| | |
| | | Messenger Extensions. If this is not defined, the url will be used as a fallback. Optional, but ignored |
| | | unless isMessengerExtensionURL == YES. |
| | | */ |
| | | @property (nonatomic, copy) NSURL *fallbackURL; |
| | | @property (nonatomic, copy, nullable) NSURL *fallbackURL; |
| | | |
| | | /** |
| | | This controls whether we want to hide the share button in the webview or not. It is useful to hide the share |
| | |
| | | @property (nonatomic, assign) BOOL shouldHideWebviewShareButton; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |