UpdaterDownload

public protocol UpdaterDownload : CustomStringConvertible

Ongoing update download state and progress.

  • Information on the current update being downloaded.

    Declaration

    Swift

    var currentFirmware: FirmwareInfo { 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 using downloadAllFirmwares().

    Declaration

    Swift

    var totalCount: Int { get }
  • Total download progress, in percent.

    Note

    This accounts for multiple firmware files that may be downloaded using downloadAllFirmwares().

    Declaration

    Swift

    var totalProgress: Int { get }
  • Current download state.

    Declaration

    Swift

    var state: UpdaterDownloadState { get }
  • description Extension method

    Debug description.

    Declaration

    Swift

    public var description: String { get }