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 #if !TARGET_OS_TV
10
11 #import <CoreGraphics/CGGeometry.h>
12 #import <CoreGraphics/CoreGraphics.h>
13 #import <Foundation/Foundation.h>
14
15 #import <FBSDKCoreKit/FBSDKWebDialogDelegate.h>
16
17 @protocol FBSDKWindowFinding;
18
19 NS_ASSUME_NONNULL_BEGIN
20
21 /**
22  Internal Type exposed to facilitate transition to Swift.
23  API Subject to change or removal without warning. Do not use.
24
25  @warning INTERNAL - DO NOT USE
26  */
27 NS_SWIFT_NAME(WebDialog)
28 @interface FBSDKWebDialog : NSObject
29
30 /**
31  Internal Type exposed to facilitate transition to Swift.
32  API Subject to change or removal without warning. Do not use.
33
34  @warning INTERNAL - DO NOT USE
35  */
36 @property (nonatomic) BOOL shouldDeferVisibility;
37
38 /**
39  Internal Type exposed to facilitate transition to Swift.
40  API Subject to change or removal without warning. Do not use.
41
42  @warning INTERNAL - DO NOT USE
43  */
44 @property (nullable, nonatomic, strong) id<FBSDKWindowFinding> windowFinder;
45
46 + (instancetype)new NS_UNAVAILABLE;
47 - (instancetype)init NS_UNAVAILABLE;
48
49 /**
50  Internal Type exposed to facilitate transition to Swift.
51  API Subject to change or removal without warning. Do not use.
52
53  @warning INTERNAL - DO NOT USE
54  */
55 + (instancetype)dialogWithName:(NSString *)name
56                       delegate:(id<FBSDKWebDialogDelegate>)delegate;
57
58 /**
59  Internal Type exposed to facilitate transition to Swift.
60  API Subject to change or removal without warning. Do not use.
61
62  @warning INTERNAL - DO NOT USE
63  */
64 // UNCRUSTIFY_FORMAT_OFF
65 + (instancetype)createAndShowWithName:(NSString *)name
66                            parameters:(nullable NSDictionary<NSString *, id> *)parameters
67                                 frame:(CGRect)frame
68                              delegate:(id<FBSDKWebDialogDelegate>)delegate
69                          windowFinder:(nullable id<FBSDKWindowFinding>)windowFinder
70 NS_SWIFT_NAME(createAndShow(name:parameters:frame:delegate:windowFinder:));
71 // UNCRUSTIFY_FORMAT_ON
72
73 @end
74
75 NS_ASSUME_NONNULL_END
76
77 #endif