public enum VideoScalingType extends java.lang.Enum<VideoScalingType>
Enum Constant and Description |
---|
ASPECT_BALANCED
Compromise between ASPECT_FIT and ASPECT_FILL.
|
ASPECT_FILL
Video frame is scaled to fill the size of the view while maintaining the aspect ratio.
|
ASPECT_FIT
Video frame is scaled to fit the size of the view while maintaining the aspect ratio.
|
Modifier and Type | Method and Description |
---|---|
static VideoScalingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoScalingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoScalingType ASPECT_FIT
public static final VideoScalingType ASPECT_FILL
public static final VideoScalingType ASPECT_BALANCED
public static VideoScalingType[] values()
for (VideoScalingType c : VideoScalingType.values()) System.out.println(c);
public static VideoScalingType 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 nullCopyright 2016, Sinch AB