Telephony.Sms.Intents.SmsDeliverAction Field
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.
Broadcast Action: A new text-based SMS message has been received by the device.
[Android.Runtime.Register("SMS_DELIVER_ACTION")]
public const string SmsDeliverAction;
[<Android.Runtime.Register("SMS_DELIVER_ACTION")>]
val mutable SmsDeliverAction : string
Field Value
- Attributes
Remarks
Broadcast Action: A new text-based SMS message has been received by the device. This intent will only be delivered to the default sms app. That app is responsible for writing the message and notifying the user. The intent will have the following extra values:
The extra values can be extracted using getMessagesFromIntent(Intent).
If a BroadcastReceiver encounters an error while processing this intent it should set the result code appropriately.
Note: The broadcast receiver that filters for this intent must declare Manifest.permission.BROADCAST_SMS as a required permission in the <receiver> tag. Requires Manifest.permission.RECEIVE_SMS to receive.
Android reference for android.provider.Telephony.Sms.Intents.SMS_DELIVER_ACTION.
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.