FBSDKGraphErrorRecoveryProcessorDelegate
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

Defines a delegate for FBSDKGraphErrorRecoveryProcessor.

Extends Protocol:NSObject
Declared in:FBSDKGraphErrorRecoveryProcessor.h
Phương thức thực thể
processorDidAttemptRecovery:didRecover:error:

Indicates the error recovery has been attempted.

Thông sốMô tả
processor

The processor instance.

didRecover

YES if the recovery was successful.

error

The error that that was attempted to be recovered from.

- (void)
processorDidAttemptRecovery: (FBSDKGraphErrorRecoveryProcessor *)processor
didRecover: (BOOL)didRecover
error: (NSError *)error;
Đã tuyên bố trong: FBSDKGraphErrorRecoveryProcessor.h
processorWillProcessError:error:

Indicates the processor is about to process the error.

Thông sốMô tả
processor

The processor instance.

error

The error is about to be processed.

- (BOOL)
processorWillProcessError: (FBSDKGraphErrorRecoveryProcessor *)processor
error: (NSError *)error;
Discussion:

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

Đã tuyên bố trong: FBSDKGraphErrorRecoveryProcessor.h