FBSDKAppLinkNavigationBlock.h 702 B

1234567891011121314151617181920212223242526
  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 <FBSDKCoreKit/FBSDKAppLinkNavigationType.h>
  10. #import <Foundation/Foundation.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. /**
  13. Describes the callback for appLinkFromURLInBackground.
  14. @param navType the FBSDKAppLink representing the deferred App Link
  15. @param error the error during the request, if any
  16. */
  17. typedef void (^ FBSDKAppLinkNavigationBlock)(FBSDKAppLinkNavigationType navType, NSError *_Nullable error)
  18. NS_SWIFT_NAME(AppLinkNavigationBlock);
  19. NS_ASSUME_NONNULL_END
  20. #endif