Enum Class DataUpdateStatus

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

public enum DataUpdateStatus extends Enum<DataUpdateStatus>
Enum of success and error status for function (Blukii.updateData(DataUpdateListener))
  • Enum Constant Details

    • Success

      public static final DataUpdateStatus Success
      All write actions has been successful.
    • UpToDate

      public static final DataUpdateStatus UpToDate
      Device is up to date, no write actions needed.
    • ErrorUpdateRunning

      public static final DataUpdateStatus ErrorUpdateRunning
      (Blukii.updateData(DataUpdateListener)) has been called before and is still running.
    • ErrorConnected

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

      public static final DataUpdateStatus ErrorConnectionFailed
      Connection to blukii device has been failed.
    • ErrorNoCloudData

      public static final DataUpdateStatus ErrorNoCloudData
      No cloud data is available for this blukii device. Call (DataManager.sync(DataManager.OnSyncListener, List)) for downloading data.
    • ErrorUnsupportedType

      public static final DataUpdateStatus ErrorUnsupportedType
      Update is not supported for this blukii type.
    • ErrorFailedActions

      public static final DataUpdateStatus ErrorFailedActions
      Update has been run, but there are one or more write actions with error.
    • Undefined

      public static final DataUpdateStatus Undefined
      Undefined error.
  • Method Details

    • values

      public static DataUpdateStatus[] 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 DataUpdateStatus 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