public enum SMSDirection extends java.lang.Enum<SMSDirection>
| Enum Constant and Description |
|---|
INBOUND
Inbound SMS.
|
OUTBOUND_API
Outbound, initiated via the REST API.
|
OUTBOUND_CALL
Outbound, initiated during a call.
|
OUTBOUND_REPLY
Outbound, initiated in response to an incoming SMS.
|
| Modifier and Type | Method and Description |
|---|---|
static SMSDirection |
deserializeXML(java.lang.String string) |
boolean |
isOutbound()
Is the SMS inbound or outbound?
|
java.lang.String |
toString() |
static SMSDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SMSDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSDirection INBOUND
public static final SMSDirection OUTBOUND_API
public static final SMSDirection OUTBOUND_CALL
public static final SMSDirection OUTBOUND_REPLY
public static SMSDirection[] values()
for (SMSDirection c : SMSDirection.values()) System.out.println(c);
public static SMSDirection 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 isOutbound()
INBOUND, true for all other valuespublic java.lang.String toString()
toString in class java.lang.Enum<SMSDirection>public static SMSDirection deserializeXML(java.lang.String string) throws JiBXParseException
JiBXParseException