public static enum Device.MemoryInfoType extends java.lang.Enum<Device.MemoryInfoType>
| Enum Constant and Description |
|---|
FREE_MEMORY |
TOTAL_MEMORY |
| Modifier and Type | Method and Description |
|---|---|
static Device.MemoryInfoType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Device.MemoryInfoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Device.MemoryInfoType TOTAL_MEMORY
public static final Device.MemoryInfoType FREE_MEMORY
public static Device.MemoryInfoType[] values()
for (Device.MemoryInfoType c : Device.MemoryInfoType.values()) System.out.println(c);
public static Device.MemoryInfoType 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 null