public enum CallStatus extends java.lang.Enum<CallStatus>
| Enum Constant and Description |
|---|
BUSY |
CANCELED |
COMPLETED |
FAILED |
IN_PROGRESS |
NO_ANSWER |
QUEUED |
RINGING |
| Modifier and Type | Method and Description |
|---|---|
static CallStatus |
deserializeXML(java.lang.String string) |
boolean |
isTerminal()
Determine whether this represents a terminal state, i.e., the call is hung up.
|
java.lang.String |
toString() |
static CallStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CallStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallStatus QUEUED
public static final CallStatus RINGING
public static final CallStatus IN_PROGRESS
public static final CallStatus COMPLETED
public static final CallStatus FAILED
public static final CallStatus BUSY
public static final CallStatus NO_ANSWER
public static final CallStatus CANCELED
public static CallStatus[] values()
for (CallStatus c : CallStatus.values()) System.out.println(c);
public static CallStatus 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 nullpublic boolean isTerminal()
public java.lang.String toString()
toString in class java.lang.Enum<CallStatus>public static CallStatus deserializeXML(java.lang.String string) throws JiBXParseException
JiBXParseException