public enum CameraMode extends java.lang.Enum<CameraMode>
Enum Constant and Description |
---|
DISABLED
Disabled camera mode.
|
MODE_0
Automatic selection (default).
|
MODE_1
Size: 1920x1080 | Aspect ratio: 16:9 | Frame rates: 1-30fps | FOV: Partial | Binning: None.
|
MODE_2
Size: 2592x1944 | Aspect ratio: 4:3 | Frame rates: 1-15fps | FOV: Full | Binning: None
|
MODE_3
Size: 2592x1944 | Aspect ratio: 4:3 | Frame rates: 0.1666-1fps | FOV: Full | Binning: None
|
MODE_4
Size: 1296x972 | Aspect ratio: 4:3 | Frame rates: 1-42fps | FOV: Full | Binning: 2x2
|
MODE_5
Size: 1296x730 | Aspect ratio: 16:9 | Frame rates: 1-49fps | FOV: Full | Binning: 2x2
|
MODE_6
Size: 640x480 | Aspect ratio: 4:3 | Frame rates: 42.1-60fps | FOV: Full | Binning: 2x2 plus skip
|
MODE_7
Size: 640x480 | Aspect ratio: 4:3 | Frame rates: 60.1-90fps | FOV: Full | Binning: 2x2 plus skip
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Get the value corresponding to this CameraMode.
|
static CameraMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CameraMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraMode DISABLED
public static final CameraMode MODE_0
public static final CameraMode MODE_1
public static final CameraMode MODE_2
public static final CameraMode MODE_3
public static final CameraMode MODE_4
public static final CameraMode MODE_5
public static final CameraMode MODE_6
public static final CameraMode MODE_7
public static CameraMode[] values()
for (CameraMode c : CameraMode.values()) System.out.println(c);
public static CameraMode 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 java.lang.String getValue()