Package com.sinch.sdk.domains.sms.models
Class DeliveryReportErrorCode
- java.lang.Object
-
- com.sinch.sdk.core.utils.EnumDynamic<Integer,DeliveryReportErrorCode>
-
- com.sinch.sdk.domains.sms.models.DeliveryReportErrorCode
-
public class DeliveryReportErrorCode extends EnumDynamic<Integer,DeliveryReportErrorCode>
Applied encoding for message.
-
-
Field Summary
Fields Modifier and Type Field Description static DeliveryReportErrorCodeBAD_MEDIAMMS only, the request failed due to a bad media URL.static DeliveryReportErrorCodeBLOCKEDThe account is blocked.static DeliveryReportErrorCodeCANCELLEDMessage was cancelled by user before reaching SMSC.static DeliveryReportErrorCodeDELIVERY_REPORT_NOT_SUPPORTEDMMS only, message reached MMSC but it is not supported.static DeliveryReportErrorCodeDELIVERY_REPORT_REJECTEDMMS only, message reached MMSC but was rejected by MMS gateway or mobile network.static DeliveryReportErrorCodeDELIVERY_REPORT_UNREACHABLEMMS only, message reached MMSC but the destination network or the mobile subscriber cannot be reached.static DeliveryReportErrorCodeDELIVERY_REPORT_UNRECOGNIZEDMMS only, message reached MMSC but the handset of the mobile subscriber does not recognize the message content.static DeliveryReportErrorCodeDISPATCHEDMessage has been dispatched to SMSC.static DeliveryReportErrorCodeEXCEEDED_PARTS_LIMITMessage failed as the number of message parts exceeds the defined max number of message parts.static DeliveryReportErrorCodeINTERNAL_ERRORAn unexpected error caused the message to fail.static DeliveryReportErrorCodeINTERNAL_EXPIRYMessage was expired before reaching SMSC.static DeliveryReportErrorCodeINTERNAL_REJECTSMSC rejected the message.static DeliveryReportErrorCodeMESSAGE_UNROUTABLEstatic DeliveryReportErrorCodeQUEUEDMessage is queued within REST API system and will be dispatched according to the rate of the account.static DeliveryReportErrorCodeTEMPORARY_DELIVERY_FAILUREMessage failed because of temporary delivery failure.static DeliveryReportErrorCodeUNMATCHED_DEFAULT_ORIGINATORNo default originator exists/configured for this recipient when sending message without originator.static DeliveryReportErrorCodeUNMATCHED_PARAMETEROne or more parameters in the message body has no mapping for this recipient.static DeliveryReportErrorCodeUNPROVISIONED_REGIONSMSC rejected the message.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeliveryReportErrorCodefrom(Integer value)static IntegervalueOf(DeliveryReportErrorCode e)static Stream<DeliveryReportErrorCode>values()-
Methods inherited from class com.sinch.sdk.core.utils.EnumDynamic
equals, hashCode, toString, value
-
-
-
-
Field Detail
-
QUEUED
public static final DeliveryReportErrorCode QUEUED
Message is queued within REST API system and will be dispatched according to the rate of the account.
-
DISPATCHED
public static final DeliveryReportErrorCode DISPATCHED
Message has been dispatched to SMSC.
-
MESSAGE_UNROUTABLE
public static final DeliveryReportErrorCode MESSAGE_UNROUTABLE
-
INTERNAL_ERROR
public static final DeliveryReportErrorCode INTERNAL_ERROR
An unexpected error caused the message to fail.
-
TEMPORARY_DELIVERY_FAILURE
public static final DeliveryReportErrorCode TEMPORARY_DELIVERY_FAILURE
Message failed because of temporary delivery failure. Message can be retried.
-
UNMATCHED_PARAMETER
public static final DeliveryReportErrorCode UNMATCHED_PARAMETER
One or more parameters in the message body has no mapping for this recipient. See Message Parameterization
-
INTERNAL_EXPIRY
public static final DeliveryReportErrorCode INTERNAL_EXPIRY
Message was expired before reaching SMSC. This may happen if the expiry time for the message was very short.
-
CANCELLED
public static final DeliveryReportErrorCode CANCELLED
Message was cancelled by user before reaching SMSC.
-
INTERNAL_REJECT
public static final DeliveryReportErrorCode INTERNAL_REJECT
SMSC rejected the message. Retrying is likely to cause the same error.
-
UNMATCHED_DEFAULT_ORIGINATOR
public static final DeliveryReportErrorCode UNMATCHED_DEFAULT_ORIGINATOR
No default originator exists/configured for this recipient when sending message without originator.
-
EXCEEDED_PARTS_LIMIT
public static final DeliveryReportErrorCode EXCEEDED_PARTS_LIMIT
Message failed as the number of message parts exceeds the defined max number of message parts.
-
UNPROVISIONED_REGION
public static final DeliveryReportErrorCode UNPROVISIONED_REGION
SMSC rejected the message. The account hasn't been provisioned for this region.
-
BLOCKED
public static final DeliveryReportErrorCode BLOCKED
The account is blocked. Reach out to support for help. Potentially out of credits.
-
BAD_MEDIA
public static final DeliveryReportErrorCode BAD_MEDIA
MMS only, the request failed due to a bad media URL. It is possible that the URL was unreachable, or sent a bad response.
-
DELIVERY_REPORT_REJECTED
public static final DeliveryReportErrorCode DELIVERY_REPORT_REJECTED
MMS only, message reached MMSC but was rejected by MMS gateway or mobile network.
-
DELIVERY_REPORT_NOT_SUPPORTED
public static final DeliveryReportErrorCode DELIVERY_REPORT_NOT_SUPPORTED
MMS only, message reached MMSC but it is not supported.
-
DELIVERY_REPORT_UNREACHABLE
public static final DeliveryReportErrorCode DELIVERY_REPORT_UNREACHABLE
MMS only, message reached MMSC but the destination network or the mobile subscriber cannot be reached.
-
DELIVERY_REPORT_UNRECOGNIZED
public static final DeliveryReportErrorCode DELIVERY_REPORT_UNRECOGNIZED
MMS only, message reached MMSC but the handset of the mobile subscriber does not recognize the message content.
-
-
Method Detail
-
values
public static Stream<DeliveryReportErrorCode> values()
-
from
public static DeliveryReportErrorCode from(Integer value)
-
valueOf
public static Integer valueOf(DeliveryReportErrorCode e)
-
-