lpw
2024-04-15 97fc0a41111c5a929ee8be9d6511775697ffa760
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 * All rights reserved.
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 */
 
#import <Foundation/Foundation.h>
 
#import <FBSDKCoreKit/FBSDKGraphRequestFlags.h>
 
@protocol FBSDKGraphRequest;
 
typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod);
 
NS_ASSUME_NONNULL_BEGIN
 
/**
 Internal type not intended for use outside of the SDKs.
 
Describes anything that can provide instances of `GraphRequestProtocol`
 */
NS_SWIFT_NAME(GraphRequestFactoryProtocol)
@protocol FBSDKGraphRequestFactory
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                             tokenString:(nullable NSString *)tokenString
                                              HTTPMethod:(nullable FBSDKHTTPMethod)method
                                                   flags:(FBSDKGraphRequestFlags)flags
                                            forAppEvents:(BOOL)forAppEvents;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                             tokenString:(nullable NSString *)tokenString
                                              HTTPMethod:(nullable FBSDKHTTPMethod)method
                                                   flags:(FBSDKGraphRequestFlags)flags
                                            forAppEvents:(BOOL)forAppEvents
                       useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                             tokenString:(nullable NSString *)tokenString
                                              HTTPMethod:(nullable FBSDKHTTPMethod)method
                                                   flags:(FBSDKGraphRequestFlags)flags;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                             tokenString:(nullable NSString *)tokenString
                                              HTTPMethod:(nullable FBSDKHTTPMethod)method
                                                   flags:(FBSDKGraphRequestFlags)flags
                       useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                       useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                       useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                              HTTPMethod:(FBSDKHTTPMethod)method;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                              HTTPMethod:(FBSDKHTTPMethod)method
                       useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                             tokenString:(nullable NSString *)tokenString
                                                 version:(nullable NSString *)version
                                              HTTPMethod:(FBSDKHTTPMethod)method;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                             tokenString:(nullable NSString *)tokenString
                                                 version:(nullable NSString *)version
                                              HTTPMethod:(FBSDKHTTPMethod)method
                                            forAppEvents:(BOOL)forAppEvents;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                             tokenString:(nullable NSString *)tokenString
                                                 version:(nullable NSString *)version
                                              HTTPMethod:(FBSDKHTTPMethod)method
                                            forAppEvents:(BOOL)forAppEvents
                       useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
 
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                                   flags:(FBSDKGraphRequestFlags)flags;
 
- (id<FBSDKGraphRequest>)createGraphRequestWithGraphPath:(NSString *)graphPath
                                              parameters:(NSDictionary<NSString *, id> *)parameters
                                                   flags:(FBSDKGraphRequestFlags)flags
                       useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
 
@end
 
NS_ASSUME_NONNULL_END