|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface representing a text message
Object instances implementing this interface are just containers for the data that is passed in. The setXxx() methods just set the values of the parameters in the data container without any checking whether the value is valid in any way for the respective parameter.
Note: Text messages using this interface deal with Java Strings encoded as normally in Java. The underlying implementation will convert the Java Strings into a suitable encoding for the messaging protocol in question. Because the character sets vary between different protocols, it is possible that some characters are not transmitted correctly across the network. If the application is aware of the protocol used, it should only use characters that are included in the character set(s) used by the protocol.
Method Summary | |
java.lang.String |
getPayloadText()
Returns the message payload data as a String Returns null if the payload for the message is not set. |
void |
setPayloadText(java.lang.String data)
Sets the payload data of this message. |
Methods inherited from interface com.nokia.mid.messaging.Message |
getAddress, getTimestamp, setAddress |
Method Detail |
public java.lang.String getPayloadText()
Returns the message payload data as a String
Returns null if the payload for the message is not set.
public void setPayloadText(java.lang.String data)
data
- payload data as a String
|
forum.nokia.com/java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |