FBSDKBridgeAPIRequestCreating.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 FBSDKBridgeAPIRequest;
  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(BridgeAPIRequestCreating)
  19. @protocol FBSDKBridgeAPIRequestCreating
  20. - (nullable id<FBSDKBridgeAPIRequest>)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType
  21. scheme:(NSString *)scheme
  22. methodName:(nullable NSString *)methodName
  23. parameters:(nullable NSDictionary<NSString *, id> *)parameters
  24. userInfo:(nullable NSDictionary<NSString *, id> *)userInfo;
  25. @end
  26. NS_ASSUME_NONNULL_END
  27. #endif