public static enum Constants.AudioSourceType extends java.lang.Enum<Constants.AudioSourceType>
Enum Constant and Description |
---|
AUDIO_SOURCE_CUSTOM
Audio generated by the customer.
|
AUDIO_SOURCE_LOOPBACK_RECORDING
Audio of loopback recording.
|
AUDIO_SOURCE_MEDIA_PLAYER
Audio of media player.
|
AUDIO_SOURCE_MICROPHONE
Audio captured by the microphone.
|
AUDIO_SOURCE_MIXED_STREAM
Audio of mixed stream in local client.
|
AUDIO_SOURCE_REMOTE_CHANNEL
Remote audio received of per channel from network.
|
AUDIO_SOURCE_REMOTE_USER
Remote audio received of per user from network.
|
AUDIO_SOURCE_UNKNOWN
Not define.
|
Modifier and Type | Method and Description |
---|---|
static Constants.AudioSourceType |
fromInt(int v) |
int |
getValue() |
static int |
getValue(Constants.AudioSourceType type) |
static Constants.AudioSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.AudioSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.AudioSourceType AUDIO_SOURCE_MICROPHONE
public static final Constants.AudioSourceType AUDIO_SOURCE_CUSTOM
public static final Constants.AudioSourceType AUDIO_SOURCE_MEDIA_PLAYER
public static final Constants.AudioSourceType AUDIO_SOURCE_LOOPBACK_RECORDING
public static final Constants.AudioSourceType AUDIO_SOURCE_MIXED_STREAM
public static final Constants.AudioSourceType AUDIO_SOURCE_REMOTE_USER
public static final Constants.AudioSourceType AUDIO_SOURCE_REMOTE_CHANNEL
public static final Constants.AudioSourceType AUDIO_SOURCE_UNKNOWN
public static Constants.AudioSourceType[] values()
for (Constants.AudioSourceType c : Constants.AudioSourceType.values()) System.out.println(c);
public static Constants.AudioSourceType 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 int getValue(Constants.AudioSourceType type)
public static Constants.AudioSourceType fromInt(int v)