public static enum Screen.LockOrientation extends Enum<Screen.LockOrientation>
| Enum Constant and Description |
|---|
any |
landscape |
landscape_primary |
landscape_secondary |
natural |
portrait |
portrait_primary |
portrait_secondary |
| Modifier and Type | Method and Description |
|---|---|
static ScreenOrientation.OrientationType |
fromString(String str) |
String |
toString() |
static Screen.LockOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Screen.LockOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Screen.LockOrientation any
public static final Screen.LockOrientation natural
public static final Screen.LockOrientation landscape
public static final Screen.LockOrientation portrait
public static final Screen.LockOrientation portrait_primary
public static final Screen.LockOrientation portrait_secondary
public static final Screen.LockOrientation landscape_primary
public static final Screen.LockOrientation landscape_secondary
public static Screen.LockOrientation[] values()
for (Screen.LockOrientation c : Screen.LockOrientation.values()) System.out.println(c);
public static Screen.LockOrientation 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 nullpublic String toString()
toString in class Enum<Screen.LockOrientation>public static ScreenOrientation.OrientationType fromString(String str)
Copyright © 2020 XDEV Software Corp.. All rights reserved.