GSUpdaterDownload
@objc
public protocol GSUpdaterDownload
Ongoing update download state and progress.
Note
This protocol is for Objective-C only. Swift must useUpdaterDownload
.
-
Information on the current update being downloaded.
Declaration
Swift
@objc(currentFirmware) var gsCurrentFirmware: GSFirmwareInfo { get }
-
Current update file download progress, in percent.
Declaration
Swift
var currentProgress: Int { get }
-
Index of the firmware update currently being downloaded. Index is in range 1…
totalProgress.count
.Declaration
Swift
var currentIndex: Int { get }
-
Count of all firmware updates that will be downloaded.
Note
This accounts for multiple firmware files that may be downloaded usingdownloadAllFirmwares()
.Declaration
Swift
var totalCount: Int { get }
-
Total download progress, in percent.
Note
This accounts for multiple firmware files that may be downloaded usingdownloadAllFirmwares()
.Declaration
Swift
var totalProgress: Int { get }
-
Current download state.
Declaration
Swift
var state: UpdaterDownloadState { get }