Interface CommandExecutionFacade.FirmwareUpgradeProgress

  • Enclosing interface:
    CommandExecutionFacade

    public static interface CommandExecutionFacade.FirmwareUpgradeProgress
    Returns information on a firmware upgrade progress. The information contained in this structure can be used to update a user interface during a firmware update, to continue interrupted firmware upgrades and to determine whether the upgrade has finished and the lock has started to reboot.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getNofChunksCompleted()
      Returns the number of chunks of the given firmware package that have been uploaded to the lock.
      Float getProgress()
      The overall progress of the firmware upgrade.
      boolean hasActivationStarted()
      Returns whether the activation phase of the firmware upgrade has started and the lock is rebooting into the newly installed firmware.
    • Method Detail

      • getProgress

        Float getProgress()
        The overall progress of the firmware upgrade. Can be used to indicate the upgrade's progress in a user interface.
        Returns:
        the overall progress of the firmware upgrade from 0 to 1.
      • hasActivationStarted

        boolean hasActivationStarted()
        Returns whether the activation phase of the firmware upgrade has started and the lock is rebooting into the newly installed firmware.
        Returns:
        true, if the activation phase has started, false if not.