UpdaterUpdate
public protocol UpdaterUpdate
Ongoing update state and progress
-
Information on the current firmware update being applied.
Declaration
Swift
var currentFirmware: FirmwareInfo { 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 }