commit | author | age
|
e0ec42
|
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 |
/// Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. |
|
14 |
typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { |
|
15 |
FBSDKShareBridgeOptionsDefault = 0, |
|
16 |
FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, |
|
17 |
FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed |
|
18 |
FBSDKShareBridgeOptionsVideoAsset = 1 << 2, |
|
19 |
FBSDKShareBridgeOptionsVideoData = 1 << 3, |
|
20 |
FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string |
|
21 |
} NS_SWIFT_NAME(ShareBridgeOptions); |
|
22 |
|
|
23 |
NS_ASSUME_NONNULL_END |