public static enum Call.VideoRenderMode extends java.lang.Enum<Call.VideoRenderMode>
Enum Constant and Description |
---|
CropFill
The option to scale the video to fill the size of the view.
|
Fit
The option to scale the video to fit the size of the view by maintaining the aspect ratio.
|
StretchFill
The option to scale the video to fit the size of the view by changing the aspect ratio of the video if necessary.
|
Modifier and Type | Method and Description |
---|---|
static Call.VideoRenderMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Call.VideoRenderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Call.VideoRenderMode Fit
public static final Call.VideoRenderMode CropFill
public static final Call.VideoRenderMode StretchFill
public static Call.VideoRenderMode[] values()
for (Call.VideoRenderMode c : Call.VideoRenderMode.values()) System.out.println(c);
public static Call.VideoRenderMode 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