public static enum Profile.Status extends Enum<Profile.Status>
Status enum contains the online status constants of the current user.| Enum Constant and Description |
|---|
AWAY
The
AWAY constant indicates the user is away. |
DND
The
DND constant indicates the user is in do not disturb mode. |
INVISIBLE
The
INVISIBLE constant indicates the user is invisible to others. |
LOGGEDOUT
The
LOGGEDOUT constant indicates the user is logged out. |
NA
The
NA constant indicates the user is not available. |
OFFLINE
The
OFFLINE constant indicates the user is offline. |
ONLINE
The
ONLINE constant indicates the user is online. |
SKYPEME
The
SKYPEME constant indicates the user is in SkypeMe mode. |
UNKNOWN
The
UNKNOWN constant indicates the user status is unknown. |
| Modifier and Type | Method and Description |
|---|---|
static Profile.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Profile.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Profile.Status UNKNOWN
UNKNOWN constant indicates the user status is unknown.public static final Profile.Status ONLINE
ONLINE constant indicates the user is online.public static final Profile.Status OFFLINE
OFFLINE constant indicates the user is offline.public static final Profile.Status SKYPEME
SKYPEME constant indicates the user is in SkypeMe mode.public static final Profile.Status AWAY
AWAY constant indicates the user is away.public static final Profile.Status NA
NA constant indicates the user is not available.public static final Profile.Status DND
DND constant indicates the user is in do not disturb mode.public static final Profile.Status INVISIBLE
INVISIBLE constant indicates the user is invisible to others.public static final Profile.Status LOGGEDOUT
LOGGEDOUT constant indicates the user is logged out.public static Profile.Status[] values()
for (Profile.Status c : Profile.Status.values()) System.out.println(c);
public static Profile.Status valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2013. All Rights Reserved.