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