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, probably
due to `REMOTE_AUDIO_REASON_NETWORK_RECOVERY(2)`,
`REMOTE_AUDIO_REASON_LOCAL_UNMUTED(4)`, or
`REMOTE_AUDIO_REASON_REMOTE_UNMUTED(6)`.
|
REMOTE_AUDIO_STATE_FAILED
4: The remote audio fails to start, probably due to
`REMOTE_AUDIO_REASON_INTERNAL(0)`.
|
REMOTE_AUDIO_STATE_FROZEN
3: The remote audio is frozen, probably due to
`REMOTE_AUDIO_REASON_NETWORK_CONGESTION(1)`.
|
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, probably due to
`REMOTE_AUDIO_REASON_LOCAL_MUTED(3)`,
`REMOTE_AUDIO_REASON_REMOTE_MUTED(5)`, or
`REMOTE_AUDIO_REASON_REMOTE_OFFLINE(7)`.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static int |
getValue(Constants.RemoteAudioState state) |
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_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 static int getValue(Constants.RemoteAudioState state)