org.red5.server.net.rtp.rtcp
Enum SDESInfo.Type

java.lang.Object
  extended by java.lang.Enum<SDESInfo.Type>
      extended by 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>


Enum Constant Summary
CNAME
           
EMAIL
           
END
           
LOC
           
NAME
           
NOTE
           
PHONE
           
PRIV
           
TOOL
           
 
Field Summary
 byte value
           
 
Method Summary
static SDESInfo.Type fromByte(byte value)
           
static SDESInfo.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SDESInfo.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

value

public final byte value
Method Detail

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