public static enum MetaImage.DevicePlatform extends Enum<MetaImage.DevicePlatform>
Enum Constant and Description |
---|
DevicePlatformAndroid
Android smartphones
|
DevicePlatformPad |
DevicePlatformPhone4
iPhones
|
DevicePlatformPhone4S |
DevicePlatformPhone5 |
DevicePlatformUnknown |
Modifier and Type | Method and Description |
---|---|
static MetaImage.DevicePlatform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetaImage.DevicePlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaImage.DevicePlatform DevicePlatformUnknown
public static final MetaImage.DevicePlatform DevicePlatformPhone4
public static final MetaImage.DevicePlatform DevicePlatformPhone4S
public static final MetaImage.DevicePlatform DevicePlatformPhone5
public static final MetaImage.DevicePlatform DevicePlatformPad
public static final MetaImage.DevicePlatform DevicePlatformAndroid
public static MetaImage.DevicePlatform[] values()
for (MetaImage.DevicePlatform c : MetaImage.DevicePlatform.values()) System.out.println(c);
public static MetaImage.DevicePlatform 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 null