public static enum JMRtcClient.VideoProfile extends java.lang.Enum<JMRtcClient.VideoProfile>
Enum Constant and Description |
---|
Profile_240P |
Profile_360P |
Profile_480P |
Profile_720P |
Modifier and Type | Method and Description |
---|---|
int |
getRealProfile() |
static JMRtcClient.VideoProfile |
valueOf(int realProfile) |
static JMRtcClient.VideoProfile |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JMRtcClient.VideoProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JMRtcClient.VideoProfile Profile_240P
public static final JMRtcClient.VideoProfile Profile_360P
public static final JMRtcClient.VideoProfile Profile_480P
public static final JMRtcClient.VideoProfile Profile_720P
public static JMRtcClient.VideoProfile[] values()
for (JMRtcClient.VideoProfile c : JMRtcClient.VideoProfile.values()) System.out.println(c);
public static JMRtcClient.VideoProfile 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 getRealProfile()
public static JMRtcClient.VideoProfile valueOf(int realProfile)