FBSDKAppLinksBlock.h 672 B

12345678910111213141516171819202122232425262728
  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. @class FBSDKAppLink;
  11. NS_ASSUME_NONNULL_BEGIN
  12. /**
  13. Describes the callback for appLinkFromURLInBackground.
  14. @param appLinks the FBSDKAppLinks representing the deferred App Links
  15. @param error the error during the request, if any
  16. */
  17. typedef void (^ FBSDKAppLinksBlock)(NSDictionary<NSURL *, FBSDKAppLink *> *appLinks,
  18. NSError *_Nullable error)
  19. NS_SWIFT_NAME(AppLinksBlock);
  20. NS_ASSUME_NONNULL_END
  21. #endif