lpw
2022-02-15 2e29a3a585524a054640bb6e7bdf26fe77ba1f17
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 <UIKit/UIKit.h>
14
15  #import <FBSDKCoreKit/FBSDKBridgeAPIProtocol.h>
16  #import <FBSDKCoreKit/FBSDKBridgeAPIProtocolType.h>
17  #import <FBSDKCoreKit/FBSDKBridgeAPIRequest.h>
18  #import <FBSDKCoreKit/FBSDKBridgeAPIRequestOpening.h>
19  #import <FBSDKCoreKit/FBSDKBridgeAPIResponse.h>
20  #import <FBSDKCoreKit/FBSDKConstants.h>
21  #import <FBSDKCoreKit/FBSDKURLOpener.h>
22  #import <FBSDKCoreKit/FBSDKURLOpening.h>
23
24 NS_ASSUME_NONNULL_BEGIN
25
26 /**
27  Internal Type exposed to facilitate transition to Swift.
28  API Subject to change or removal without warning. Do not use.
29
30  @warning INTERNAL - DO NOT USE
31  */
32 typedef void (^FBSDKAuthenticationCompletionHandler)(NSURL *_Nullable callbackURL, NSError *_Nullable error);
33
34 /**
35  Internal Type exposed to facilitate transition to Swift.
36  API Subject to change or removal without warning. Do not use.
37
38  @warning INTERNAL - DO NOT USE
39  */
40 NS_SWIFT_NAME(BridgeAPI)
41 @interface FBSDKBridgeAPI : NSObject <FBSDKBridgeAPIRequestOpening, FBSDKURLOpener>
42
43 @property (class, nonatomic, readonly, strong) FBSDKBridgeAPI *sharedInstance
44 NS_SWIFT_NAME(shared);
45 @property (nonatomic, readonly, getter = isActive) BOOL active;
46
47 - (instancetype)init NS_UNAVAILABLE;
48 + (instancetype)new NS_UNAVAILABLE;
49
50 @end
51
52 NS_ASSUME_NONNULL_END
53
54 #endif