public static enum IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE extends java.lang.Enum<IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE>
Enum Constant and Description |
---|
SUB_STATE_IDLE |
SUB_STATE_NO_SUBSCRIBED |
SUB_STATE_SUBSCRIBED |
SUB_STATE_SUBSCRIBING |
Modifier and Type | Method and Description |
---|---|
static int |
getValue(IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE type) |
static IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE SUB_STATE_IDLE
public static final IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE SUB_STATE_NO_SUBSCRIBED
public static final IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE SUB_STATE_SUBSCRIBING
public static final IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE SUB_STATE_SUBSCRIBED
public static IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE[] values()
for (IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE c : IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE.values()) System.out.println(c);
public static IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE 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(IRtcEngineEventHandler.STREAM_SUBSCRIBE_STATE type)