Package org.jitsi.service.neomedia
Enum DTMFMethod
- java.lang.Object
-
- java.lang.Enum<DTMFMethod>
-
- org.jitsi.service.neomedia.DTMFMethod
-
- All Implemented Interfaces:
Serializable,Comparable<DTMFMethod>
public enum DTMFMethod extends Enum<DTMFMethod>
Enumerates all available DTMF methods.- Author:
- Vincent Lucas
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_DTMFRTP_DTMFif telephony-event are available; otherwise,INBAND_DTMF.INBAND_DTMFINBAND DTMF as defined in ITU-T recommendation Q.23.RTP_DTMFRTP DTMF as defined in RFC4733.SIP_INFO_DTMFSIP INFO DTMF.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DTMFMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static DTMFMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO_DTMF
public static final DTMFMethod AUTO_DTMF
RTP_DTMFif telephony-event are available; otherwise,INBAND_DTMF.
-
RTP_DTMF
public static final DTMFMethod RTP_DTMF
RTP DTMF as defined in RFC4733.
-
SIP_INFO_DTMF
public static final DTMFMethod SIP_INFO_DTMF
SIP INFO DTMF.
-
INBAND_DTMF
public static final DTMFMethod INBAND_DTMF
INBAND DTMF as defined in ITU-T recommendation Q.23.
-
-
Method Detail
-
values
public static DTMFMethod[] 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 (DTMFMethod c : DTMFMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DTMFMethod 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 nameNullPointerException- if the argument is null
-
-