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 <Foundation/Foundation.h> |
|
10 |
|
|
11 |
NS_ASSUME_NONNULL_BEGIN |
|
12 |
|
|
13 |
/// Constant used to describe the 'Message' dialog |
|
14 |
FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameMessage; |
|
15 |
/// Constant used to describe the 'Share' dialog |
|
16 |
FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameShare; |
|
17 |
|
|
18 |
/** |
|
19 |
A lightweight interface to expose aspects of FBSDKServerConfiguration that are used by dialogs in ShareKit. |
|
20 |
|
|
21 |
Internal Use Only |
|
22 |
*/ |
|
23 |
NS_SWIFT_NAME(ShareDialogConfiguration) |
|
24 |
@interface FBSDKShareDialogConfiguration : NSObject |
|
25 |
|
|
26 |
@property (nonatomic, readonly, copy) NSString *defaultShareMode; |
|
27 |
|
|
28 |
- (BOOL)shouldUseNativeDialogForDialogName:(NSString *)dialogName; |
|
29 |
- (BOOL)shouldUseSafariViewControllerForDialogName:(NSString *)dialogName; |
|
30 |
|
|
31 |
@end |
|
32 |
|
|
33 |
NS_ASSUME_NONNULL_END |