public enum WakeLockOptions extends java.lang.Enum<WakeLockOptions>
| Enum Constant and Description |
|---|
BRIGHT
Screen is on at full brightness.
|
SCREEN_BRIGHT
Screen is on at full brightness.
|
SCREEN_DIM
Screen is on but may be dimmed.
|
SCREEN_ON
Screen is on at full brightness.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFlag() |
static WakeLockOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WakeLockOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WakeLockOptions BRIGHT
public static final WakeLockOptions SCREEN_BRIGHT
public static final WakeLockOptions SCREEN_DIM
public static final WakeLockOptions SCREEN_ON
public static WakeLockOptions[] values()
for (WakeLockOptions c : WakeLockOptions.values()) System.out.println(c);
public static WakeLockOptions 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 int getFlag()