public static enum Call.State extends Enum<Call.State>
Enum Constant and Description |
---|
ACTIVE |
ALERTING |
DIALING |
DISCONNECTED |
DISCONNECTING |
HOLDING |
IDLE |
INCOMING |
WAITING |
Modifier and Type | Method and Description |
---|---|
boolean |
isAlive() |
boolean |
isDialing() |
boolean |
isRinging() |
static Call.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Call.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Call.State IDLE
public static final Call.State ACTIVE
public static final Call.State HOLDING
public static final Call.State DIALING
public static final Call.State ALERTING
public static final Call.State INCOMING
public static final Call.State WAITING
public static final Call.State DISCONNECTED
public static final Call.State DISCONNECTING
public static Call.State[] values()
for (Call.State c : Call.State.values()) System.out.println(c);
public static Call.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 nullpublic boolean isAlive()
public boolean isRinging()
public boolean isDialing()