public static enum SMSDataCodingScheme.MessageWaitingScheme.IndicationType extends Enum<SMSDataCodingScheme.MessageWaitingScheme.IndicationType>
The API offered by this class is as if the type were specified in ASN.1 as follows.
IndicationType ::= ENUMERATED { VOICEMAIL (0), FAX (1), EMAIL (2), OTHER (3) }
Enum Constant and Description |
---|
EMAIL
Indication Type value (2) corresponding to electronic mail message waiting.
|
FAX
Indication Type value (1) corresponding to fax message waiting.
|
OTHER
Indication Type value (3) corresponding to other message waiting.
|
VOICEMAIL
Indication Type value (0) corresponding to voicemail message waiting.
|
Modifier and Type | Method and Description |
---|---|
static SMSDataCodingScheme.MessageWaitingScheme.IndicationType |
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.MessageWaitingScheme.IndicationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMSDataCodingScheme.MessageWaitingScheme.IndicationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSDataCodingScheme.MessageWaitingScheme.IndicationType VOICEMAIL
public static final SMSDataCodingScheme.MessageWaitingScheme.IndicationType FAX
public static final SMSDataCodingScheme.MessageWaitingScheme.IndicationType EMAIL
public static final SMSDataCodingScheme.MessageWaitingScheme.IndicationType OTHER
public static SMSDataCodingScheme.MessageWaitingScheme.IndicationType[] values()
for (SMSDataCodingScheme.MessageWaitingScheme.IndicationType c : SMSDataCodingScheme.MessageWaitingScheme.IndicationType.values()) System.out.println(c);
public static SMSDataCodingScheme.MessageWaitingScheme.IndicationType 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.MessageWaitingScheme.IndicationType fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value