Dela via


SmsMessage.DisplayMessageBody Property

Definition

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

public virtual string? DisplayMessageBody { [Android.Runtime.Register("getDisplayMessageBody", "()Ljava/lang/String;", "GetGetDisplayMessageBodyHandler")] get; }
[<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.

Java documentation for android.telephony.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