Version
DeliveryStatus
public enum DeliveryStatus
Extends Enum<DeliveryStatus>
Represents the delivery state of a message in the SMPP protocol. Each constant maps to a specific status defined in delivery receipts or message tracking systems.
Enum Constants:
Constant | Description |
SCHEDULED | Message is scheduled for later delivery. |
ENROUTE | Message is currently in transit to the destination. |
DELIVERED | Message has been successfully delivered to the recipient. |
EXPIRED | Message lifetime expired before delivery. |
DELETED | Message has been deleted from the system without being delivered. |
UNDELIVERABLE | Delivery attempt failed and message cannot be delivered. |
ACCEPTED | Message has been accepted by the SMSC but delivery status is not final. |
UNKNOWN | Delivery status is unknown. |
REJECTED | Message was rejected by the SMSC or destination. |
SKIPPED | Message delivery was intentionally skipped or filtered out. |
Methods:
public static DeliveryStatus[] values() | Returns all declared constants in order. Useful for iteration. |
public static DeliveryStatus valueOf(String name) | Returns the constant with the specified name. Requires exact match. |
public static DeliveryStatus fromInt(int i) | Returns the DeliveryStatus corresponding to a numeric value. |
public int getValue() | Returns the integer representation of the status. |
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!