net.rim.blackberry.api.bbm.platform.ui.chat
Class TextMessage

java.lang.Object
  |
  +--net.rim.blackberry.api.bbm.platform.ui.chat.Message
        |
        +--net.rim.blackberry.api.bbm.platform.ui.chat.TextMessage

public class TextMessage
extends Message

Represents a text message in a conversation.

Since:
BBM SDK 1.0

Field Summary
protected  String _text
          String representation of the message.
 
Fields inherited from class net.rim.blackberry.api.bbm.platform.ui.chat.Message
_sender
 
Constructor Summary
TextMessage(String text, MessageSender sender)
          Creates an instance of the message.
 
Method Summary
 String getText()
          Returns the string representation of the message.
 
Methods inherited from class net.rim.blackberry.api.bbm.platform.ui.chat.Message
getSender
 

Field Detail

_text

protected String _text
String representation of the message.
Since:
BBM SDK 1.0
Constructor Detail

TextMessage

public TextMessage(String text,
                   MessageSender sender)
Creates an instance of the message.
Parameters:
text - string representation of the message
Since:
BBM SDK 1.0
Method Detail

getText

public String getText()
Returns the string representation of the message.
Returns:
string representation of the message
Since:
BBM SDK 1.0



Copyright 1999- Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.