IAPRefreshResult
public struct IAPRefreshResult
The result returned in the refresh()
or restorePurchases()
callback.
-
The result state.
Declaration
Swift
public internal(set) var state: IAPRefreshResultState { get }
-
If the state is
succeeded
, returns the number of purchases that have been added.Declaration
Swift
public internal(set) var addedPurchases: Int { get }
-
If the state is
succeeded
, returns the number of purchases that have been updated.Declaration
Swift
public internal(set) var updatedPurchases: Int { get }