From 37c026a8cae451b543b46d2941a221b8b1bd2c5e Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Mon, 04 Sep 2017 10:03:43 +0800 Subject: [PATCH] 添加V3.6.5 --- frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h | 61 ++++++++++++------------------ 1 files changed, 25 insertions(+), 36 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h index 9892667..1cc549a 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h @@ -18,40 +18,41 @@ #import <Foundation/Foundation.h> -/*! - @abstract Describes the callback for fetchDeferredAppLink. - @param url the url representing the deferred App Link - @param error the error during the request, if any +/** + Describes the callback for fetchDeferredAppLink. + - Parameter url: the url representing the deferred App Link + - Parameter error: the error during the request, if any - @discussion The url may also have a fb_click_time_utc query parameter that + + The url may also have a fb_click_time_utc query parameter that represents when the click occurred that caused the deferred App Link to be created. */ typedef void (^FBSDKDeferredAppLinkHandler)(NSURL *url, NSError *error); -/*! - @abstract Describes the callback for fetchOrganicDeferredAppLink. - @param url the url representing the deferred App Link +/** + Describes the callback for fetchOrganicDeferredAppLink. + - Parameter url: the url representing the deferred App Link */ typedef void (^FBSDKDeferredAppInviteHandler)(NSURL *url); -/*! - @abstract Class containing App Links related utility methods. +/** + Class containing App Links related utility methods. */ @interface FBSDKAppLinkUtility : NSObject -/*! - @abstract - Call this method from the main thread to fetch deferred applink data if you use Mobile App +/** + Call this method from the main thread to fetch deferred applink data if you use Mobile App Engagement Ads (https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads-engagement). This may require a network round trip. If successful, the handler is invoked with the link data (this will only return a valid URL once, and future calls will result in a nil URL value in the callback). - @param handler the handler to be invoked if there is deferred App Link data + - Parameter handler: the handler to be invoked if there is deferred App Link data - @discussion The handler may contain an NSError instance to capture any errors. In the + + The handler may contain an NSError instance to capture any errors. In the common case where there simply was no app link data, the NSError instance will be nil. This method should only be called from a location that occurs after any launching URL has @@ -60,38 +61,26 @@ */ + (void)fetchDeferredAppLink:(FBSDKDeferredAppLinkHandler)handler; -/*! - @abstract Call this method from the main thread to fetch deferred deeplink for App Invites - Handler is called with deeplink url, if found, nil otherwise. +/** - @param handler Handler to be called when we fetch deeplink url. - - @return YES if async fetch process was started, NO if it failed to start. Note it returns NO - for versions < iOS 9. - - @discussion Call this method from the main thread to fetch deferred deeplink if you use App Invites. - This may require a network round trip. If successful, this will call the handler provided, with - deferred deeplink that was clicked by the user. If there is a error/timeout, handler will be called - with nil. - This method only works on iOS 9+ and returns NO otherwise. - This method should only be called from a location that occurs after any launching URL has - been processed (e.g., you should call this method from your application delegate's - didFinishLaunchingWithOptions:). +- Warning:This method is no longer available and will always return NO. */ -+ (BOOL)fetchDeferredAppInvite:(FBSDKDeferredAppInviteHandler)handler; ++ (BOOL)fetchDeferredAppInvite:(FBSDKDeferredAppInviteHandler)handler +__attribute__((deprecated("This method is no longer available.")));; /* - @abstract Call this method to fetch promotion code from the url, if it's present. This function + Call this method to fetch promotion code from the url, if it's present. This function requires Bolts framework. Note: This throws an exception if Bolts.framework is not linked. Add '[BFURL class]' in intialize method of your AppDelegate. - @param url App Link url that was passed to the app. + - Parameter url: App Link url that was passed to the app. - @return Promotion code string. + - Returns: Promotion code string. - @discussion Call this method to fetch App Invite Promotion Code from applink if present. + + Call this method to fetch App Invite Promotion Code from applink if present. This can be used to fetch the promotion code that was associated with the invite when it was created. This method should be called with the url from the openURL method. */ -- Gitblit v1.8.0