public class FriendInfo extends UserInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LABEL_LEN
Friend label name max length.
|
MAX_EMAIL_LEN, MAX_GENDER_LEN, MAX_ID_LEN, MAX_PHONE_LEN, MAX_REGION_LEN, MAX_USER_DESCRIPTION_LEN, MAX_USER_NAME_LEN| Modifier | Constructor and Description |
|---|---|
protected |
FriendInfo() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionStatus |
getConnectionStatus()
Get friend's connection status.
|
java.lang.String |
getLabel()
Get friend's label name.
|
PresenceStatus |
getPresence()
Get friend's presence.
|
void |
setConnectionStatus(ConnectionStatus status)
Set friend's connection status.
|
void |
setLabel(java.lang.String label)
Set friend's label name.
|
void |
setPresence(PresenceStatus status)
Set friend's presence.
|
java.lang.String |
toString()
Get formatted debug description of current FriendInfo object.
|
public static final int MAX_LABEL_LEN
public void setLabel(java.lang.String label)
label - The new label to set.public java.lang.String getLabel()
public void setConnectionStatus(ConnectionStatus status)
status - The ConnectionStatus object.public ConnectionStatus getConnectionStatus()
public void setPresence(PresenceStatus status)
status - The presence status.public PresenceStatus getPresence()