SmsResultError Enum

Definition

Enumerates values returned by several methods of SmsResultError.

public enum SmsResultError
type SmsResultError = 
Inheritance
SmsResultError

Fields

Name Value Description
ErrorNone 0

No error.

Android reference for android.telephony.SmsManager.RESULT_ERROR_NONE.

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.

GenericFailure 1

Generic failure cause

Android reference for android.telephony.SmsManager.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.

RadioOff 2

Failed because radio was explicitly turned off

Android reference for android.telephony.SmsManager.RESULT_ERROR_RADIO_OFF.

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.

NullPdu 3

Failed because no pdu provided

Android reference for android.telephony.SmsManager.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.

NoService 4

Failed because service is currently unavailable

Android reference for android.telephony.SmsManager.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.

LimitExceeded 5

Failed because we reached the sending queue limit.

Android reference for android.telephony.SmsManager.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.

FdnCheckFailure 6

Failed because FDN is enabled.

Android reference for android.telephony.SmsManager.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.

ShortCodeNotAllowed 7

Failed because user denied the sending of this short code.

Android reference for android.telephony.SmsManager.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.

ShortCodeNeverAllowed 8

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

Android reference for android.telephony.SmsManager.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.

Remarks

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.

Applies to