public static enum SMSDataCodingScheme.MessageClass extends Enum<SMSDataCodingScheme.MessageClass>
The API offered by this class is as if the type were specified in ASN.1 as follows.
MessageClass ::= ENUMERATED { SPARE_0 (0), ME_SPECIFIC (1), SIM_SPECIFIC (2), TE_SPECIFIC (3) }
Enum Constant and Description |
---|
ME_SPECIFIC
Message Class value (1) corresponding to default meaning: ME-specific.
|
SIM_SPECIFIC
Message Class value (2) corresponding to (U)SIM specific message.
|
SPARE_0
Message Class value (0) corresponding to spare.
|
TE_SPECIFIC
Message Class value (3) corresponding to Default meaning: TE specific (see 3GPP TS 27.005).
|
Modifier and Type | Method and Description |
---|---|
static SMSDataCodingScheme.MessageClass |
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.MessageClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMSDataCodingScheme.MessageClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSDataCodingScheme.MessageClass SPARE_0
public static final SMSDataCodingScheme.MessageClass ME_SPECIFIC
public static final SMSDataCodingScheme.MessageClass SIM_SPECIFIC
public static final SMSDataCodingScheme.MessageClass TE_SPECIFIC
public static SMSDataCodingScheme.MessageClass[] values()
for (SMSDataCodingScheme.MessageClass c : SMSDataCodingScheme.MessageClass.values()) System.out.println(c);
public static SMSDataCodingScheme.MessageClass 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.MessageClass fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value