public enum RtpVersion extends java.lang.Enum<RtpVersion>
| Modifier and Type | Method and Description |
|---|---|
static RtpVersion |
fromByte(byte b) |
byte |
getByte() |
static RtpVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RtpVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RtpVersion V2
public static final RtpVersion V1
public static final RtpVersion V0
public static RtpVersion[] values()
for (RtpVersion c : RtpVersion.values()) System.out.println(c);
public static RtpVersion 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 RtpVersion fromByte(byte b) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic byte getByte()
Copyright © 2018. All Rights Reserved.