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