state
The current state of the download object.
Declaration
var state: SKDownloadState { get }Discussion
After you queue a download object, the payment queue object calls your transaction observer when the state of the download object changes. Your transaction observer should read the state property and use it to determine how to proceed. For more information on the different states, see SKDownloadState.