SmsIntentResult Enum

Definition

Enumerates values returned by several types.

public enum SmsIntentResult
type SmsIntentResult = 
Inheritance
SmsIntentResult

Fields

Name Value Description
Handled 1

Set by BroadcastReceiver to indicate that the message was handled successfully.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_HANDLED.

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.

GenericError 2

Set by BroadcastReceiver to indicate a generic error while processing the message.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_GENERIC_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.

OutOfMemory 3

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate insufficient memory to store the message.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_OUT_OF_MEMORY.

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.

Unsupported 4

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate that the message, while possibly valid, is of a format or encoding that is not supported.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_UNSUPPORTED.

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.

Duplicated 5

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate a duplicate incoming message.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_DUPLICATED.

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.

DispatchFailure 6

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate a dispatch failure.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_DISPATCH_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.

NullPdu 7

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate a null PDU was received.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_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.

NullMessage 8

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate a null message was encountered.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_NULL_MESSAGE.

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.

ReceivedWhileEncrypted 9

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate an sms was received while the phone was in encrypted state. This result code is only used on devices that use Full Disk Encryption. Support for Full Disk Encryption was entirely removed in API level 33, having been replaced by File Based Encryption. Devices that use File Based Encryption never reject incoming SMS messages due to the encryption state.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_RECEIVED_WHILE_ENCRYPTED.

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.

DatabaseError 10

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate a telephony database error.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_DATABASE_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.

InvalidUri 11

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate an invalid uri.

Android reference for android.provider.Telephony.Sms.Intents.RESULT_SMS_INVALID_URI.

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