Instance Property

timeRemaining

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

Declaration

var timeRemaining: TimeInterval { get }

Discussion

The system attempts to estimate how long it will take to finish downloading the file. If it cannot create a good estimate, the value of this property is set to SKDownloadTimeRemainingUnknown.

See Also

Getting State Information

var state: SKDownloadState

The current state of the download object.

var progress: Float

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

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