Share via


SmsMessage.GetPdu Method

Definition

Caution

deprecated

Returns the raw PDU for the message.

[Android.Runtime.Register("getPdu", "()[B", "GetGetPduHandler")]
[System.Obsolete("deprecated")]
public virtual byte[]? GetPdu ();
[<Android.Runtime.Register("getPdu", "()[B", "GetGetPduHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetPdu : unit -> byte[]
override this.GetPdu : unit -> byte[]

Returns

Byte[]

the raw PDU for the message.

Attributes

Remarks

Returns the raw PDU for the message.

This member is deprecated. Use android.telephony.SmsMessage.

Java documentation for android.telephony.gsm.SmsMessage.getPdu().

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