Language

SendStatusResultType Enum

Definition

Specifies detailed failure reasons for SMS send requests handled by a carrier messaging service.

public enum SendStatusResultType
type SendStatusResultType = 
Inheritance
SendStatusResultType

Fields

Name Value Description
ErrorGenericFailure 200

Generic failure cause.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_ERROR_GENERIC_FAILURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorNullPdu 201

Failed because no pdu provided.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_ERROR_NULL_PDU.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorNoService 202

Failed because service is currently unavailable.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_ERROR_NO_SERVICE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorLimitExceeded 203

Failed because we reached the sending queue limit.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_ERROR_LIMIT_EXCEEDED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorFdnCheckFailure 204

Failed because FDN is enabled.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_ERROR_FDN_CHECK_FAILURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorShortCodeNotAllowed 205

Failed because user denied the sending of this short code.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_ERROR_SHORT_CODE_NOT_ALLOWED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorShortCodeNeverAllowed 206

Failed because the user has denied this app ever send premium short codes.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NetworkReject 207

Failed because of network rejection.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_NETWORK_REJECT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InvalidArguments 208

Failed because of invalid arguments.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_INVALID_ARGUMENTS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InvalidState 209

Failed because of an invalid state.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_INVALID_STATE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InvalidSmsFormat 210

Failed because the sms format is not valid.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_INVALID_SMS_FORMAT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NetworkError 211

Failed because of a network error.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_NETWORK_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

EncodingError 212

Failed because of an encoding error.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_ENCODING_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InvalidSmscAddress 213

Failed because of an invalid smsc address

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_INVALID_SMSC_ADDRESS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

OperationNotAllowed 214

Failed because the operation is not allowed.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_OPERATION_NOT_ALLOWED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Cancelled 215

Failed because the operation was cancelled.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_CANCELLED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RequestNotSupported 216

Failed because the request is not supported.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_REQUEST_NOT_SUPPORTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SmsBlockedDuringEmergency 217

Failed sending during an emergency call.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_SMS_BLOCKED_DURING_EMERGENCY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SmsSendRetryFailed 218

Failed to send an sms retry.

Android reference for android.service.carrier.CarrierMessagingService.SEND_STATUS_RESULT_SMS_SEND_RETRY_FAILED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

These values represent the Android SEND_STATUS_RESULT_ constants. Each maps to the corresponding SmsManager SMS result, but the numeric values are different. These failures do not request a retry through the carrier network. Use RetryOnCarrierNetwork to request that retry instead.

Android 16 carrier messaging SMS send result definitions.

Applies to