Package com.blukii.sdk.config
Enum Class FirmwareUpdateStatus
- All Implemented Interfaces:
Serializable
,Comparable<FirmwareUpdateStatus>
,Constable
Enum of success and error status for function (
Blukii.updateFirmware(FirmwareUpdateListener)
)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUpdate is canceled by user callbackFirmwareUpdateListener.onProgress(FirmwareUpdateProgress, Object)
blukii is already connected.Connection to blukii device has been failed.Connection to blukii has been lost during update.Device initialization has been failed.Target firmware image file could not be download.Downloaded target firmware image has invalid content or format.Error during transfer of target firmware image to blukii device.Target firmware version can not be determined.Firmware update is already running.All write actions has been successful.Undefined error. -
Method Summary
Modifier and TypeMethodDescriptionstatic FirmwareUpdateStatus
Returns the enum constant of this class with the specified name.static FirmwareUpdateStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Success
All write actions has been successful. -
Canceled
Update is canceled by user callbackFirmwareUpdateListener.onProgress(FirmwareUpdateProgress, Object)
-
ErrorUpdateRunning
Firmware update is already running. It is allowed only one update. -
ErrorConnected
blukii is already connected. Update is only valid for disconnected blukiis. -
ErrorConnectionFailed
Connection to blukii device has been failed. -
ErrorConnectionLost
Connection to blukii has been lost during update. -
ErrorDeviceInitFailed
Device initialization has been failed. -
ErrorTargetVersionNotFound
Target firmware version can not be determined. -
ErrorImageDownloadFailed
Target firmware image file could not be download. -
ErrorImageInvalid
Downloaded target firmware image has invalid content or format. -
ErrorImageTransferFailed
Error during transfer of target firmware image to blukii device. -
Undefined
Undefined error.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-