FBSDKURLHosting.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #if !TARGET_OS_TV
  10. NS_ASSUME_NONNULL_BEGIN
  11. NS_SWIFT_NAME(URLHosting)
  12. @protocol FBSDKURLHosting
  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. - (nullable NSURL *)appURLWithHost:(NSString *)host
  19. path:(NSString *)path
  20. queryParameters:(NSDictionary<NSString *, NSString *> *)queryParameters
  21. error:(NSError *__autoreleasing *)errorRef;
  22. /**
  23. Internal Type exposed to facilitate transition to Swift.
  24. API Subject to change or removal without warning. Do not use.
  25. @warning INTERNAL - DO NOT USE
  26. */
  27. - (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix
  28. path:(NSString *)path
  29. queryParameters:(NSDictionary<NSString *, NSString *> *)queryParameters
  30. error:(NSError *__autoreleasing *)errorRef
  31. NS_SWIFT_NAME(facebookURL(hostPrefix:path:queryParameters:));
  32. @end
  33. NS_ASSUME_NONNULL_END
  34. #endif