SmsMessage.DisplayMessageBody Property

Definition

Caution

deprecated

Returns the message body, or email message body if this message was from an email gateway.

[System.Obsolete("deprecated")]
public virtual string? DisplayMessageBody { [Android.Runtime.Register("getDisplayMessageBody", "()Ljava/lang/String;", "GetGetDisplayMessageBodyHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getDisplayMessageBody", "()Ljava/lang/String;", "GetGetDisplayMessageBodyHandler")>]
member this.DisplayMessageBody : string

Property Value

Attributes

Remarks

Returns the message body, or email message body if this message was from an email gateway. Returns null if message body unavailable.

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

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

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