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