public static enum MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression extends Enum<MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression>
The API offered by this class is as if the type were specified in ASN.1 as follows.
Compression ::= ENUMERATED {
NOT_DATA_COMPRESSION (0),
DATA_COMPRESSION (1)
}| Enum Constant and Description |
|---|
DATA_COMPRESSION
DataProtocol Compression constant corresponding to data compression possible/allowed.
|
NOT_DATA_COMPRESSION
DataProtocol Compression constant corresponding to data compression not possible/allowed.
|
| Modifier and Type | Method and Description |
|---|---|
static MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression |
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 MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression NOT_DATA_COMPRESSION
public static final MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression DATA_COMPRESSION
public static MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression[] values()
for (MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression c : MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression.values()) System.out.println(c);
public static MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression 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 MSBearerCapability.GSM.Content.NonSpeech.DataProtocol.Compression fromValue(int value)
value - encoded valueIllegalArgumentException - if there is no enumeration constant with the given encoded value