public static enum Camera.Lens extends java.lang.Enum<Camera.Lens>
Modifier and Type | Method and Description |
---|---|
static Camera.Lens |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Camera.Lens[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Camera.Lens PINHOLE
public static final Camera.Lens NORMAL
public static final Camera.Lens FISHEYE
public static final Camera.Lens SPHERICAL
public static Camera.Lens[] values()
for (Camera.Lens c : Camera.Lens.values()) System.out.println(c);
public static Camera.Lens 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
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License