public enum EddystoneService extends java.lang.Enum<EddystoneService>
Enum Constant and Description |
---|
BATTERY_LEVEL
The Battery level service.
|
CONTROL_SERVICE
The Control service.
|
DEVICE_INFORMATION_SERVICE
The Device information service.
|
PROXIMITY_SERVICE
The Proximity Service.
|
SENSORS_SERVICE
The Sensors service.
|
TIMING_SERVICE
The Timing service.
|
TX_POWER
The Tx power service.
|
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getId()
Provides service UUID.
|
java.lang.String |
getName()
Provides service name.
|
static java.util.Set<EddystoneService> |
getRequiredServices()
Provides required services.
|
static EddystoneService |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EddystoneService |
valueOf(java.util.UUID id)
Returns ServiceModel by given Service Id.
|
static EddystoneService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EddystoneService PROXIMITY_SERVICE
public static final EddystoneService TIMING_SERVICE
public static final EddystoneService CONTROL_SERVICE
public static final EddystoneService TX_POWER
public static final EddystoneService DEVICE_INFORMATION_SERVICE
public static final EddystoneService BATTERY_LEVEL
public static final EddystoneService SENSORS_SERVICE
public static EddystoneService[] values()
for (EddystoneService c : EddystoneService.values()) System.out.println(c);
public static EddystoneService 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 EddystoneService valueOf(java.util.UUID id)
id
- the idpublic static java.util.Set<EddystoneService> getRequiredServices()