public enum BacklightMode extends java.lang.Enum<BacklightMode>
| Enum Constant and Description |
|---|
AUTO_BRIGHTNESS |
INVALID |
KEY_AND_MESSAGES |
KEY_AND_MESSAGES_AND_SMART_NOTIFICATIONS |
KEY_AND_MESSAGES_NIGHT |
MANUAL |
OFF |
SMART_NOTIFICATIONS |
| Modifier and Type | Field and Description |
|---|---|
protected short |
value |
| Modifier and Type | Method and Description |
|---|---|
static BacklightMode |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(BacklightMode value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static BacklightMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BacklightMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BacklightMode OFF
public static final BacklightMode MANUAL
public static final BacklightMode KEY_AND_MESSAGES
public static final BacklightMode AUTO_BRIGHTNESS
public static final BacklightMode SMART_NOTIFICATIONS
public static final BacklightMode KEY_AND_MESSAGES_NIGHT
public static final BacklightMode KEY_AND_MESSAGES_AND_SMART_NOTIFICATIONS
public static final BacklightMode INVALID
public static BacklightMode[] values()
for (BacklightMode c : BacklightMode.values()) System.out.println(c);
public static BacklightMode 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 BacklightMode getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(BacklightMode value)
value - The enum constantpublic short getValue()