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