Package com.blukii.sdk.common
Enum Class BlukiiSubType
- All Implemented Interfaces:
Serializable
,Comparable<BlukiiSubType>
,Constable
Enum
BlukiiSubType
represents the subtypes a blukii can have- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionblukii sub type "Sensor Beacon" of Product Version 3.0blukii sub type "Smart Beacon" of Product Version 3.0blukii sub type "Smart Beacon Base 006" of Product Version 4.0blukii sub type "Smart Beacon Base 007" of Product Version 4.0blukii sub type "Smart Key" of Product Version 3.0blukii sub type "Unknown" -
Method Summary
Modifier and TypeMethodDescriptionstatic BlukiiSubType
Parses the firmware string and gets the blukii sub typeGets the Firmware base version without the build versiongetLabel()
Gets the blukii label namegetType()
Gets the blukii base typestatic BlukiiSubType
Returns the enum constant of this class with the specified name.static BlukiiSubType[]
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
-
UNKNOWN
blukii sub type "Unknown" -
SMART_KEY_3
blukii sub type "Smart Key" of Product Version 3.0- See Also:
-
SMART_BEACON_3
blukii sub type "Smart Beacon" of Product Version 3.0- See Also:
-
SMART_BEACON_4_BASE_6
blukii sub type "Smart Beacon Base 006" of Product Version 4.0- See Also:
-
SMART_BEACON_4_BASE_7
blukii sub type "Smart Beacon Base 007" of Product Version 4.0- See Also:
-
SENSOR_BEACON_3
blukii sub type "Sensor Beacon" of Product Version 3.0- See Also:
-
-
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
-
getFirmwareBase
Gets the Firmware base version without the build version- Returns:
- Firmware version string (3 chars)
-
getType
Gets the blukii base type- Returns:
- blukii base type
-
getLabel
Gets the blukii label name- Returns:
- blukii label name
-
from
Parses the firmware string and gets the blukii sub type- Parameters:
firmwareBase
- firmware base number as string (e.g. "002")- Returns:
- blukii sub type
-