public enum IBeaconService extends java.lang.Enum<IBeaconService>
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 Battery Service Model.
|
TIMERS
Beacon Battery 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 IBeaconService |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IBeaconService |
valueOf(java.util.UUID id)
Returns Service Model by given Service Id.
|
static IBeaconService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IBeaconService GENERIC_ACCESS
public static final IBeaconService GENERIC_ATTRIBUTE
public static final IBeaconService DEVICE_INFORMATION
public static final IBeaconService TX_POWER
public static final IBeaconService BATTERY_LEVEL
public static final IBeaconService PROXIMITY
public static final IBeaconService TIMERS
public static final IBeaconService CONTROL
public static final IBeaconService DFU_SERVICE
public static IBeaconService[] values()
for (IBeaconService c : IBeaconService.values()) System.out.println(c);
public static IBeaconService 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 IBeaconService valueOf(java.util.UUID id)
id
- the id