commit | author | age
|
2e29a3
|
1 |
/* |
L |
2 |
* Copyright (c) Meta Platforms, Inc. and affiliates. |
|
3 |
* All rights reserved. |
|
4 |
* |
|
5 |
* This source code is licensed under the license found in the |
|
6 |
* LICENSE file in the root directory of this source tree. |
|
7 |
*/ |
|
8 |
|
|
9 |
#import <TargetConditionals.h> |
|
10 |
|
|
11 |
#if !TARGET_OS_TV |
|
12 |
|
|
13 |
#import <Foundation/Foundation.h> |
|
14 |
|
|
15 |
NS_ASSUME_NONNULL_BEGIN |
|
16 |
|
|
17 |
typedef void (^FBGraphRequestCompletion)(id _Nullable result, NSError *_Nullable error); |
|
18 |
|
|
19 |
NS_SWIFT_NAME(AEMNetworking) |
|
20 |
@protocol FBAEMNetworking |
|
21 |
|
|
22 |
- (void)startGraphRequestWithGraphPath:(NSString *)graphPath |
|
23 |
parameters:(NSDictionary<NSString *, id> *)parameters |
|
24 |
tokenString:(nullable NSString *)tokenString |
|
25 |
HTTPMethod:(nullable NSString *)method |
|
26 |
completion:(FBGraphRequestCompletion)completion; |
|
27 |
|
|
28 |
@end |
|
29 |
|
|
30 |
NS_ASSUME_NONNULL_END |
|
31 |
|
|
32 |
#endif |