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 <UIKit/UIKit.h> |
|
12 |
|
|
13 |
NS_ASSUME_NONNULL_BEGIN |
|
14 |
|
|
15 |
NS_SWIFT_NAME(DeviceDialogViewDelegate) |
|
16 |
@protocol FBSDKDeviceDialogViewDelegate; |
|
17 |
|
|
18 |
/** |
|
19 |
Internal Type exposed to facilitate transition to Swift. |
|
20 |
API Subject to change or removal without warning. Do not use. |
|
21 |
|
|
22 |
@warning INTERNAL - DO NOT USE |
|
23 |
*/ |
|
24 |
|
|
25 |
NS_SWIFT_NAME(FBDeviceDialogView) |
|
26 |
@interface FBSDKDeviceDialogView : UIView |
|
27 |
|
|
28 |
@property (nonatomic, weak) id<FBSDKDeviceDialogViewDelegate> delegate; |
|
29 |
@property (nonatomic, copy) NSString *confirmationCode; |
|
30 |
|
|
31 |
// override point for subclasses. |
|
32 |
- (void)buildView; |
|
33 |
|
|
34 |
@end |
|
35 |
|
|
36 |
NS_SWIFT_NAME(DeviceDialogViewDelegate) |
|
37 |
@protocol FBSDKDeviceDialogViewDelegate <NSObject> |
|
38 |
|
|
39 |
- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; |
|
40 |
|
|
41 |
@end |
|
42 |
|
|
43 |
NS_ASSUME_NONNULL_END |
|
44 |
|
|
45 |
#endif |