UpdaterUpdateState

@objc(GSUpdaterUpdateState)
public enum UpdaterUpdateState : Int, CustomStringConvertible

Update state.

  • Some update file is being uploaded to the device.

    Declaration

    Swift

    case uploading
  • Some update file has been uploaded to the device, which is currently processing it.

    Note

    Although the application may cancel an update operation in this state, the device will still apply the uploaded firmware update.

    Declaration

    Swift

    case processing
  • Processing has been completed, now waiting for the device to reboot and reconnect. If automatic reboot has not been requested, a manual reboot should be triggered at this state.

    Declaration

    Swift

    case waitingForReboot
  • All requested updates have successfully been applied.

    Note

    After this state is notified, another change will be notified and currentUpdate will return nil.

    Declaration

    Swift

    case success
  • Some requested updates failed to be applied.

    Note

    After this state is notified, another change will be notified and currentUpdate will return nil.

    Declaration

    Swift

    case failed
  • Update operation was canceled by application request.

    Note

    After this state is notified, another change will be notified and currentUpdate will return nil.

    Declaration

    Swift

    case canceled
  • Debug description.

    Declaration

    Swift

    public var description: String { get }