public enum PowerSavingFeature extends java.lang.Enum<PowerSavingFeature>
Enum Constant and Description |
---|
LIGHT_SENSOR |
MOTION_DETECTION |
RTC |
Modifier and Type | Method and Description |
---|---|
static PowerSavingFeature |
fromString(java.lang.String value)
Returns PowerSavingFeature parsed from given string.
|
static PowerSavingFeature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PowerSavingFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerSavingFeature LIGHT_SENSOR
public static final PowerSavingFeature RTC
public static final PowerSavingFeature MOTION_DETECTION
public static PowerSavingFeature[] values()
for (PowerSavingFeature c : PowerSavingFeature.values()) System.out.println(c);
public static PowerSavingFeature 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 static PowerSavingFeature fromString(java.lang.String value)
value
- Input string.PowerSavingFeature
object or null if not applicable.