Language

Telephony.Sms.Intents.GetMessagesFromIntent(Intent) Method

Definition

Read the PDUs out of an SMS_RECEIVED_ACTION or a DATA_SMS_RECEIVED_ACTION intent.

[Android.Runtime.Register("getMessagesFromIntent", "(Landroid/content/Intent;)[Landroid/telephony/SmsMessage;", "")]
public static Android.Telephony.SmsMessage[]? GetMessagesFromIntent(Android.Content.Intent? intent);
[<Android.Runtime.Register("getMessagesFromIntent", "(Landroid/content/Intent;)[Landroid/telephony/SmsMessage;", "")>]
static member GetMessagesFromIntent : Android.Content.Intent -> Android.Telephony.SmsMessage[]

Parameters

intent
Intent

the intent to read from

Returns

an array of SmsMessages for the PDUs

Attributes

Remarks

Read the PDUs out of an SMS_RECEIVED_ACTION or a DATA_SMS_RECEIVED_ACTION intent.

Android reference for android.provider.Telephony.Sms.Intents.getMessagesFromIntent.

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