public static enum Chat.Status extends Enum<Chat.Status>
| Enum Constant and Description |
|---|
DIALOG
LEGACY_DIALOG - old style IM
DIALOG - 1:1 chat.
|
LEGACY_DIALOG |
MULTI_SUBSCRIBED |
UNSUBSCRIBED |
| Modifier and Type | Method and Description |
|---|---|
static Chat.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Chat.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Chat.Status DIALOG
public static final Chat.Status LEGACY_DIALOG
public static final Chat.Status MULTI_SUBSCRIBED
public static final Chat.Status UNSUBSCRIBED
public static Chat.Status[] values()
for (Chat.Status c : Chat.Status.values()) System.out.println(c);
public static Chat.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.