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