Enum Class BlukiiSubType

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

public enum BlukiiSubType extends Enum<BlukiiSubType>
Enum BlukiiSubType represents the subtypes a blukii can have
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static BlukiiSubType[] 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 BlukiiSubType 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
    • getFirmwareBase

      public String getFirmwareBase()
      Gets the Firmware base version without the build version
      Returns:
      Firmware version string (3 chars)
    • getType

      public BlukiiType getType()
      Gets the blukii base type
      Returns:
      blukii base type
    • getLabel

      public String getLabel()
      Gets the blukii label name
      Returns:
      blukii label name
    • from

      public static BlukiiSubType from(String firmwareBase)
      Parses the firmware string and gets the blukii sub type
      Parameters:
      firmwareBase - firmware base number as string (e.g. "002")
      Returns:
      blukii sub type