public enum OutboundSmsStatus extends java.lang.Enum<OutboundSmsStatus>
| Enum Constant and Description |
|---|
GATEWAY_UNREACHABLE
Network problem, or gateway server down
|
INVALID
The parameters for sending an SMS message were invalid
|
MAX_GLOBAL_MESSAGES_REACHED
The message was not sent, as the maximum SMS messages for a configuration have been reached
|
MAX_UNREGISTERED_MESSAGES_REACHED
The message was not sent, as the maximum SMS messages for a particular unregistered mobile phone have been
reached
|
MAX_USER_MESSAGES_REACHED
The message was not sent, as the maximum SMS messages for a particular user have been reached
|
REJECTED
The gateway has rejected the SMS sending
|
SUCCESS
The SMS message was successfully sent
|
TIMEOUT
Timeout while waiting for a server reply
|
UNKNOWN_ERROR
There was an unhandled error
|
| Modifier and Type | Method and Description |
|---|---|
static OutboundSmsStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OutboundSmsStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutboundSmsStatus SUCCESS
public static final OutboundSmsStatus INVALID
public static final OutboundSmsStatus MAX_USER_MESSAGES_REACHED
public static final OutboundSmsStatus MAX_UNREGISTERED_MESSAGES_REACHED
public static final OutboundSmsStatus MAX_GLOBAL_MESSAGES_REACHED
public static final OutboundSmsStatus GATEWAY_UNREACHABLE
public static final OutboundSmsStatus TIMEOUT
public static final OutboundSmsStatus REJECTED
public static final OutboundSmsStatus UNKNOWN_ERROR
public static OutboundSmsStatus[] values()
for (OutboundSmsStatus c : OutboundSmsStatus.values()) System.out.println(c);
public static OutboundSmsStatus 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 null