public static enum DataTransporter.DIAL_MODE extends java.lang.Enum<DataTransporter.DIAL_MODE>
Enum Constant and Description |
---|
AUTO
Automatic select (ATD command).
|
PULSE
Pulse dialing (ATDP command).
|
TONE
Tone dialing (ATDT command).
|
Modifier and Type | Method and Description |
---|---|
static DataTransporter.DIAL_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataTransporter.DIAL_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTransporter.DIAL_MODE AUTO
public static final DataTransporter.DIAL_MODE TONE
public static final DataTransporter.DIAL_MODE PULSE
public static DataTransporter.DIAL_MODE[] values()
for (DataTransporter.DIAL_MODE c : DataTransporter.DIAL_MODE.values()) System.out.println(c);
public static DataTransporter.DIAL_MODE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null