Freigeben über


SmsMessage.MessageBody Property

Definition

Returns the message body as a String, if it exists and is text based.

public virtual string? MessageBody { [Android.Runtime.Register("getMessageBody", "()Ljava/lang/String;", "GetGetMessageBodyHandler")] get; }
[<get: Android.Runtime.Register("getMessageBody", "()Ljava/lang/String;", "GetGetMessageBodyHandler")>]
member this.MessageBody : string

Property Value

message body if there is one, otherwise null

Attributes

Remarks

Returns the message body as a String, if it exists and is text based.

Java documentation for android.telephony.SmsMessage.getMessageBody().

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