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