FBSDKBridgeAPIRequestProtocol.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. #import <FBSDKCoreKit/FBSDKBridgeAPIProtocolType.h>
  11. @protocol FBSDKBridgeAPIProtocol;
  12. NS_ASSUME_NONNULL_BEGIN
  13. /**
  14. Internal Type exposed to facilitate transition to Swift.
  15. API Subject to change or removal without warning. Do not use.
  16. @warning INTERNAL - DO NOT USE
  17. */
  18. NS_SWIFT_NAME(BridgeAPIRequestProtocol)
  19. @protocol FBSDKBridgeAPIRequest <NSObject, NSCopying>
  20. @property (nonatomic, readonly, copy) NSString *scheme;
  21. @property (nonatomic, readonly, copy) NSString *actionID;
  22. @property (nullable, nonatomic, readonly, copy) NSString *methodName;
  23. @property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType;
  24. @property (nullable, nonatomic, readonly, strong) id<FBSDKBridgeAPIProtocol> protocol;
  25. - (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef;
  26. @end
  27. NS_ASSUME_NONNULL_END
  28. #endif