public enum CameraSensorLocation extends java.lang.Enum<CameraSensorLocation>
Enum Constant and Description |
---|
Back
The back camera
|
Front
The front camera
|
NA
Information not available
|
Modifier and Type | Method and Description |
---|---|
static CameraSensorLocation |
fromInt(int i) |
static CameraSensorLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CameraSensorLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraSensorLocation NA
public static final CameraSensorLocation Back
public static final CameraSensorLocation Front
public static CameraSensorLocation[] values()
for (CameraSensorLocation c : CameraSensorLocation.values()) System.out.println(c);
public static CameraSensorLocation 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 static CameraSensorLocation fromInt(int i)