public static enum WakeLock.Flag extends java.lang.Enum<WakeLock.Flag>
| Enum Constant and Description |
|---|
ACQUIRE_CAUSES_WAKEUP |
ON_AFTER_RELEASE |
| Modifier and Type | Method and Description |
|---|---|
static WakeLock.Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WakeLock.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WakeLock.Flag ACQUIRE_CAUSES_WAKEUP
PowerManager.ACQUIRE_CAUSES_WAKEUPpublic static final WakeLock.Flag ON_AFTER_RELEASE
PowerManager.ON_AFTER_RELEASEpublic static WakeLock.Flag[] values()
for (WakeLock.Flag c : WakeLock.Flag.values()) System.out.println(c);
public static WakeLock.Flag 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 nullCopyright © 2010-2014. All Rights Reserved.