Language

Telephony.Sms.Intents.ResultSmsReceivedWhileEncrypted Field

Definition

Caution

This constant will be removed in the future version. Use Android.Provider.SmsIntentResult enum directly instead of this field.

Set as a "result" extra in the SMS_REJECTED_ACTION intent to indicate an sms was received while the phone was in encrypted state.

[Android.Runtime.Register("RESULT_SMS_RECEIVED_WHILE_ENCRYPTED", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Provider.SmsIntentResult enum directly instead of this field.", true)]
public const Android.Provider.SmsIntentResult ResultSmsReceivedWhileEncrypted = 9;
[<Android.Runtime.Register("RESULT_SMS_RECEIVED_WHILE_ENCRYPTED", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Provider.SmsIntentResult enum directly instead of this field.", true)>]
val mutable ResultSmsReceivedWhileEncrypted : Android.Provider.SmsIntentResult

Field Value

Value = 9
Attributes

Remarks

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.

Applies to