public static enum AppInterface.CommandType extends Enum<AppInterface.CommandType>
Enum Constant and Description |
---|
CLOSE_CHANNEL |
DISPLAY_TEXT |
GET_CHANNEL_STATUS |
GET_INKEY |
GET_INPUT |
LAUNCH_BROWSER |
OPEN_CHANNEL |
PLAY_TONE |
PROVIDE_LOCAL_INFORMATION |
RECEIVE_DATA |
REFRESH |
SELECT_ITEM |
SEND_DATA |
SEND_DTMF |
SEND_SMS |
SEND_SS |
SEND_USSD |
SET_UP_CALL |
SET_UP_EVENT_LIST |
SET_UP_IDLE_MODE_TEXT |
SET_UP_MENU |
Modifier and Type | Method and Description |
---|---|
static AppInterface.CommandType |
fromInt(int value)
Create a CommandType object.
|
int |
value() |
static AppInterface.CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppInterface.CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppInterface.CommandType DISPLAY_TEXT
public static final AppInterface.CommandType GET_INKEY
public static final AppInterface.CommandType GET_INPUT
public static final AppInterface.CommandType LAUNCH_BROWSER
public static final AppInterface.CommandType PLAY_TONE
public static final AppInterface.CommandType REFRESH
public static final AppInterface.CommandType SELECT_ITEM
public static final AppInterface.CommandType SEND_SS
public static final AppInterface.CommandType SEND_USSD
public static final AppInterface.CommandType SEND_SMS
public static final AppInterface.CommandType SEND_DTMF
public static final AppInterface.CommandType SET_UP_EVENT_LIST
public static final AppInterface.CommandType SET_UP_IDLE_MODE_TEXT
public static final AppInterface.CommandType SET_UP_MENU
public static final AppInterface.CommandType SET_UP_CALL
public static final AppInterface.CommandType PROVIDE_LOCAL_INFORMATION
public static final AppInterface.CommandType OPEN_CHANNEL
public static final AppInterface.CommandType CLOSE_CHANNEL
public static final AppInterface.CommandType RECEIVE_DATA
public static final AppInterface.CommandType SEND_DATA
public static final AppInterface.CommandType GET_CHANNEL_STATUS
public static AppInterface.CommandType[] values()
for (AppInterface.CommandType c : AppInterface.CommandType.values()) System.out.println(c);
public static AppInterface.CommandType 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 int value()
public static AppInterface.CommandType fromInt(int value)
value
- Integer value to be converted to a CommandType object.value
. If no CommandType object has that value, null is
returned.