lpw
2023-06-03 e0ec4235cc7b8d05ec1aaa414ec2d2cac798d74e
frameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h
@@ -12,13 +12,13 @@
#import <FBSDKCoreKit/FBSDKGraphRequestConnectionFactoryProtocol.h>
#import <FBSDKCoreKit/FBSDKGraphRequestHTTPMethod.h>
#import <FBSDKCoreKit/FBSDKGraphRequestProtocol.h>
#import <FBSDKCoreKit/FBSDKSettingsProtocol.h>
#import <FBSDKCoreKit/FBSDKTokenStringProviding.h>
@protocol FBSDKSettings;
NS_ASSUME_NONNULL_BEGIN
/**
  Represents a request to the Facebook Graph API.
 Represents a request to the Facebook Graph API.
 `FBSDKGraphRequest` encapsulates the components of a request (the
 Graph API path, the parameters, error recovery behavior) and should be
@@ -33,7 +33,7 @@
 By default, FBSDKGraphRequest will attempt to recover any errors returned from
 Facebook. You can disable this via `disableErrorRecovery:`.
 @see FBSDKGraphErrorRecoveryProcessor
 See FBSDKGraphErrorRecoveryProcessor
 */
NS_SWIFT_NAME(GraphRequest)
@interface FBSDKGraphRequest : NSObject <FBSDKGraphRequest>
@@ -69,7 +69,7 @@
                       HTTPMethod:(FBSDKHTTPMethod)method;
/**
  Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
 Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
 @param graphPath the graph path (e.g., @"me").
 @param parameters the optional parameters dictionary.
 */
@@ -77,7 +77,7 @@
                       parameters:(NSDictionary<NSString *, id> *)parameters;
/**
  Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
 Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
 @param graphPath the graph path (e.g., @"me").
 @param parameters the optional parameters dictionary.
 @param method the HTTP method. Empty String defaults to @"GET".
@@ -87,7 +87,7 @@
                       HTTPMethod:(FBSDKHTTPMethod)method;
/**
  Initializes a new instance.
 Initializes a new instance.
 @param graphPath the graph path (e.g., @"me").
 @param parameters the optional parameters dictionary.
 @param tokenString the token string to use. Specifying nil will cause no token to be used.
@@ -102,7 +102,7 @@
  NS_DESIGNATED_INITIALIZER;
/**
  Initializes a new instance.
 Initializes a new instance.
 @param graphPath the graph path (e.g., @"me").
 @param parameters the optional parameters dictionary.
 @param requestFlags  flags that indicate how a graph request should be treated in various scenarios
@@ -112,7 +112,7 @@
                            flags:(FBSDKGraphRequestFlags)requestFlags;
/**
  Initializes a new instance.
 Initializes a new instance.
 @param graphPath the graph path (e.g., @"me").
 @param parameters the optional parameters dictionary.
 @param tokenString the token string to use. Specifying nil will cause no token to be used.
@@ -125,33 +125,23 @@
                       HTTPMethod:(nullable NSString *)HTTPMethod
                            flags:(FBSDKGraphRequestFlags)flags;
/**
  The request parameters.
 */
/// The request parameters.
@property (nonatomic, copy) NSDictionary<NSString *, id> *parameters;
/**
  The access token string used by the request.
 */
/// The access token string used by the request.
@property (nullable, nonatomic, readonly, copy) NSString *tokenString;
/**
  The Graph API endpoint to use for the request, for example "me".
 */
/// The Graph API endpoint to use for the request, for example "me".
@property (nonatomic, readonly, copy) NSString *graphPath;
/**
  The HTTPMethod to use for the request, for example "GET" or "POST".
 */
/// The HTTPMethod to use for the request, for example "GET" or "POST".
@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod;
/**
  The Graph API version to use (e.g., "v2.0")
 */
/// The Graph API version to use (e.g., "v2.0")
@property (nonatomic, readonly, copy) NSString *version;
/**
  If set, disables the automatic error recovery mechanism.
 If set, disables the automatic error recovery mechanism.
 @param disable whether to disable the automatic error recovery mechanism
 By default, non-batched FBSDKGraphRequest instances will automatically try to recover
@@ -168,7 +158,7 @@
// UNCRUSTIFY_FORMAT_ON
/**
  Starts a connection to the Graph API.
 Starts a connection to the Graph API.
 @param completion The handler block to call when the request completes.
 */
- (id<FBSDKGraphRequestConnecting>)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion;