public static enum MSClassmark.MSClassmark2.SMCapability extends Enum<MSClassmark.MSClassmark2.SMCapability>
The API offered by this class is as if the type were specified in ASN.1 as follows.
SMCapability ::= ENUMERATED { NOT_SUPPORTED (0), SUPPORTED (1) }
Enum Constant and Description |
---|
NOT_SUPPORTED
SM capability constant corresponding to mobile station does not support mobile terminated point to point SMS.
|
SUPPORTED
SM capability constant corresponding to mobile station supports mobile terminated point to point SMS.
|
Modifier and Type | Method and Description |
---|---|
static MSClassmark.MSClassmark2.SMCapability |
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 MSClassmark.MSClassmark2.SMCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MSClassmark.MSClassmark2.SMCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MSClassmark.MSClassmark2.SMCapability NOT_SUPPORTED
public static final MSClassmark.MSClassmark2.SMCapability SUPPORTED
public static MSClassmark.MSClassmark2.SMCapability[] values()
for (MSClassmark.MSClassmark2.SMCapability c : MSClassmark.MSClassmark2.SMCapability.values()) System.out.println(c);
public static MSClassmark.MSClassmark2.SMCapability 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 MSClassmark.MSClassmark2.SMCapability fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value