public static enum Constants.RemoteAudioStateReason extends java.lang.Enum<Constants.RemoteAudioStateReason>
| Enum Constant and Description |
|---|
REMOTE_AUDIO_REASON_INTERNAL
0: The SDK reports this reason when the video state changes.
|
REMOTE_AUDIO_REASON_LOCAL_MUTED
3: The local user stops receiving the remote audio stream or
disables the audio module.
|
REMOTE_AUDIO_REASON_LOCAL_PLAY_FAILED
9: The local user receives remote audio packet but fails to play.
|
REMOTE_AUDIO_REASON_LOCAL_UNMUTED
4: The local user resumes receiving the remote audio stream or
enables the audio module.
|
REMOTE_AUDIO_REASON_NETWORK_CONGESTION
1: Network congestion.
|
REMOTE_AUDIO_REASON_NETWORK_RECOVERY
2: Network recovery.
|
REMOTE_AUDIO_REASON_NO_PACKET_RECEIVE
8: The local user does not receive any audio packet from remote user.
|
REMOTE_AUDIO_REASON_REMOTE_MUTED
5: The remote user stops sending the audio stream or disables the
audio module.
|
REMOTE_AUDIO_REASON_REMOTE_OFFLINE
7: The remote user leaves the channel.
|
REMOTE_AUDIO_REASON_REMOTE_UNMUTED
6: The remote user resumes sending the audio stream or enables the
audio module.
|
REMOTE_AUDIO_REASON_UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.RemoteAudioStateReason |
fromInt(int value) |
int |
getValue() |
static Constants.RemoteAudioStateReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RemoteAudioStateReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_UNKNOWN
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_INTERNAL
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_NETWORK_CONGESTION
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_NETWORK_RECOVERY
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_LOCAL_MUTED
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_LOCAL_UNMUTED
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_REMOTE_MUTED
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_REMOTE_UNMUTED
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_REMOTE_OFFLINE
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_NO_PACKET_RECEIVE
public static final Constants.RemoteAudioStateReason REMOTE_AUDIO_REASON_LOCAL_PLAY_FAILED
public static Constants.RemoteAudioStateReason[] values()
for (Constants.RemoteAudioStateReason c : Constants.RemoteAudioStateReason.values()) System.out.println(c);
public static Constants.RemoteAudioStateReason 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.RemoteAudioStateReason fromInt(int value)