From 7cdaa24f3ba637804aca9247ae809c4cc1acc6ed Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Wed, 27 May 2020 09:41:28 +0800 Subject: [PATCH] 3.8.4 --- frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h index 142702d..8b272c4 100644 --- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h +++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerMediaTemplateContent.h @@ -21,16 +21,24 @@ #import <FBSDKShareKit/FBSDKShareMessengerActionButton.h> #import <FBSDKShareKit/FBSDKSharingContent.h> +NS_ASSUME_NONNULL_BEGIN + +DEPRECATED_FOR_MESSENGER typedef NS_ENUM(NSUInteger, FBSDKShareMessengerMediaTemplateMediaType) { FBSDKShareMessengerMediaTemplateMediaTypeImage = 0, FBSDKShareMessengerMediaTemplateMediaTypeVideo -}; +} NS_SWIFT_NAME(ShareMessengerMediaTemplateMediaType); /** A model for sharing media template content. See https://developers.facebook.com/docs/messenger-platform/send-messages/template/media for details. */ +NS_SWIFT_NAME(ShareMessengerMediaTemplateContent) +DEPRECATED_FOR_MESSENGER @interface FBSDKShareMessengerMediaTemplateContent : NSObject <FBSDKSharingContent> + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; /** The media type (image or video) for this content. This must match the media type specified in the @@ -41,19 +49,19 @@ /** The attachmentID of the item to share. Optional, but either attachmentID or mediaURL must be specified. */ -@property (nonatomic, copy, readonly) NSString *attachmentID; +@property (nonatomic, copy, readonly, nullable) NSString *attachmentID; /** The Facebook url for this piece of media. External urls will not work; this must be a Facebook url. See https://developers.facebook.com/docs/messenger-platform/send-messages/template/media for details. Optional, but either attachmentID or mediaURL must be specified. */ -@property (nonatomic, copy, readonly) NSURL *mediaURL; +@property (nonatomic, copy, readonly, nullable) NSURL *mediaURL; /** This specifies what action button to show below the media. Optional. */ -@property (nonatomic, copy) id<FBSDKShareMessengerActionButton> button; +@property (nonatomic, copy, nullable) id<FBSDKShareMessengerActionButton> button; /** Custom initializer to create media template share with attachment id. @@ -67,3 +75,5 @@ - (instancetype)initWithMediaURL:(NSURL *)mediaURL; @end + +NS_ASSUME_NONNULL_END -- Gitblit v1.8.0