PurchasedProductDetailsFetchDelegate
public protocol PurchasedProductDetailsFetchDelegate : AnyObject
Notified of any purchased item details fetch results
-
Called when the
AnyPurchasedProductDetails
was fetched successfully- result: Fetched
AnyPurchasedProductDetails
Declaration
Swift
func purchasedProductDetailsFetchDidSucceedWith(_ result: AnyPurchasedProductDetails)
- result: Fetched
-
Called when there was an error fetching any purchased item details
- error: The
Error
representing the reason for failure. No specific errors to look for here. Best course of action is to just display a generic error message.
Declaration
Swift
func purchasedProductDetailsFetchDidFailWith(_ error: Error)
- error: The