|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChatSessionListener
The IChatSessionListener monitors the events that are occurring within a
ChatSession
.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Method Summary | |
---|---|
void |
contactIsTyping(Contact contact)
This method is called when a contact begins typing. |
void |
contactJoined(Contact contact)
This method is called when a contact joins the session. |
void |
contactLeft(Contact contact)
This method is called when a contact leaves the session. |
void |
messageReceived(Contact contact,
java.lang.String message)
This method is called when a message has been received from a contact. |
void |
sessionTimedOut()
This method is called when the session has timed out. |
Method Detail |
---|
void contactJoined(Contact contact)
contact
- the contact that has joinedvoid contactLeft(Contact contact)
contact
- the contact that has leftvoid contactIsTyping(Contact contact)
contact
- the contact that is currently typingvoid messageReceived(Contact contact, java.lang.String message)
contact
- the contact that has sent out a messagemessage
- the message that has been sentvoid sessionTimedOut()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |