FBSDKPaymentObserving.h 898 B

123456789101112131415161718192021222324252627282930
  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. NS_ASSUME_NONNULL_BEGIN
  10. /**
  11. Internal type exposed to facilitate transition to Swift.
  12. API Subject to change or removal without warning. Do not use.
  13. @warning INTERNAL - DO NOT USE
  14. */
  15. // Protocol of the class to encapsulate implicit logging of purchase events
  16. NS_SWIFT_NAME(_PaymentObserving)
  17. @protocol FBSDKPaymentObserving
  18. // These methods need Swift name overrides since they otherwise get changed to
  19. // `startTransactions` and `stopTransactions` otherwise.
  20. - (void)startObservingTransactions NS_SWIFT_NAME(startObservingTransactions());
  21. - (void)stopObservingTransactions NS_SWIFT_NAME(stopObservingTransactions());
  22. @end
  23. NS_ASSUME_NONNULL_END