|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.skype.Chat
public final class Chat
object representing Skype CHAT object.
https://developer.skype.com/Docs/ApiDoc/CHAT_object,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
Chat.Status
Enumeration of the status of CHAT object. |
| Method Summary | |
|---|---|
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 |
getDescription()
Get the topic name of this chat. |
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. |
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 |
setTopic(String newValue)
Set the topic of this CHAT. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic boolean equals(Object compared)
equals in class Objectcompared - The object to compare to.
public String getId()
public void setTopic(String newValue)
throws SkypeException
newValue - The new topic.
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 String getDescription()
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 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||