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 |
|
e0ec42
|
9 |
#import <TargetConditionals.h> |
L |
10 |
|
|
11 |
#if !TARGET_OS_TV |
|
12 |
|
2e29a3
|
13 |
NS_ASSUME_NONNULL_BEGIN |
L |
14 |
|
|
15 |
@protocol FBSDKURLOpening; |
|
16 |
|
|
17 |
/** |
|
18 |
Internal Type exposed to facilitate transition to Swift. |
|
19 |
API Subject to change or removal without warning. Do not use. |
|
20 |
|
|
21 |
@warning INTERNAL - DO NOT USE |
|
22 |
*/ |
|
23 |
NS_SWIFT_NAME(URLOpener) |
|
24 |
@protocol FBSDKURLOpener |
|
25 |
|
|
26 |
- (void)openURL:(NSURL *)url |
|
27 |
sender:(nullable id<FBSDKURLOpening>)sender |
|
28 |
handler:(FBSDKSuccessBlock)handler; |
|
29 |
|
|
30 |
// UNCRUSTIFY_FORMAT_OFF |
|
31 |
- (void)openURLWithSafariViewController:(NSURL *)url |
e0ec42
|
32 |
sender:(nullable id<FBSDKURLOpening>)sender |
L |
33 |
fromViewController:(nullable UIViewController *)fromViewController |
2e29a3
|
34 |
handler:(FBSDKSuccessBlock)handler |
L |
35 |
NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); |
|
36 |
// UNCRUSTIFY_FORMAT_ON |
|
37 |
|
|
38 |
@end |
|
39 |
|
|
40 |
NS_ASSUME_NONNULL_END |
e0ec42
|
41 |
|
L |
42 |
#endif |