Instance Property

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.

See Also

Getting State Information

var progress: Float

A value that indicates how much of the file has been downloaded.

var timeRemaining: TimeInterval

An estimated time, in seconds, to finish downloading the content.

var SKDownloadTimeRemainingUnknown: TimeInterval

Indicates that the system cannot determine how much time is needed to finish downloading the content.

enum SKDownloadState

The states that a download operation can be in.

var downloadState: SKDownloadState

The current state of the download object.

Deprecated