public static enum DriverCall.State extends Enum<DriverCall.State>
Enum Constant and Description |
---|
ACTIVE |
ALERTING |
DIALING |
HOLDING |
INCOMING |
WAITING |
Modifier and Type | Method and Description |
---|---|
static DriverCall.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DriverCall.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DriverCall.State ACTIVE
public static final DriverCall.State HOLDING
public static final DriverCall.State DIALING
public static final DriverCall.State ALERTING
public static final DriverCall.State INCOMING
public static final DriverCall.State WAITING
public static DriverCall.State[] values()
for (DriverCall.State c : DriverCall.State.values()) System.out.println(c);
public static DriverCall.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null