SmsIntentResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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 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 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 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 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 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 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 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 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 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 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.