lpw
2021-04-20 b19a78b27247f5f0761c35b5b3e8a41876eabb05
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h
@@ -16,14 +16,22 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#import "TargetConditionals.h"
#if !TARGET_OS_TV
#import <Foundation/Foundation.h>
#ifdef BUCK
#import <FBSDKCoreKit/FBSDKConstants.h>
#else
#import "FBSDKConstants.h"
#endif
NS_ASSUME_NONNULL_BEGIN
@class FBSDKGraphErrorRecoveryProcessor;
@class FBSDKGraphRequest;
@protocol FBSDKGraphRequest;
/**
  Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`.
@@ -88,9 +96,10 @@
@interface FBSDKGraphErrorRecoveryProcessor : NSObject
/**
  Gets the delegate. Note this is a strong reference, and is nil'ed out after recovery is complete.
  Gets the delegate for the current error being processed.
 */
@property (nonatomic, strong, readonly, nullable) id<FBSDKGraphErrorRecoveryProcessorDelegate>delegate;
@property (nonatomic, weak, readonly, nullable) id<FBSDKGraphErrorRecoveryProcessorDelegate>delegate
DEPRECATED_MSG_ATTRIBUTE("FBSDKGraphErrorRecoveryProcessor's delegate will be removed in the next major version release.");
/**
  Attempts to process the error, return YES if the error can be processed.
@@ -99,7 +108,7 @@
 @param delegate the delegate that will be retained until recovery is complete.
 */
- (BOOL)processError:(NSError *)error
             request:(FBSDKGraphRequest *)request
             request:(id<FBSDKGraphRequest>)request
            delegate:(nullable id<FBSDKGraphErrorRecoveryProcessorDelegate>)delegate;
/**
@@ -107,8 +116,11 @@
 @param didRecover if the recovery succeeded
 @param contextInfo unused
 */
- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(nullable void *)contextInfo;
- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(nullable void *)contextInfo
DEPRECATED_MSG_ATTRIBUTE("didPresentErrorWithRecovery:contextInfo: will be removed in the next major version release.");
@end
NS_ASSUME_NONNULL_END
#endif