|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DeviceSpeedState> com.biocomfort.TO.DeviceSpeedState
public enum DeviceSpeedState
The enumeration DeviceOnlineState
contains the possible
speed states of a medical device.
The communication speed of a device is increased automatically if it
communicates with the dongle (gateway) and is decreased if some inactive
time has elapsed, on unbinding the device or on exiting the sdk.
Note: A fast device speed will result in a higher power consumption
of the battery. Therefore it should be managed automatically.
MedicalDeviceTO.getSpeedState()
Enum Constant Summary | |
---|---|
FAST
The temporary speed state of a medical device when it communicates. |
|
STANDBY
The standard speed state of a medical device. |
|
UNDEFINED
The initial speed state of a medical device. |
Method Summary | |
---|---|
static DeviceSpeedState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DeviceSpeedState[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DeviceSpeedState UNDEFINED
DeviceSpeedState.STANDBY
or
DeviceSpeedState.FAST
.
public static final DeviceSpeedState STANDBY
public static final DeviceSpeedState FAST
Method Detail |
---|
public static final DeviceSpeedState[] values()
for(DeviceSpeedState c : DeviceSpeedState.values()) System.out.println(c);
public static DeviceSpeedState 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 name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |