FBSDKShareBridgeOptions.h 921 B

1234567891011121314151617181920212223
  1. /*
  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. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. /// Flags to indicate support for newer bridge options beyond the initial 20130410 implementation.
  11. typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) {
  12. FBSDKShareBridgeOptionsDefault = 0,
  13. FBSDKShareBridgeOptionsPhotoAsset = 1 << 0,
  14. FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed
  15. FBSDKShareBridgeOptionsVideoAsset = 1 << 2,
  16. FBSDKShareBridgeOptionsVideoData = 1 << 3,
  17. FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string
  18. } NS_SWIFT_NAME(ShareBridgeOptions);
  19. NS_ASSUME_NONNULL_END