public static enum Constants.RemoteAudioState extends java.lang.Enum<Constants.RemoteAudioState>
| Enum Constant and Description |
|---|
REMOTE_AUDIO_STATE_DECODING
2: The remote audio stream is decoded and plays normally.
|
REMOTE_AUDIO_STATE_FAILED
4: The remote audio fails to start.
|
REMOTE_AUDIO_STATE_FROZEN
3: The remote audio is frozen.
|
REMOTE_AUDIO_STATE_STARTING
1: The first remote audio packet is received.
|
REMOTE_AUDIO_STATE_STOPPED
0: The remote audio is in the default state.
|
REMOTE_AUDIO_STATE_UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.RemoteAudioState |
fromInt(int value) |
int |
getValue() |
static Constants.RemoteAudioState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RemoteAudioState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RemoteAudioState REMOTE_AUDIO_STATE_UNKNOWN
public static final Constants.RemoteAudioState REMOTE_AUDIO_STATE_STOPPED
public static final Constants.RemoteAudioState REMOTE_AUDIO_STATE_STARTING
public static final Constants.RemoteAudioState REMOTE_AUDIO_STATE_DECODING
public static final Constants.RemoteAudioState REMOTE_AUDIO_STATE_FROZEN
public static final Constants.RemoteAudioState REMOTE_AUDIO_STATE_FAILED
public static Constants.RemoteAudioState[] values()
for (Constants.RemoteAudioState c : Constants.RemoteAudioState.values()) System.out.println(c);
public static Constants.RemoteAudioState 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.RemoteAudioState fromInt(int value)