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