public enum CameraOrientation extends java.lang.Enum<CameraOrientation>
| Enum Constant and Description |
|---|
LANDSCAPE_LEFT
Landscape (left) camera orientation.
|
LANDSCAPE_RIGHT
Landscape (right) camera orientation.
|
PORTRAIT
Portrait (natural) camera orientation.
|
PORTRAIT_INVERTED
Portrait (inverted) camera orientation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getVal()
Gets camera orientation.
|
static CameraOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CameraOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraOrientation PORTRAIT
public static final CameraOrientation LANDSCAPE_LEFT
public static final CameraOrientation LANDSCAPE_RIGHT
public static final CameraOrientation PORTRAIT_INVERTED
public static CameraOrientation[] values()
for (CameraOrientation c : CameraOrientation.values()) System.out.println(c);
public static CameraOrientation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getVal()