|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AutoUpdatePolicy>
com.biocomfort.SDK.AutoUpdatePolicy
public enum AutoUpdatePolicy
This enummeration is used to define one of three possible update strategies
of bound or unbound devices in the SDK, set with the methods
setUnboundAutoUpdatePolicy
and
setBoundAutoUpdatePolicy
.
If there are new devices in range online, there are no more information of
these devices except of their device id. With choosing an automatic update
policy for bound and unbound devices you can assign different behaviors to
the SDK for the case that information are missing.
SDK.setUnboundAutoUpdatePolicy(AutoUpdatePolicy)
,
SDK.setBoundAutoUpdatePolicy(AutoUpdatePolicy)
Enum Constant Summary | |
---|---|
AUTO_UPDATE_ALL_MISSING_DATA
Updates automatically all missing device information. |
|
AUTO_UPDATE_DISABLED
Disables all automatic updates. |
|
AUTO_UPDATE_MISSING_SERIAL_NUMBER
Reads the serial number of a device if it is missing. |
Method Summary | |
---|---|
static AutoUpdatePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AutoUpdatePolicy[] |
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 AutoUpdatePolicy AUTO_UPDATE_DISABLED
public static final AutoUpdatePolicy AUTO_UPDATE_MISSING_SERIAL_NUMBER
public static final AutoUpdatePolicy AUTO_UPDATE_ALL_MISSING_DATA
Method Detail |
---|
public static final AutoUpdatePolicy[] values()
for(AutoUpdatePolicy c : AutoUpdatePolicy.values()) System.out.println(c);
public static AutoUpdatePolicy 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 |