SmsMessage.MessageBody Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Returns the message body as a String, if it exists and is text based.
[System.Obsolete("deprecated")]
public virtual string? MessageBody { [Android.Runtime.Register("getMessageBody", "()Ljava/lang/String;", "GetGetMessageBodyHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getMessageBody", "()Ljava/lang/String;", "GetGetMessageBodyHandler")>]
member this.MessageBody : string
Property Value
message body is there is one, otherwise null
- Attributes
Remarks
Returns the message body as a String, if it exists and is text based.
This member is deprecated. Use android.telephony.SmsMessage.
Java documentation for android.telephony.gsm.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.