|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object YahooUser
Represents a single Yahoo user that the API knows about. This may be because they are on our friends list, because they are on our ignored list - or just because they are someone we encountered as part of a conference session, or they tried to add us to their friends list.
Not all fields will be filled out. Yahoo often does not give full info on every Yahoo id included in its packets - but there should always be sufficient data to do the task at hand, whether that be sending messages to a conference, refusing a contact request, etc.
Yahoo does not give update information for users a session is not in direct contact with. If we leave a chat room, for example, the YahooUser objects for its visitors will no longer be updated - unless they are also reachable via another route, for example if they are on our friends list.
Constructor Summary | |
YahooUser()
|
Method Summary | |
String |
getCustomStatusMessage()
Returns this user's custom status message. |
String |
getId()
Returns the Yahoo ID of this user. |
long |
getStatus()
Returns the status of this user. |
boolean |
isCustomBusy()
Returns whether this user's custom status is 'busy'. |
boolean |
isFriend()
Returns true if this user is in one or more of the session's Friends groups. |
boolean |
isIgnored()
Returns whether messages from this user are currently ignored. |
boolean |
isLoggedIn()
Returns whether this user is logged into Yahoo. |
boolean |
isOnChat()
Returns whether this user is accessing Yahoo via the chat system. |
boolean |
isOnPager()
Returns whether this user is accessing Yahoo via the pager (Instant Messager) system. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public YahooUser()
Method Detail |
public String getId()
public long getStatus()
StatusConstants
interface for meanings.
public boolean isOnChat()
public boolean isOnPager()
public boolean isLoggedIn()
public boolean isIgnored()
isIgnored
status of each user from whom it
gets a message.
public String getCustomStatusMessage()
null
.
null
public boolean isCustomBusy()
public boolean isFriend()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |