Package com.blukii.sdk.config
Enum Class DataUpdateStatus
- All Implemented Interfaces:
Serializable
,Comparable<DataUpdateStatus>
,Constable
Enum of success and error status for function (
Blukii.updateData(DataUpdateListener)
)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionblukii is already connected.Connection to blukii device has been failed.Update has been run, but there are one or more write actions with error.No cloud data is available for this blukii device.Update is not supported for this blukii type.(Blukii.updateData(DataUpdateListener)
) has been called before and is still running.All write actions has been successful.Undefined error.Device is up to date, no write actions needed. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataUpdateStatus
Returns the enum constant of this class with the specified name.static DataUpdateStatus[]
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. -
UpToDate
Device is up to date, no write actions needed. -
ErrorUpdateRunning
(Blukii.updateData(DataUpdateListener)
) has been called before and is still running. -
ErrorConnected
blukii is already connected. Update is only valid for disconnected blukiis. -
ErrorConnectionFailed
Connection to blukii device has been failed. -
ErrorNoCloudData
No cloud data is available for this blukii device. Call (DataManager.sync(DataManager.OnSyncListener, List)
) for downloading data. -
ErrorUnsupportedType
Update is not supported for this blukii type. -
ErrorFailedActions
Update has been run, but there are one or more write actions with error. -
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
-