public enum RtpVersion extends Enum<RtpVersion>
| Modifier and Type | Method and Description |
|---|---|
static RtpVersion |
fromByte(byte b) |
byte |
getByte() |
static RtpVersion |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static RtpVersion fromByte(byte b) throws IllegalArgumentException
IllegalArgumentExceptionpublic byte getByte()
Copyright © 2021. All Rights Reserved.