public enum ContactStateType extends java.lang.Enum<ContactStateType>
Enum Constant and Description |
---|
Offline
The contact is offline
|
Online
The contact is online
|
Unknown
The contact state is not known
|
Modifier and Type | Method and Description |
---|---|
static ContactStateType |
fromInt(int i) |
static ContactStateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContactStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactStateType Offline
public static final ContactStateType Online
public static final ContactStateType Unknown
public static ContactStateType[] values()
for (ContactStateType c : ContactStateType.values()) System.out.println(c);
public static ContactStateType 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 namejava.lang.NullPointerException
- if the argument is nullpublic static ContactStateType fromInt(int i)