public final class Chat extends Object
https://developer.skype.com/Docs/ApiDoc/CHAT_object| Modifier and Type | Class and Description |
|---|---|
static class |
Chat.Status
Enumeration of the status of CHAT object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ChatListener listener) |
void |
addUser(User addedUser)
Add a User to this CHAT.
|
void |
addUsers(User[] addedUsers)
Add several users to this CHAT.
|
boolean |
equals(Object compared)
Implement a equals check for CHAT objects based on their ID's.
|
User |
getAdder()
Return user who added the current user to chat.
|
User[] |
getAllActiveMembers()
Return all active members of CHAT.
|
ChatMessage[] |
getAllChatMessages()
Return all messages posted in this CHAT.
|
User[] |
getAllMembers()
Return all users in this CHAT.
|
User[] |
getAllPosters()
Return all chatting members on this CHAT.
|
Object |
getData(String name)
Returns the user data to which this object maps to the specified by the name.
|
String |
getId()
Return the ID of this CHAT object.
|
ChatMessage[] |
getRecentChatMessages()
Get the most recent chatmessages for this CHAT.
|
Chat.Status |
getStatus()
Return the status of this CHAT.
|
Date |
getTime()
Return the timestamp of this CHAT.
|
String |
getWindowTitle()
Get the friendly name of this chat.
|
int |
hashCode()
Return the hashcode of this CHAT object.
|
boolean |
isBookmarked()
Indicates if this chat has been bookmarked.
|
void |
leave()
Leave this CHAT.
|
void |
removeListener(ChatListener listener) |
ChatMessage |
send(String message)
Send a message to this CHAT.
|
void |
setData(String name,
Object userData)
Associates the specified user data with the specified name in this object.
|
void |
setGuidelines(String newValue)
Set the guidelines of this CHAT.
|
void |
setTopic(String newValue)
Set the topic of this CHAT.
|
public int hashCode()
public boolean equals(Object compared)
public String getId()
public void setTopic(String newValue) throws SkypeException
newValue - The new topic.SkypeException - when the connection has gone bad.public void setGuidelines(String newValue) throws SkypeException
newValue - The new guidelines.SkypeException - when the connection has gone bad.public void addUser(User addedUser) throws SkypeException
addedUser - the user to add.SkypeException - when connection has gone bad.public void addUsers(User[] addedUsers) throws SkypeException
addedUsers - Users to add.SkypeException - when the connection has gone bad.public void leave()
throws SkypeException
SkypeException - when the connection has gone bad.public ChatMessage[] getAllChatMessages() throws SkypeException
SkypeException - when connection has gone bad.public ChatMessage[] getRecentChatMessages() throws SkypeException
SkypeException - when conenction is gone bad.public ChatMessage send(String message) throws SkypeException
message - the message to send.SkypeException - when the connection has gone bad.public Date getTime() throws SkypeException
SkypeException - when the connection has gone bad.public User getAdder() throws SkypeException
SkypeException - when connection has gone bad.public Chat.Status getStatus() throws SkypeException
SkypeException - when the connection has gone bad.public String getWindowTitle() throws SkypeException
SkypeException - when the connection has gone bad.public User[] getAllPosters() throws SkypeException
SkypeException - when connection has gone bad.public User[] getAllMembers() throws SkypeException
SkypeException - when connection has gone bad.public User[] getAllActiveMembers() throws SkypeException
SkypeException - when connection has gone bad.public boolean isBookmarked()
throws SkypeException
SkypeException - when the connection has gone bad.public void addListener(ChatListener listener) throws SkypeException
SkypeExceptionpublic void removeListener(ChatListener listener)
public final Object getData(String name)
name - name whose associated user data is to be returned.Map.get(Object)public final void setData(String name, Object userData)
name - name with which the specified user data is to be associated.userData - user data to be associated with the specified name.Map.put(Object, Object)Copyright © 2013. All Rights Reserved.