Version
ShiftType
public enum ShiftType
Extends Enum<ShiftType>
This enumeration defines how character sets shift in GSM 7-bit encoding. It is used when handling different character variations or extended character sets in SMS messaging.
Enum Constants:
| Constant | Description |
| NONE | No shift is applied. Characters are interpreted as-is using the base set. |
| SINGLE | Temporary shift for a single character (non-locking shift). |
| LOCKING | Persistent shift until explicitly changed. Applies to all subsequent chars. |
Methods:
| public static ShiftType[] values() | Returns an array of all ShiftType constants in declaration order. |
| public static ShiftType valueOf(String name) | Returns the ShiftType constant with the specified name. |
| public static ShiftType fromInt(int i) | Converts an integer to the corresponding ShiftType enum constant. |
| public int getValue() | Returns the integer value associated with the ShiftType. |
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 | |
Sign in to read the full article
Start innovating with Mobius
What's next? Let's talk!
