Enum Class FirmwareUpdateStatus

java.lang.Object
java.lang.Enum<FirmwareUpdateStatus>
com.blukii.sdk.config.FirmwareUpdateStatus
All Implemented Interfaces:
Serializable, Comparable<FirmwareUpdateStatus>, Constable

public enum FirmwareUpdateStatus extends Enum<FirmwareUpdateStatus>
Enum of success and error status for function (Blukii.updateFirmware(FirmwareUpdateListener))
See Also:
  • Enum Constant Details

    • Success

      public static final FirmwareUpdateStatus Success
      All write actions has been successful.
    • Canceled

      public static final FirmwareUpdateStatus Canceled
    • ErrorUpdateRunning

      public static final FirmwareUpdateStatus ErrorUpdateRunning
      Firmware update is already running. It is allowed only one update.
    • ErrorConnected

      public static final FirmwareUpdateStatus ErrorConnected
      blukii is already connected. Update is only valid for disconnected blukiis.
    • ErrorConnectionFailed

      public static final FirmwareUpdateStatus ErrorConnectionFailed
      Connection to blukii device has been failed.
    • ErrorConnectionLost

      public static final FirmwareUpdateStatus ErrorConnectionLost
      Connection to blukii has been lost during update.
    • ErrorDeviceInitFailed

      public static final FirmwareUpdateStatus ErrorDeviceInitFailed
      Device initialization has been failed.
    • ErrorTargetVersionNotFound

      public static final FirmwareUpdateStatus ErrorTargetVersionNotFound
      Target firmware version can not be determined.
    • ErrorImageDownloadFailed

      public static final FirmwareUpdateStatus ErrorImageDownloadFailed
      Target firmware image file could not be download.
    • ErrorImageInvalid

      public static final FirmwareUpdateStatus ErrorImageInvalid
      Downloaded target firmware image has invalid content or format.
    • ErrorImageTransferFailed

      public static final FirmwareUpdateStatus ErrorImageTransferFailed
      Error during transfer of target firmware image to blukii device.
    • Undefined

      public static final FirmwareUpdateStatus Undefined
      Undefined error.
  • Method Details

    • values

      public static FirmwareUpdateStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FirmwareUpdateStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null