IAPPurchaseResult
public struct IAPPurchaseResult
The result returned in the purchase() callback.
-
The result state.
Declaration
Swift
public internal(set) var state: IAPPurchaseResultState { get } -
If the state is
failed, the result can return anSKError. The error occurred during the processing of the purchase by the App Store.Declaration
Swift
public internal(set) var skError: SKError? { get } -
If there is an error, return the localized description.
Declaration
Swift
public var localizedDescription: String? { get }
View on GitHub
IAPPurchaseResult Structure Reference