FileDocCategorySizeDatePackage
TextMessage.javaAPI DocphoneME MR2 API (J2ME)1676Wed May 02 18:00:32 BST 2007javax.wireless.messaging

TextMessage

public interface TextMessage implements Message
An interface representing a text message.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetPayloadText()
Returns a String representing the message payload data.

return
null if the payload isn't set, or this message's payload
see
#setPayloadText

public voidsetPayloadText(java.lang.String data)
Sets the message payload data. It may be null.

param
data a String representing the payload data
see
#getPayloadText