Telephony.Sms.Intents.DataSmsReceivedAction 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 data based SMS message has been received by the device.
[Android.Runtime.Register("DATA_SMS_RECEIVED_ACTION")]
public const string DataSmsReceivedAction;
[<Android.Runtime.Register("DATA_SMS_RECEIVED_ACTION")>]
val mutable DataSmsReceivedAction : string
Field Value
- Attributes
Remarks
Broadcast Action: A new data based SMS message has been received by the device. This intent will be delivered to all registered receivers as a notification. 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.
Requires Manifest.permission.RECEIVE_SMS to receive.
Android reference for android.provider.Telephony.Sms.Intents.DATA_SMS_RECEIVED_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.