public class User extends Object
All information will be updated as updates are received (this object is NOT an immutable view/snapshot of a user account).
Modifier and Type | Method and Description |
---|---|
void |
block()
Blocks this user (without reporting the account).
|
boolean |
equals(Object obj) |
byte[] |
getAvatar() |
String |
getCity() |
String |
getCountry() |
String |
getDisplayName() |
String |
getFirstname() |
String |
getLastname() |
String |
getMood() |
Presence |
getPresence() |
String |
getUsername() |
int |
hashCode() |
void |
removeFromContacts()
Removes this user from the list of contacts of the Skype account.
|
void |
sendContactRequest(String greeting)
Sends a contact request to this account.
|
void |
sendMessage(String message)
Sends a message to this user.
|
String |
toString() |
void |
unblock()
Unblocks this user.
|
public void block()
public void unblock()
public void sendContactRequest(String greeting)
greeting
- The message to send in the contact request.public void removeFromContacts()
public void sendMessage(String message)
message
- The message to send to this user.public String getUsername()
public String getDisplayName()
public String getFirstname()
public String getLastname()
public String getMood()
public String getCountry()
public String getCity()
public byte[] getAvatar()
Copyright © 2015–2016. All rights reserved.