public enum KontaktDeviceService extends java.lang.Enum<KontaktDeviceService>
Enum Constant and Description |
---|
BATTERY_LEVEL
Beacon Battery Service Model.
|
CONTROL
Beacon Control Service Model.
|
DEVICE_INFORMATION
Beacon Information Service model.
|
DFU_SERVICE
The Firmware Upgrade Service.
|
GENERIC_ACCESS
Generic Access Service model .
|
GENERIC_ATTRIBUTE
Generic Attribute Service model.
|
PROXIMITY
Beacon Proximity Service Model.
|
SECURE_CONFIGURATION_SERVICE
The Secure config service introduced in 4.0 firmware
|
SENSORS_SERVICE
The Sensors service.
|
TIMERS
Beacon Timers Service Model.
|
TX_POWER
Beacon Measured Power Service model.
|
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getId()
Gets Service id.
|
java.lang.String |
getName()
Gets Service name.
|
static KontaktDeviceService |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KontaktDeviceService |
valueOf(java.util.UUID id)
Returns Service Model by given Service Id.
|
static KontaktDeviceService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KontaktDeviceService GENERIC_ACCESS
public static final KontaktDeviceService GENERIC_ATTRIBUTE
public static final KontaktDeviceService DEVICE_INFORMATION
public static final KontaktDeviceService TX_POWER
public static final KontaktDeviceService BATTERY_LEVEL
public static final KontaktDeviceService PROXIMITY
public static final KontaktDeviceService TIMERS
public static final KontaktDeviceService CONTROL
public static final KontaktDeviceService DFU_SERVICE
public static final KontaktDeviceService SENSORS_SERVICE
public static final KontaktDeviceService SECURE_CONFIGURATION_SERVICE
public static KontaktDeviceService[] values()
for (KontaktDeviceService c : KontaktDeviceService.values()) System.out.println(c);
public static KontaktDeviceService valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.util.UUID getId()
public java.lang.String getName()
public static KontaktDeviceService valueOf(java.util.UUID id)
id
- the id