Language

Telephony.Sms.Intents.DataSmsReceivedAction Field

Definition

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.

Applies to