|
SMSLib 3.5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<USSDSessionStatus>
org.smslib.USSDSessionStatus
public enum USSDSessionStatus
Enum representing the status of a GSM Unstructured Supplemental Service Data (USSD) session.
Enum Constant Summary | |
---|---|
FURTHER_ACTION_REQUIRED
Further user action required (network initiated USSD-Request, or further information needed after mobile initiated operation |
|
NETWORK_TIMEOUT
Network time out |
|
NO_FURTHER_ACTION_REQUIRED
No further user action required (network initiated USSD-Notify, or no further information needed after mobile initiated operation) |
|
OPERATION_NOT_SUPPORTED
Operation not supported |
|
OTHER_CLIENT_RESPONDED
Other local client has responded |
|
TERMINATED_BY_NETWORK
USSD terminated by network |
Method Summary | |
---|---|
static USSDSessionStatus |
getByNumeric(int aNumeric)
|
int |
getNumeric()
|
java.lang.String |
toString()
|
static USSDSessionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static USSDSessionStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final USSDSessionStatus NO_FURTHER_ACTION_REQUIRED
public static final USSDSessionStatus FURTHER_ACTION_REQUIRED
public static final USSDSessionStatus TERMINATED_BY_NETWORK
public static final USSDSessionStatus OTHER_CLIENT_RESPONDED
public static final USSDSessionStatus OPERATION_NOT_SUPPORTED
public static final USSDSessionStatus NETWORK_TIMEOUT
Method Detail |
---|
public static USSDSessionStatus[] values()
for (USSDSessionStatus c : USSDSessionStatus.values()) System.out.println(c);
public static USSDSessionStatus 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getNumeric()
public java.lang.String toString()
toString
in class java.lang.Enum<USSDSessionStatus>
public static USSDSessionStatus getByNumeric(int aNumeric)
|
SMSLib 3.5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |