|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ContactSummary.OnlineStatus> com.vodafone360.people.datatypes.ContactSummary.OnlineStatus
public static enum ContactSummary.OnlineStatus
Enumeration of online (Presence) status values.
Enum Constant Summary | |
---|---|
IDLE
|
|
INVISIBLE
|
|
OFFLINE
|
|
ONLINE
|
Field Summary | |
---|---|
private java.lang.String |
mOnlineStatus
The name of the field as it appears in the database. |
Method Summary | |
---|---|
static ContactSummary.OnlineStatus |
getValue(int index)
Obtain OnlineStatus value for supplied index. |
static ContactSummary.OnlineStatus |
getValue(java.lang.String value)
Obtain OnlineStatus value for supplied String. |
java.lang.String |
toString()
|
static ContactSummary.OnlineStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ContactSummary.OnlineStatus[] |
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 ContactSummary.OnlineStatus OFFLINE
public static final ContactSummary.OnlineStatus IDLE
public static final ContactSummary.OnlineStatus ONLINE
public static final ContactSummary.OnlineStatus INVISIBLE
Field Detail |
---|
private java.lang.String mOnlineStatus
Method Detail |
---|
public static ContactSummary.OnlineStatus[] values()
for (ContactSummary.OnlineStatus c : ContactSummary.OnlineStatus.values()) System.out.println(c);
public static ContactSummary.OnlineStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ContactSummary.OnlineStatus>
public static ContactSummary.OnlineStatus getValue(java.lang.String value)
String
- identifying online status.
public static ContactSummary.OnlineStatus getValue(int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
JavaDoc