public static enum CameraStreamingSetting.PREVIEW_SIZE_LEVEL extends java.lang.Enum<CameraStreamingSetting.PREVIEW_SIZE_LEVEL>
According to preview size level CameraStreamingSetting.PREVIEW_SIZE_LEVEL
and preview size ratio
CameraStreamingSetting.PREVIEW_SIZE_RATIO
to decide a final preview size.
Whole supported camera preview size list from camera subsystem will be filtered by
CameraStreamingSetting.PREVIEW_SIZE_LEVEL
after CameraStreamingManager.resume()
successfully calling,
and then sorted the filtered list, selected a preview size for CameraStreamingSetting.PREVIEW_SIZE_LEVEL
from
sorted list respectively.
Enum Constant and Description |
---|
LARGE
The largest preview size of the sorted list.
|
MEDIUM
The medium preview size of the sorted list.
|
SMALL
The smallest preview size of the sorted list.
|
Modifier and Type | Method and Description |
---|---|
static CameraStreamingSetting.PREVIEW_SIZE_LEVEL |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CameraStreamingSetting.PREVIEW_SIZE_LEVEL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraStreamingSetting.PREVIEW_SIZE_LEVEL SMALL
public static final CameraStreamingSetting.PREVIEW_SIZE_LEVEL MEDIUM
public static final CameraStreamingSetting.PREVIEW_SIZE_LEVEL LARGE
public static CameraStreamingSetting.PREVIEW_SIZE_LEVEL[] values()
for (CameraStreamingSetting.PREVIEW_SIZE_LEVEL c : CameraStreamingSetting.PREVIEW_SIZE_LEVEL.values()) System.out.println(c);
public static CameraStreamingSetting.PREVIEW_SIZE_LEVEL 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