public static enum Constants.VideoPublishType extends java.lang.Enum<Constants.VideoPublishType>
| Enum Constant and Description |
|---|
ENCODED_IMAGE
2: Publish encoded video image.
|
NO_PUBLISH
0: Do not publish video.
|
YUV
1: Publish YUV video.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.VideoPublishType |
fromInt(int value)
Converts an integer value to its corresponding VideoPublishType enum constant.
|
int |
getValue()
Gets the integer value of the video publish type.
|
static Constants.VideoPublishType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.VideoPublishType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.VideoPublishType NO_PUBLISH
public static final Constants.VideoPublishType YUV
public static final Constants.VideoPublishType ENCODED_IMAGE
public static Constants.VideoPublishType[] values()
for (Constants.VideoPublishType c : Constants.VideoPublishType.values()) System.out.println(c);
public static Constants.VideoPublishType 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 getValue()
public static Constants.VideoPublishType fromInt(int value)
value - The integer value.