Enum DtmfTone
- Object
-
- Enum<DtmfTone>
-
- DtmfTone
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DtmfTone
valueOf(String name)
Returns the enum constant of this type with the specified name.static DtmfTone[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZERO
public static final DtmfTone ZERO
Zero
-
ONE
public static final DtmfTone ONE
One
-
TWO
public static final DtmfTone TWO
Two
-
THREE
public static final DtmfTone THREE
Three
-
FOUR
public static final DtmfTone FOUR
Four
-
FIVE
public static final DtmfTone FIVE
Five
-
SIX
public static final DtmfTone SIX
Six
-
SEVEN
public static final DtmfTone SEVEN
Seven
-
EIGHT
public static final DtmfTone EIGHT
Eight
-
NINE
public static final DtmfTone NINE
Nine
-
STAR
public static final DtmfTone STAR
Star
-
POUND
public static final DtmfTone POUND
Pound
-
A
public static final DtmfTone A
A
-
B
public static final DtmfTone B
B
-
C
public static final DtmfTone C
C
-
D
public static final DtmfTone D
D
-
FLASH
public static final DtmfTone FLASH
Flash
-
-
Method Detail
-
values
public static DtmfTone[] 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 (DtmfTone c : DtmfTone.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DtmfTone 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
-
-