public enum KontaktDeviceService extends java.lang.Enum<KontaktDeviceService> implements GattServiceModel
| Enum Constant and Description | 
|---|
| BATTERY_LEVELBeacon Battery Service Model. | 
| CONTROLBeacon Control Service Model. | 
| DEVICE_INFORMATIONBeacon Information Service model. | 
| DFU_SERVICEThe Firmware Upgrade Service. | 
| GENERIC_ACCESSGeneric Access Service model . | 
| GENERIC_ATTRIBUTEGeneric Attribute Service model. | 
| PROXIMITYBeacon Battery Service Model. | 
| SECURE_CONFUGIRATION_SERVICEThe Secure config service introduced in 4.0 firmware | 
| SENSORS_SERVICEThe Sensors service. | 
| TIMERSBeacon Battery Service Model. | 
| TX_POWERBeacon Measured Power Service model. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.UUID | getId() | 
| java.lang.String | getName() | 
| 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_CONFUGIRATION_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()
getId in interface GattServiceModelpublic java.lang.String getName()
getName in interface GattServiceModelpublic static KontaktDeviceService valueOf(java.util.UUID id)
id - the id