FBSDKPasteboard.h 804 B

1234567891011121314151617181920212223242526272829303132333435
  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. #if !TARGET_OS_TV
  9. #import <Foundation/Foundation.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Internal protocol exposed to facilitate transition to Swift.
  13. API Subject to change or removal without warning. Do not use.
  14. @warning INTERNAL - DO NOT USE
  15. */
  16. NS_SWIFT_NAME(_Pasteboard)
  17. @protocol FBSDKPasteboard
  18. @property (nonatomic, readonly) NSString *name;
  19. @property (nonatomic, readonly) BOOL _isGeneralPasteboard;
  20. - (nullable NSData *)dataForPasteboardType:(NSString *)pasteboardType;
  21. - (void)setData:(NSData *)data forPasteboardType:(NSString *)pasteboardType;
  22. @end
  23. NS_ASSUME_NONNULL_END
  24. #endif