Version
Priority
public enum Priority
Extends Enum<Priority>
Defines message delivery priority levels used in the SMPP protocol. This affects how messages are queued or routed within the network, depending on the provider's infrastructure.
Enum Constants:
| Constant | Description |
| NON_PRIORITY | No priority is applied to the message. |
| NORMAL | Standard delivery priority. |
| HIGH | Higher-than-normal priority. May be delivered faster. |
| URGENT | Critical priority, used for time-sensitive messages. |
Methods:
| public static Priority[] values() | Returns an array containing all priority constants in their declared order. |
| public static Priority valueOf(String name) | Returns the enum constant matching the given name. |
| public static Priority fromInt(int i) | Maps an integer value to the corresponding Priority enum constant. |
| public int getValue() | Returns the integer value associated with the priority level. |
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!
