public static enum VuforiaLocalizer.CameraDirection extends java.lang.Enum<VuforiaLocalizer.CameraDirection>
VuforiaLocalizer.CameraDirection enumerates the identities of the builtin phone cameras that Vuforia can use.| Enum Constant and Description |
|---|
BACK |
DEFAULT
|
FRONT |
UNKNOWN
A direction whose particulars are not actually known
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
direction |
| Modifier and Type | Method and Description |
|---|---|
static VuforiaLocalizer.CameraDirection |
from(java.lang.String string)
Converts a string to the corresponding camera direction.
|
int |
getDirection() |
static VuforiaLocalizer.CameraDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VuforiaLocalizer.CameraDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VuforiaLocalizer.CameraDirection BACK
public static final VuforiaLocalizer.CameraDirection FRONT
public static final VuforiaLocalizer.CameraDirection DEFAULT
public static final VuforiaLocalizer.CameraDirection UNKNOWN
public static VuforiaLocalizer.CameraDirection[] values()
for (VuforiaLocalizer.CameraDirection c : VuforiaLocalizer.CameraDirection.values()) System.out.println(c);
public static VuforiaLocalizer.CameraDirection 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 getDirection()
public static VuforiaLocalizer.CameraDirection from(java.lang.String string)