From a21614bd45ba53c0b5ea640fd3ad71b3b5826ef3 Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Wed, 14 Jun 2017 15:02:13 +0800 Subject: [PATCH] 添加V3.6.4 --- frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h | 54 ++++++++++++++++++++++++++++-------------------------- 1 files changed, 28 insertions(+), 26 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h index d2b0313..658bc46 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h @@ -23,25 +23,26 @@ @class FBSDKGraphErrorRecoveryProcessor; @class FBSDKGraphRequest; -/*! - @abstract Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. +/** + Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. */ @protocol FBSDKGraphErrorRecoveryProcessorDelegate<NSObject> -/*! - @abstract Indicates the error recovery has been attempted. - @param processor the processor instance. - @param didRecover YES if the recovery was successful. - @param error the error that that was attempted to be recovered from. +/** + Indicates the error recovery has been attempted. + - Parameter processor: the processor instance. + - Parameter didRecover: YES if the recovery was successful. + - Parameter error: the error that that was attempted to be recovered from. */ - (void)processorDidAttemptRecovery:(FBSDKGraphErrorRecoveryProcessor *)processor didRecover:(BOOL)didRecover error:(NSError *)error; @optional -/*! - @abstract Indicates the processor is about to process the error. - @param processor the processor instance. - @param error the error is about to be processed. - @discussion return NO if the processor should not process the error. For example, +/** + Indicates the processor is about to process the error. + - Parameter processor: the processor instance. + - Parameter error: the error is about to be processed. + + return NO if the processor should not process the error. For example, if you want to prevent alerts of localized messages but otherwise perform retries and recoveries, you could return NO for errors where userInfo[FBSDKGraphRequestErrorCategoryKey] equal to FBSDKGraphRequestErrorCategoryOther */ @@ -49,9 +50,10 @@ @end -/*! - @abstract Defines a type that can process Facebook NSErrors with best practices. - @discussion Facebook NSErrors can contain FBSDKErrorRecoveryAttempting instances to recover from errors, or +/** + Defines a type that can process Facebook NSErrors with best practices. + + Facebook NSErrors can contain FBSDKErrorRecoveryAttempting instances to recover from errors, or localized messages to present to the user. This class will process the instances as follows: 1. If the error is temporary as indicated by FBSDKGraphRequestErrorCategoryKey, assume the recovery succeeded and @@ -74,23 +76,23 @@ */ @interface FBSDKGraphErrorRecoveryProcessor : NSObject -/*! - @abstract Gets the delegate. Note this is a strong reference, and is nil'ed out after recovery is complete. +/** + Gets the delegate. Note this is a strong reference, and is nil'ed out after recovery is complete. */ @property (nonatomic, strong, readonly) id<FBSDKGraphErrorRecoveryProcessorDelegate>delegate; -/*! - @abstract Attempts to process the error, return YES if the error can be processed. - @param error the error to process. - @param request the relateed request that may be reissued. - @param delegate the delegate that will be retained until recovery is complete. +/** + Attempts to process the error, return YES if the error can be processed. + - Parameter error: the error to process. + - Parameter request: the related request that may be reissued. + - Parameter delegate: the delegate that will be retained until recovery is complete. */ - (BOOL)processError:(NSError *)error request:(FBSDKGraphRequest *)request delegate:(id<FBSDKGraphErrorRecoveryProcessorDelegate>) delegate; -/*! - @abstract The callback for FBSDKErrorRecoveryAttempting - @param didRecover if the recovery succeeded - @param contextInfo unused +/** + The callback for FBSDKErrorRecoveryAttempting + - Parameter didRecover: if the recovery succeeded + - Parameter contextInfo: unused */ - (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo; -- Gitblit v1.8.0