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