public static enum Call.State extends Enum<Call.State>
Enum Constant and Description |
---|
CONNECTED
The
Call is connected. |
CONNECTING
The
Call was created or was accepted and is in the process of connecting. |
DISCONNECTED
The
Call was disconnected, either due to a disconnect or an error. |
RECONNECTING
The
Call is reconnecting. |
RINGING
The
Call is ringing. |
Modifier and Type | Method and Description |
---|---|
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 CONNECTING
Call
was created or was accepted and is in the process of connecting.public static final Call.State RINGING
Call
is ringing.public static final Call.State CONNECTED
Call
is connected.public static final Call.State RECONNECTING
Call
is reconnecting.public static final Call.State DISCONNECTED
Call
was disconnected, either due to a disconnect or an error.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 null5.0.2