public static enum Call.Status extends Enum<Call.Status>
Enum Constant and Description |
---|
BUSY |
CANCELED |
COMPLETED |
FAILED |
IN_PROGRESS |
NO_ANSWER |
QUEUED |
RINGING |
Modifier and Type | Method and Description |
---|---|
static Call.Status |
forValue(String value)
Generate a Status from a string.
|
String |
toString() |
static Call.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Call.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Call.Status QUEUED
public static final Call.Status RINGING
public static final Call.Status IN_PROGRESS
public static final Call.Status COMPLETED
public static final Call.Status BUSY
public static final Call.Status FAILED
public static final Call.Status NO_ANSWER
public static final Call.Status CANCELED
public static Call.Status[] values()
for (Call.Status c : Call.Status.values()) System.out.println(c);
public static Call.Status 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 String toString()
toString
in class Enum<Call.Status>
public static Call.Status forValue(String value)
value
- string valueCopyright © 2011 Twilio, Inc. All Rights Reserved.