public static enum Gateway.Feature extends java.lang.Enum<Gateway.Feature>
Enum Constant and Description |
---|
CAPTCHA
This gateway requires (always or in some circumstances) transcribing
a security code (captcha).
|
LOGIN
The gateway supports logging in with username and password, but also
works without it.
|
LOGIN_ONLY
The gateway requires login with username and password.
|
RECEIPT
The gateway will send a delivery report upon request.
|
SENDER_NAME
The gateway will append sender's name into the message if provided.
|
SENDER_NUMBER
The gateway is able to send a message as if it was coming from the
specified sender's cell number.
|
Modifier and Type | Method and Description |
---|---|
static Gateway.Feature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Gateway.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gateway.Feature LOGIN
public static final Gateway.Feature LOGIN_ONLY
public static final Gateway.Feature SENDER_NUMBER
public static final Gateway.Feature SENDER_NAME
public static final Gateway.Feature RECEIPT
public static final Gateway.Feature CAPTCHA
public static Gateway.Feature[] values()
for (Gateway.Feature c : Gateway.Feature.values()) System.out.println(c);
public static Gateway.Feature 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