lipengwei
2019-09-27 f082c62bb40cad3ee93abd5432777ac0905eb374
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h
@@ -18,6 +18,12 @@
#import <Foundation/Foundation.h>
#ifndef DEPRECATED_FOR_MESSENGER
#define DEPRECATED_FOR_MESSENGER DEPRECATED_MSG_ATTRIBUTE("Sharing to Messenger via the SDK is unsupported. https://developers.facebook.com/docs/messenger-platform/changelog/#20190610. Sharing should be performed by the native share sheet.")
#endif
NS_ASSUME_NONNULL_BEGIN
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/**
@@ -25,7 +31,8 @@
 Error codes from the SDK in the range 200-299 are reserved for this domain.
 */
FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain;
FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain
NS_SWIFT_NAME(ShareErrorDomain);
#else
@@ -34,7 +41,8 @@
 Error codes from the SDK in the range 200-299 are reserved for this domain.
 */
FOUNDATION_EXPORT NSString *const FBSDKShareErrorDomain;
FOUNDATION_EXPORT NSString *const FBSDKShareErrorDomain
NS_SWIFT_NAME(ShareErrorDomain);
#endif
@@ -71,15 +79,6 @@
   @The error code for unknown errors.
   */
  FBSDKShareErrorUnknown,
};
} NS_SWIFT_NAME(ShareError);
/**
 Deprecated
 */
typedef NS_ENUM(NSInteger, FBSDKShareErrorCode)
{
  FBSDKShareReservedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareErrorReserved instead") = 200,
  FBSDKShareOpenGraphErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareErrorOpenGraph instead"),
  FBSDKShareDialogNotAvailableErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareErrorDialogNotAvailable instead"),
  FBSDKShareUnknownErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareErrorUnknown instead"),
} DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareError instead");
NS_ASSUME_NONNULL_END