FBSDKConversionValueUpdating.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #import <StoreKit/StoreKit.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Internal type exposed to facilitate transition to Swift.
  13. API Subject to change or removal without warning. Do not use.
  14. @warning INTERNAL - DO NOT USE
  15. */
  16. NS_SWIFT_NAME(_ConversionValueUpdating)
  17. @protocol FBSDKConversionValueUpdating
  18. + (void)updateConversionValue:(NSInteger)conversionValue;
  19. + (void)updateCoarseConversionValue:(NSString *)coarseConversionValue;
  20. + (void)updatePostbackConversionValue:(NSInteger)conversionValue
  21. completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(15.4));
  22. + (void)updatePostbackConversionValue:(NSInteger)fineValue
  23. coarseValue:(SKAdNetworkCoarseConversionValue)coarseValue
  24. completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(16.1));
  25. + (void)updatePostbackConversionValue:(NSInteger)fineValue
  26. coarseValue:(SKAdNetworkCoarseConversionValue)coarseValue
  27. lockWindow:(BOOL)lockWindow
  28. completionHandler:(nullable void (^)(NSError *__nullable error))completion API_AVAILABLE(ios(16.1));
  29. @end
  30. /**
  31. Internal conformance exposed to facilitate transition to Swift.
  32. API Subject to change or removal without warning. Do not use.
  33. @warning INTERNAL - DO NOT USE
  34. */
  35. @interface SKAdNetwork (ConversionValueUpdating) <FBSDKConversionValueUpdating>
  36. @end
  37. NS_ASSUME_NONNULL_END