DownloadProgressionState
public enum DownloadProgressionState
The state of the data downloading in the background
-
No downloading
Declaration
Swift
case idle
-
Loading in progress, the progression value is between 0 and 1
Declaration
Swift
case onGoing(progression: Double)
-
Gives the data that was downloaded with success
Declaration
Swift
case success(data: Data)
-
Download failed, with error
Declaration
Swift
case error(error: Error)