|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.voiceclearly.api.chat.Chat
public class Chat
A chat represents a conversation between two users and includes Messages and a unique thread.
| Constructor Summary | |
|---|---|
Chat(com.voiceclearly.jingle.Chat jingleChat)
Chat object that wraps a jingle Chat object and typically not used by the end user. |
|
| Method Summary | |
|---|---|
com.voiceclearly.jingle.Chat |
getJingleChat()
Returns a jingle Chat object which is session aware and not typically used by client code directly. |
java.lang.String |
getParticipant()
Returns the name of the user the chat is with. |
void |
sendMessage(Message message)
Sends a message to the other chat participant. |
void |
sendMessage(java.lang.String text)
Sends the text as a message to the other chat user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Chat(com.voiceclearly.jingle.Chat jingleChat)
jingleChat - | Method Detail |
|---|
public com.voiceclearly.jingle.Chat getJingleChat()
public java.lang.String getParticipant()
public void sendMessage(java.lang.String text)
text - the text to send.public void sendMessage(Message message)
message - the message to send.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||