Version
Gsm7EncodingStyle
public enum Gsm7EncodingStyle
Extends Enum<Gsm7EncodingStyle>
Represents different encoding styles for GSM 7-bit data, depending on how the bits are packed and interpreted in various contexts like SMS or USSD.
Enum Constants:
Constant | Description |
bit7_sms_style | 7-bit packed format used in standard SMS messages. Each character is encoded into 7 bits, and characters are packed into octets. |
bit7_ussd_style | 7-bit packed format used in USSD communication. Similar to SMS style but have differences in alignment and padding rules. |
bit8_smpp_style | 8-bit encoding style used in SMPP. Each character is aligned to a full byte, sacrificing efficiency for simplicity. |
Methods:
public static Gsm7EncodingStyle[] values() | Returns all constants of this enum in the order they are declared. |
public static Gsm7EncodingStyle valueOf(String name) | Returns the enum constant matching the specified name. |
public int compareTo(Gsm7EncodingStyle other) | Compares this enum with another based on declaration order. |
public String toString() | Returns the name of the enum constant. |
Methods inherited from class java.lang.Enum |
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | |
Methods inherited from class java.lang.Object |
|
getClass, notify, notifyAll, wait, wait, wait |
Start innovating with Mobius
What's next? Let's talk!