|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NetworkPresence>
org.apache.shindig.social.opensocial.model.NetworkPresence
public enum NetworkPresence
public java.lang.Enum for opensocial.Enum.NetworkPresence.
| Enum Constant Summary | |
|---|---|
AWAY
Currently online but away. |
|
CHAT
In a chat or available to chat. |
|
DND
Online, but don't disturb. |
|
OFFLINE
Currently Offline. |
|
ONLINE
Currently Online. |
|
XA
Gone away for a longer period of time. |
|
| Method Summary | |
|---|---|
String |
getDisplayValue()
|
String |
toString()
|
static NetworkPresence |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NetworkPresence[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NetworkPresence ONLINE
public static final NetworkPresence OFFLINE
public static final NetworkPresence AWAY
public static final NetworkPresence CHAT
public static final NetworkPresence DND
public static final NetworkPresence XA
| Method Detail |
|---|
public static NetworkPresence[] values()
for (NetworkPresence c : NetworkPresence.values()) System.out.println(c);
public static NetworkPresence valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<NetworkPresence>Enum.toString()public String getDisplayValue()
getDisplayValue in interface Enum.EnumKeyEnum.EnumKey.getDisplayValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||