|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DeviceBindingState> com.biocomfort.TO.DeviceBindingState
public enum DeviceBindingState
The enummeration DeviceBindingState
contains the possible
binding states of a medical device. It provites also some progress
information for binding / unbinding processes and shows the availablity of a
medical devices.
It is only possible to interact with a device when its state is
DeviceBindingState.BOUND
or DeviceBindingState.UNBOUND
.
If the device is unbound the only available interation is to bind it.
MedicalDeviceTO.getBindingState()
Enum Constant Summary | |
---|---|
BINDING
Indivates that a medical device is in progress to be bound at the current time. |
|
BOUND
Indicates that a medical device is bound and ready to use and to interact with it. |
|
BUSY
Indicates that the device is currently comunicating with the usb dongle (gateway). |
|
TEMPORARY_BINDING
Indicates that the medical device is currently binding. |
|
TEMPORARY_BUSY
Indicates that the device is currently comunicating with the usb dongle (gateway). |
|
TEMPORARY_UNBINDING
Indicates that the device is currently unbinding. |
|
UNBINDING
Indicates that a medical device is in progress to be unbound at the current time. |
|
UNBOUND
Indicates that a medical device is unbound and ready to bind it. |
|
UNDEFINED
The initial binding state of every medical device. |
Method Summary | |
---|---|
int |
getValue()
Returns an integer value that represents the medical device's binding state. |
static DeviceBindingState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DeviceBindingState[] |
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 DeviceBindingState UNDEFINED
DeviceBindingState.BOUND
or
DeviceBindingState.UNBOUND
.
public static final DeviceBindingState UNBOUND
SKD.bindDevice()
or
SKD.bindDevices()
can only be called for devices with the
binding state DeviceBindingState.UNBOUND
.
SDK.bindDevice(MedicalDeviceTO)
,
SDK.bindDevices(java.util.List)
public static final DeviceBindingState BOUND
DeviceBindingState.BOUND
public static final DeviceBindingState BINDING
public static final DeviceBindingState UNBINDING
public static final DeviceBindingState BUSY
public static final DeviceBindingState TEMPORARY_BUSY
SDK.setUnboundAutoUpdatePolicy(
com.biocomfort.SDK.AutoUpdatePolicy)
public static final DeviceBindingState TEMPORARY_BINDING
SDK.setUnboundAutoUpdatePolicy(
com.biocomfort.SDK.AutoUpdatePolicy)
public static final DeviceBindingState TEMPORARY_UNBINDING
SDK.setUnboundAutoUpdatePolicy(
com.biocomfort.SDK.AutoUpdatePolicy)
Method Detail |
---|
public static final DeviceBindingState[] values()
for(DeviceBindingState c : DeviceBindingState.values()) System.out.println(c);
public static DeviceBindingState 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 namepublic int getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |