public enum SensorOrientation extends java.lang.Enum<SensorOrientation>
Enum Constant and Description |
---|
FACE_DOWN_LANDSCAPE_LEFT |
FACE_DOWN_LANDSCAPE_RIGHT |
FACE_DOWN_PORTRAIT_UPRIGHT |
FACE_DOWN_PORTRAIT_UPSIDE_DOWN |
FACE_UP_LANDSCAPE_LEFT |
FACE_UP_LANDSCAPE_RIGHT |
FACE_UP_PORTRAIT_UPRIGHT |
FACE_UP_PORTRAIT_UPSIDE_DOWN |
Modifier and Type | Method and Description |
---|---|
static SensorOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SensorOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensorOrientation FACE_UP_PORTRAIT_UPRIGHT
public static final SensorOrientation FACE_UP_PORTRAIT_UPSIDE_DOWN
public static final SensorOrientation FACE_UP_LANDSCAPE_LEFT
public static final SensorOrientation FACE_UP_LANDSCAPE_RIGHT
public static final SensorOrientation FACE_DOWN_PORTRAIT_UPRIGHT
public static final SensorOrientation FACE_DOWN_PORTRAIT_UPSIDE_DOWN
public static final SensorOrientation FACE_DOWN_LANDSCAPE_LEFT
public static final SensorOrientation FACE_DOWN_LANDSCAPE_RIGHT
public static SensorOrientation[] values()
for (SensorOrientation c : SensorOrientation.values()) System.out.println(c);
public static SensorOrientation 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 null