SMSLib 3.5.3

org.smslib
Enum USSDDcs

java.lang.Object
  extended by java.lang.Enum<USSDDcs>
      extended by org.smslib.USSDDcs
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<USSDDcs>

public enum USSDDcs
extends java.lang.Enum<USSDDcs>

Enum representing the status of a GSM Unstructured Supplemental Service Data (USSD) data coding schemd (DCS).


Enum Constant Summary
ARABIC
           
CZECH
          Bits 7..4 = 0010 --
DANISH_7BIT
           
DUTCH_7BIT
           
ENGLISH_7BIT
           
FINNISH_7BIT
           
FRENCH_7BIT
           
GERMAN_7BIT
          Bits 7..4 equal to zero: GSM 7 bit default alphabet Bits 3..0 indicate the language
GREEK_7BIT
           
HEBREW
           
HUNGARIAN_7BIT
           
ICELANDIC
           
ITALIAN_7BIT
           
LANGUAGE_IN_PREFIX_7BIT
          Bits 3..0 0000: GSM 7 bit default alphabet; message preceded by language indication.
LANGUAGE_IN_PREFIX_UCS2
          UCS2; message preceded by language indication The message starts with a two GSM 7-bit default alphabet character representation of the language encoded according to ISO 639 [12].
NORWEGIAN_7BIT
           
POLISH_7BIT
           
PORTUGUESE_7BIT
           
RUSSIAN
           
SPANISH_7BIT
           
SWEDISH_7BIT
           
TURKISH_7BIT
           
UNSPECIFIED_7BIT
           
 
Method Summary
static USSDDcs getByNumeric(int aNumeric)
           
 int getNumeric()
           
 java.lang.String toString()
           
static USSDDcs valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static USSDDcs[] 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

GERMAN_7BIT

public static final USSDDcs GERMAN_7BIT
Bits 7..4 equal to zero: GSM 7 bit default alphabet Bits 3..0 indicate the language


ENGLISH_7BIT

public static final USSDDcs ENGLISH_7BIT

ITALIAN_7BIT

public static final USSDDcs ITALIAN_7BIT

FRENCH_7BIT

public static final USSDDcs FRENCH_7BIT

SPANISH_7BIT

public static final USSDDcs SPANISH_7BIT

DUTCH_7BIT

public static final USSDDcs DUTCH_7BIT

SWEDISH_7BIT

public static final USSDDcs SWEDISH_7BIT

DANISH_7BIT

public static final USSDDcs DANISH_7BIT

PORTUGUESE_7BIT

public static final USSDDcs PORTUGUESE_7BIT

FINNISH_7BIT

public static final USSDDcs FINNISH_7BIT

NORWEGIAN_7BIT

public static final USSDDcs NORWEGIAN_7BIT

GREEK_7BIT

public static final USSDDcs GREEK_7BIT

TURKISH_7BIT

public static final USSDDcs TURKISH_7BIT

HUNGARIAN_7BIT

public static final USSDDcs HUNGARIAN_7BIT

POLISH_7BIT

public static final USSDDcs POLISH_7BIT

UNSPECIFIED_7BIT

public static final USSDDcs UNSPECIFIED_7BIT

LANGUAGE_IN_PREFIX_7BIT

public static final USSDDcs LANGUAGE_IN_PREFIX_7BIT
Bits 3..0 0000: GSM 7 bit default alphabet; message preceded by language indication. The first 3 characters of the message are a two-character representation of the language encoded according to ISO 639 [12], followed by a CR character. The CR character is then followed by 90 characters of text.


LANGUAGE_IN_PREFIX_UCS2

public static final USSDDcs LANGUAGE_IN_PREFIX_UCS2
UCS2; message preceded by language indication The message starts with a two GSM 7-bit default alphabet character representation of the language encoded according to ISO 639 [12]. This is padded to the octet boundary with two bits set to 0 and then followed by 40 characters of UCS2-encoded message. An MS not supporting UCS2 coding will present the two character language identifier followed by improperly interpreted user data.


CZECH

public static final USSDDcs CZECH
Bits 7..4 = 0010 --


HEBREW

public static final USSDDcs HEBREW

ARABIC

public static final USSDDcs ARABIC

RUSSIAN

public static final USSDDcs RUSSIAN

ICELANDIC

public static final USSDDcs ICELANDIC
Method Detail

values

public static USSDDcs[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (USSDDcs c : USSDDcs.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static USSDDcs valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getNumeric

public int getNumeric()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<USSDDcs>

getByNumeric

public static USSDDcs getByNumeric(int aNumeric)

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org