public static enum CameraStreamingSetting.PREVIEW_SIZE_RATIO extends java.lang.Enum<CameraStreamingSetting.PREVIEW_SIZE_RATIO>
Enum Constant and Description |
---|
RATIO_16_9
Ratio is 16/9
|
RATIO_4_3
Ratio is 4/3
|
Modifier and Type | Method and Description |
---|---|
static CameraStreamingSetting.PREVIEW_SIZE_RATIO |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CameraStreamingSetting.PREVIEW_SIZE_RATIO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraStreamingSetting.PREVIEW_SIZE_RATIO RATIO_4_3
public static final CameraStreamingSetting.PREVIEW_SIZE_RATIO RATIO_16_9
public static CameraStreamingSetting.PREVIEW_SIZE_RATIO[] values()
for (CameraStreamingSetting.PREVIEW_SIZE_RATIO c : CameraStreamingSetting.PREVIEW_SIZE_RATIO.values()) System.out.println(c);
public static CameraStreamingSetting.PREVIEW_SIZE_RATIO 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