|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.skype.ContactList
public final class ContactList
This object can be used for all actions normal to a contactlist, like searching users and friends.
Method Summary | |
---|---|
Friend |
addFriend(String skypeId,
String messageForAuthorization)
Add user to contactlist. |
Friend |
addFriend(User user,
String messageForAuthorization)
Add user to contactlist. |
Group |
addGroup(String name)
Add group to contactlist. |
Friend[] |
getAllFriends()
Get all authorized users. |
Group[] |
getAllGroups()
Search for CUSTOM groups. |
Group[] |
getAllSystemGroups()
Search for HARDWIRED groups. |
Friend[] |
getAllUserWaitingForAuthorization()
Get all users waiting for AUTHORIZATION. |
Friend |
getFriend(String skypeId)
Get the Friend object for one of the authorized users. |
Group |
getGroup(String displayName)
Search for group with displayname. |
Group |
getSystemGroup(Group.Type type)
Search for a group based on it's type. |
void |
removeFriend(Friend friend)
Removes friend from this contact list. |
void |
removeGroup(Group group)
Remove group from contactlist. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Friend[] getAllFriends() throws SkypeException
SkypeException
- when the connection has gone bad.public Friend[] getAllUserWaitingForAuthorization() throws SkypeException
SkypeException
- when the connection has gone bad.public Friend getFriend(String skypeId) throws SkypeException
skypeId
- Skype ID of the friend.
SkypeException
- when a connection has gone bad.public Group[] getAllSystemGroups() throws SkypeException
SkypeException
- when connection has gone bad.public Group getSystemGroup(Group.Type type) throws SkypeException
type
- Group type to find.
SkypeException
- when connection has gone bad or type isn't correct, like CUSTOM_GROUP.public Group[] getAllGroups() throws SkypeException
SkypeException
- when connection has gone bad.public Group getGroup(String displayName) throws SkypeException
displayName
- name of the group.
SkypeException
- when connection has gone bad.public Group addGroup(String name) throws SkypeException
name
- Name of the group.
SkypeException
- when connection has gone bad.public Friend addFriend(User user, String messageForAuthorization) throws SkypeException
user
- user to be added.
SkypeException
- when connection has gone bad.public Friend addFriend(String skypeId, String messageForAuthorization) throws SkypeException
skypeId
- skype id of user to be added.
SkypeException
- when connection has gone bad.public void removeFriend(Friend friend) throws SkypeException
friend
- friend to be removed.
SkypeException
- when connection has gone bad.public void removeGroup(Group group) throws SkypeException
group
- Group to remove.
SkypeException
- when connection has gone bad.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |