public static enum DeviceDescriptor.OS extends Enum<DeviceDescriptor.OS>
| Modifier and Type | Method and Description |
|---|---|
static DeviceDescriptor.OS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceDescriptor.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceDescriptor.OS ANDROID
public static final DeviceDescriptor.OS IOS
public static DeviceDescriptor.OS[] values()
for (DeviceDescriptor.OS c : DeviceDescriptor.OS.values()) System.out.println(c);
public static DeviceDescriptor.OS 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 nullCopyright © 2018. All rights reserved.