public enum CameraResolutionPreset extends java.lang.Enum<CameraResolutionPreset>
Enum Constant and Description |
---|
P1280x720
The 1280×720 resolution preset.
|
P1920x1080
The 1920×1080 resolution preset.
|
P640x360
The 640×360 resolution preset.
|
P640x480
The 640×480 resolution preset.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets resolution preset height.
|
int |
getWidth()
Gets resolution preset width.
|
static CameraResolutionPreset |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CameraResolutionPreset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraResolutionPreset P640x480
public static final CameraResolutionPreset P640x360
public static final CameraResolutionPreset P1280x720
public static final CameraResolutionPreset P1920x1080
public static CameraResolutionPreset[] values()
for (CameraResolutionPreset c : CameraResolutionPreset.values()) System.out.println(c);
public static CameraResolutionPreset 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 getWidth()
public int getHeight()