|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.skype.Group
public final class Group
Implementation of the SKYPE GROUP object. The GROUP object enables users to group contacts. There are two types of GROUP ; custom groups and hardwired groups.
https://developer.skype.com/Docs/ApiDoc/GROUP_object,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
Group.Type
Enumeration of the type attribute. |
| Method Summary | |
|---|---|
void |
addFriend(Friend friend)
Add friend to this GROUP. |
void |
addPSTN(String pstn)
Add a regular phonenumber (PSTN) to this group. |
void |
changeFriendDisplayName(Friend friend,
String displayName)
changes the display name for a contact. |
void |
changePSTNDisplayName(String pstn,
String displayName)
changes the display name for a contact. |
void |
dispose()
Remove this GROUP. |
boolean |
equals(Object compared)
Compare an other GROUP with this one based in their ID's. |
Friend[] |
getAllFriends()
Return all authorized users. |
Object |
getData(String name)
Returns the user data to which this object maps to the specified by the name. |
String |
getDisplayName()
Return the displayname of this GROUP. |
String |
getId()
Return the value of ID of this GROUP. |
Group.Type |
getType()
Get the type of this GROUP. |
boolean |
hasFriend(Friend checked)
Check for any friends. |
int |
hashCode()
Return the ID as an hashcode. |
boolean |
isExpanded()
Check if GROUP is expanded. |
boolean |
isVisible()
Check if GROUP is visible. |
void |
removeFriend(Friend friend)
Remove a friend from this GROUP. |
void |
removePSTN(String pstn)
Remove a regular phonenumber (PSTN) from this group. |
void |
setData(String name,
Object userData)
Associates the specified user data with the specified name in this object. |
void |
setDisplayName(String newValue)
Set the displayname of this GROUP. |
String |
toString()
Return the GROUP ID as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, 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 toString()
toString in class Objectpublic String getId()
public void addFriend(Friend friend)
throws SkypeException
friend - to add.
SkypeException - when the connection has gone bad.
public void addPSTN(String pstn)
throws SkypeException
pstn - the regular phonenumber.
SkypeException - when connection has gone bad.
public void removeFriend(Friend friend)
throws SkypeException
friend - The User to remove from this group.
SkypeException - when connection has gone bad.
public void removePSTN(String pstn)
throws SkypeException
pstn - The number to remove from this group.
SkypeException - when the connection has gone bad.
public void changeFriendDisplayName(Friend friend,
String displayName)
throws SkypeException
friend - The User to change this for.displayName - The new name.
SkypeException - when connection has gone bad.
public void changePSTNDisplayName(String pstn,
String displayName)
throws SkypeException
pstn - The pstn to change this for.displayName - The new name.
SkypeException - when connection has gone bad.
public Friend[] getAllFriends()
throws SkypeException
SkypeException - when the connection has gone bad.
public boolean hasFriend(Friend checked)
throws SkypeException
checked - the friend to check against.
SkypeException - when connection has gone bad.
public boolean isVisible()
throws SkypeException
SkypeException - when connection has gone bad.
public boolean isExpanded()
throws SkypeException
SkypeException - when the connection has gone bad.
public String getDisplayName()
throws SkypeException
SkypeException - when the connection has gone bad.
public void setDisplayName(String newValue)
throws SkypeException
newValue - the new name.
SkypeException - when the connection has gone bad.
public Group.Type getType()
throws SkypeException
SkypeException - when the connection has gone bad.
public void dispose()
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 | |||||||||