public static enum SMSDataCodingScheme.MessageCodingScheme.MessageCoding extends Enum<SMSDataCodingScheme.MessageCodingScheme.MessageCoding>
The API offered by this class is as if the type were specified in ASN.1 as follows.
MessageCoding ::= ENUMERATED { GSM_7BIT (0), DATA_8BIT (1) }
Enum Constant and Description |
---|
DATA_8BIT
Message Coding value (1) corresponding to 8-bit data.
|
GSM_7BIT
Message Coding value (0) corresponding to GSM 7 bit default alphabet.
|
Modifier and Type | Method and Description |
---|---|
static SMSDataCodingScheme.MessageCodingScheme.MessageCoding |
fromValue(int value)
Returns the enumeration constant for a given encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static SMSDataCodingScheme.MessageCodingScheme.MessageCoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMSDataCodingScheme.MessageCodingScheme.MessageCoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSDataCodingScheme.MessageCodingScheme.MessageCoding GSM_7BIT
public static final SMSDataCodingScheme.MessageCodingScheme.MessageCoding DATA_8BIT
public static SMSDataCodingScheme.MessageCodingScheme.MessageCoding[] values()
for (SMSDataCodingScheme.MessageCodingScheme.MessageCoding c : SMSDataCodingScheme.MessageCodingScheme.MessageCoding.values()) System.out.println(c);
public static SMSDataCodingScheme.MessageCodingScheme.MessageCoding 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 intValue()
public static SMSDataCodingScheme.MessageCodingScheme.MessageCoding fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value