From bf63695cd124ba0c3127f4cc8aa99c737729dd1d Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Tue, 22 Jan 2019 11:11:33 +0800 Subject: [PATCH] [Update] WAFbImpl (3.8.0) --- frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h | 64 ++++++++++++++++++++++++------- 1 files changed, 49 insertions(+), 15 deletions(-) diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h index 2e569c9..3c97c5e 100644 --- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h +++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h @@ -19,46 +19,80 @@ #import <Foundation/Foundation.h> #import <FBSDKCoreKit/FBSDKCopying.h> +#import <FBSDKShareKit/FBSDKSharingValidation.h> @class FBSDKHashtag; -/*! - @abstract A base interface for content to be shared. +/** + A base interface for content to be shared. */ -@protocol FBSDKSharingContent <FBSDKCopying, NSSecureCoding> +@protocol FBSDKSharingContent <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding> -/*! - @abstract URL for the content being shared. - @discussion This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/** + URL for the content being shared. + + This URL will be checked for all link meta tags for linking in platform specific ways. See documentation for App Links (https://developers.facebook.com/docs/applinks/) @return URL representation of the content link */ @property (nonatomic, copy) NSURL *contentURL; -/*! - @abstract Hashtag for the content being shared. +/** + Hashtag for the content being shared. @return The hashtag for the content being shared. */ @property (nonatomic, copy) FBSDKHashtag *hashtag; -/*! - @abstract List of IDs for taggable people to tag with this content. - @description See documentation for Taggable Friends +/** + List of IDs for taggable people to tag with this content. + See documentation for Taggable Friends (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) @return Array of IDs for people to tag (NSString) */ @property (nonatomic, copy) NSArray *peopleIDs; -/*! - @abstract The ID for a place to tag with this content. +/** + The ID for a place to tag with this content. @return The ID for the place to tag */ @property (nonatomic, copy) NSString *placeID; -/*! - @abstract A value to be added to the referrer URL when a person follows a link from this shared content on feed. +/** + A value to be added to the referrer URL when a person follows a link from this shared content on feed. @return The ref for the content. */ @property (nonatomic, copy) NSString *ref; +/** + For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. + @return The ID of the Facebok page this share is associated with. + */ +@property (nonatomic, copy) NSString *pageID; + +/** + A unique identifier for a share involving this content, useful for tracking purposes. + @return A unique string identifying this share data. + */ +@property (nonatomic, copy, readonly) NSString *shareUUID; + +/** + Adds content to an existing dictionary as key/value pairs and returns the + updated dictionary + @param existingParameters An immutable dictionary of existing values + @param bridgeOptions The options for bridging + @return A new dictionary with the modified contents + */ +- (NSDictionary<NSString *, id> *)addParameters:(NSDictionary<NSString *, id> *)existingParameters + bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions; + +/** + Adds content to a dictionary as key/value pairs. + @param parameters A mutable dictionary that may be appended with key/value pairs of content. + @param bridgeOptions The options for bridging + */ + +- (void)addToParameters:(NSMutableDictionary<NSString *, id> *)parameters + bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions +DEPRECATED_MSG_ATTRIBUTE("`addToParameters` is deprecated. Use `addParameters`"); + @end -- Gitblit v1.8.0