public static enum QBRTCTypes.QBConferenceType extends java.lang.Enum<QBRTCTypes.QBConferenceType>
Enum Constant and Description |
---|
QB_CONFERENCE_TYPE_AUDIO |
QB_CONFERENCE_TYPE_VIDEO |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Use this method instead of
Enum.ordinal()
in other case you'll receive wrong value, g.e. 1 instead of 2. |
java.lang.String |
toString() |
static QBRTCTypes.QBConferenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QBRTCTypes.QBConferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QBRTCTypes.QBConferenceType QB_CONFERENCE_TYPE_VIDEO
public static final QBRTCTypes.QBConferenceType QB_CONFERENCE_TYPE_AUDIO
public static QBRTCTypes.QBConferenceType[] values()
for (QBRTCTypes.QBConferenceType c : QBRTCTypes.QBConferenceType.values()) System.out.println(c);
public static QBRTCTypes.QBConferenceType 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()
Enum.ordinal()
in other case you'll receive wrong value, g.e. 1 instead of 2.
Using ordinal method instead could be cause of received by client wrong conference typepublic java.lang.String toString()
toString
in class java.lang.Enum<QBRTCTypes.QBConferenceType>