public enum AmbientLightStatus extends Enum<AmbientLightStatus>
| Enum Constant and Description |
|---|
DAY |
INVALID |
NIGHT |
TWILIGHT_1 |
TWILIGHT_2 |
TWILIGHT_3 |
TWILIGHT_4 |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static AmbientLightStatus |
valueForString(String value)
Convert String to AmbientLightStatus
|
static AmbientLightStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmbientLightStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmbientLightStatus NIGHT
public static final AmbientLightStatus TWILIGHT_1
public static final AmbientLightStatus TWILIGHT_2
public static final AmbientLightStatus TWILIGHT_3
public static final AmbientLightStatus TWILIGHT_4
public static final AmbientLightStatus DAY
public static final AmbientLightStatus UNKNOWN
public static final AmbientLightStatus INVALID
public static AmbientLightStatus[] values()
for (AmbientLightStatus c : AmbientLightStatus.values()) System.out.println(c);
public static AmbientLightStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AmbientLightStatus valueForString(String value)
value - String