org.red5.server.net.rtp.rtcp
Enum SDESInfo.Type
java.lang.Object
java.lang.Enum<SDESInfo.Type>
org.red5.server.net.rtp.rtcp.SDESInfo.Type
- All Implemented Interfaces:
- Serializable, Comparable<SDESInfo.Type>
- Enclosing class:
- SDESInfo
public static enum SDESInfo.Type
- extends Enum<SDESInfo.Type>
END
public static final SDESInfo.Type END
CNAME
public static final SDESInfo.Type CNAME
NAME
public static final SDESInfo.Type NAME
EMAIL
public static final SDESInfo.Type EMAIL
PHONE
public static final SDESInfo.Type PHONE
LOC
public static final SDESInfo.Type LOC
TOOL
public static final SDESInfo.Type TOOL
NOTE
public static final SDESInfo.Type NOTE
PRIV
public static final SDESInfo.Type PRIV
value
public final byte value
values
public static SDESInfo.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SDESInfo.Type c : SDESInfo.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SDESInfo.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
fromByte
public static SDESInfo.Type fromByte(byte value)
Copyright © 2006-2009 The Red5 Project