| Modifier and Type | Class and Description |
|---|---|
static class |
User.BuddyStatus
The
BuddyStatus enum contains the buddy status of the skype user. |
static class |
User.Sex
The
Sex enum contains the sex constants of the skype user. |
static class |
User.Status
The
Status enum contains the online status constants of the skype user. |
| Modifier and Type | Field and Description |
|---|---|
static String |
MOOD_TEXT_PROPERTY
Identifies the mood message property.
|
static String |
STATUS_PROPERTY
Identifies the status property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to this user.
|
Call |
call()
Start a call to this User.
|
boolean |
canLeaveVoiceMail()
Indicates whether the current user can leave voice mails to this user.
|
Chat |
chat()
Start a chat to this User.
|
boolean |
equals(Object compared)
Overridden to compare User obejct based on ID.
|
String |
getAbout()
Deprecated.
|
Call[] |
getAllCalls()
Search all calls to and from this User.
|
ChatMessage[] |
getAllChatMessages()
Search for all chatMessages to and from this User.
|
BufferedImage |
getAvatar()
Gets the avatar of this user.
|
Date |
getBirthDay()
Return the birthdate of this User.
|
User.BuddyStatus |
getBuddyStatus()
Returns the buddy status of this user.
|
String |
getCity()
Return the city this User is based in.
|
String |
getCountry()
Return the country the User is based.
|
String |
getCountryByISOCode()
Return the country by ISO code the User is based.
|
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 User.
|
String |
getFullName()
Return full name of this User.
|
String |
getHomePageAddress()
Return the homepage URL of this User.
|
String |
getHomePhone()
Deprecated.
|
String |
getHomePhoneNumber()
Return the home phone number that is in the User profile.
|
String |
getId()
Return ID of this User.
|
static User |
getInstance(String id)
Returns the User object by the specified id.
|
String |
getIntroduction()
Returns introduction User has provided in his/her profile.
|
String |
getLanguage()
Return the native language of this User.
|
String |
getLanguageByISOCode()
Return the native language by ISO code of this User.
|
Date |
getLastOnlineTime()
Return last online time (UNIX timestamp).
|
String |
getLauguage()
Deprecated.
|
String |
getMobilePhone()
Deprecated.
|
String |
getMobilePhoneNumber()
Return the mobile phone number of this User.
|
String |
getMoodMessage()
Return the mood message of this user.
|
String |
getOfficePhone()
Deprecated.
|
String |
getOfficePhoneNumber()
Return the office phone number that is in the User profile.
|
User.Status |
getOnlineStatus()
Deprecated.
|
String |
getProvince()
Return the province the user is based.
|
User.Sex |
getSex()
Return the sex of this User.
|
String |
getSpeedDial()
Gets the speed dial of this user.
|
void |
getSpeedDial(String newValue)
Sets the speed dial of this user.
|
User.Status |
getStatus()
Return the online status of this User.
|
int |
getTimeZone()
Gets the time zone of the current user.
|
int |
hashCode()
Overridden to provide ID as hashcode.
|
boolean |
isAuthorized()
Check if this User is authorized in your contactlist.
|
boolean |
isBlocked()
Check if this User is blocked in your contactlist.
|
boolean |
isForwardingCalls()
Indicates whether the current user is forwarding calls.
|
boolean |
isVideoCapable()
Check if this User has a Skype client that can do video chats.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes the PropertyChangeListener from this user.
|
ChatMessage |
send(String message)
Send this User a chatMessage.
|
void |
setAuthorized(boolean on)
Set this user being authorized, or not in your contactlist.
|
void |
setBlocked(boolean on)
Set this user being blocked, or not in your contactlist.
|
void |
setData(String name,
Object userData)
Associates the specified user data with the specified name in this object.
|
void |
setDisplayName(String newValue)
Set a displayname for this User.
|
String |
toString()
Provide ID as string representation.
|
VoiceMail |
voiceMail()
Leave a voicemail for this User.
|
public static final String STATUS_PROPERTY
public static final String MOOD_TEXT_PROPERTY
public static User getInstance(String id)
id - whose associated User object is to be returned.public final int hashCode()
public final boolean equals(Object compared)
public final String toString()
public final String getId()
public final String getFullName() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final Date getBirthDay() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final User.Sex getSex() throws SkypeException
SkypeException - when connection to Skype client has gone bad.@Deprecated public final User.Status getOnlineStatus() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final User.Status getStatus() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public Date getLastOnlineTime() throws SkypeException
SkypeException - when connection has gone bad.@Deprecated public final String getLauguage() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getLanguage() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getLanguageByISOCode() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getCountry() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getCountryByISOCode() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getProvince() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getCity() throws SkypeException
SkypeException - when connection to Skype client has gone bad.@Deprecated public final String getHomePhone() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getHomePhoneNumber() throws SkypeException
SkypeException - when connection to Skype client has gone bad.@Deprecated public final String getOfficePhone() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getOfficePhoneNumber() throws SkypeException
SkypeException - when connection to Skype client has gone bad.@Deprecated public final String getMobilePhone() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getMobilePhoneNumber() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getHomePageAddress() throws SkypeException
SkypeException - when connection to Skype client has gone bad.@Deprecated public final String getAbout() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final String getIntroduction() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public String getMoodMessage() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public String getSpeedDial() throws SkypeException
SkypeException - when the connection has gone bad or an ERROR message is received.#setSpeedDial(String)public void getSpeedDial(String newValue) throws SkypeException
newValue - the speed dial of this user.SkypeException - when the connection has gone bad or an ERROR message is received.getSpeedDial()public int getTimeZone()
throws SkypeException
SkypeException - when the connection has gone bad or an ERROR message is received.#setTimeZone(int)public final String getDisplayName() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final boolean isVideoCapable()
throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final User.BuddyStatus getBuddyStatus() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final boolean isAuthorized()
throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final void setAuthorized(boolean on)
throws SkypeException
on - true if user will be authorized.SkypeException - when connection to Skype client has gone bad.public final boolean isBlocked()
throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final boolean canLeaveVoiceMail()
throws SkypeException
true if the current user can leave voice mails; false otherwise.SkypeException - when the connection has gone bad or an ERROR message is received.public final boolean isForwardingCalls()
throws SkypeException
true if the current user is forwarding calls; false otherwise.SkypeException - when the connection has gone bad or an ERROR message is received.public final void setBlocked(boolean on)
throws SkypeException
on - true if user will be blocked.SkypeException - when connection to Skype client has gone bad.public BufferedImage getAvatar() throws SkypeException
SkypeException - when the connection has gone bad or an ERROR message is received.public final Call call() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final Chat chat() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final ChatMessage send(String message) throws SkypeException
message - The message to send.SkypeException - when connection to Skype client has gone bad.public final VoiceMail voiceMail() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final void setDisplayName(String newValue) throws SkypeException
newValue - the new name to set.SkypeException - when connection to Skype client has gone bad.public final ChatMessage[] getAllChatMessages() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final Call[] getAllCalls() throws SkypeException
SkypeException - when connection to Skype client has gone bad.public final void addPropertyChangeListener(PropertyChangeListener listener) throws SkypeException
The listener is registered for all bound properties of this user, including the following:
If listener is null, no exception is thrown and no action is performed.
listener - the PropertyChangeListener to be addedSkypeExceptionremovePropertyChangeListener(PropertyChangeListener)public final void removePropertyChangeListener(PropertyChangeListener listener)
If listener is null, no exception is thrown and no action is performed.
listener - the PropertyChangeListener to be removedaddPropertyChangeListener(PropertyChangeListener)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.