public enum AlivcPreviewDisplayMode extends java.lang.Enum<AlivcPreviewDisplayMode>
| Enum Constant and Description |
|---|
ALIVC_LIVE_PUSHER_PREVIEW_ASPECT_FILL
Crop the video to fit the aspect ratio of the window.
|
ALIVC_LIVE_PUSHER_PREVIEW_ASPECT_FIT
Adapt the video to the window.
|
ALIVC_LIVE_PUSHER_PREVIEW_SCALE_FILL
Fill the window with the video.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPreviewDisplayMode() |
static AlivcPreviewDisplayMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlivcPreviewDisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlivcPreviewDisplayMode ALIVC_LIVE_PUSHER_PREVIEW_SCALE_FILL
public static final AlivcPreviewDisplayMode ALIVC_LIVE_PUSHER_PREVIEW_ASPECT_FIT
public static final AlivcPreviewDisplayMode ALIVC_LIVE_PUSHER_PREVIEW_ASPECT_FILL
public static AlivcPreviewDisplayMode[] values()
for (AlivcPreviewDisplayMode c : AlivcPreviewDisplayMode.values()) System.out.println(c);
public static AlivcPreviewDisplayMode 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 getPreviewDisplayMode()