public enum CPresence extends Enum<CPresence>
| Enum Constant and Description |
|---|
away |
chat |
dnd |
error |
invisible |
notinroster |
offline |
offline_nonauth |
online |
requested |
xa |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
static CPresence |
valueOf(Integer id) |
static CPresence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CPresence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPresence away
public static final CPresence chat
public static final CPresence dnd
public static final CPresence error
public static final CPresence invisible
public static final CPresence notinroster
public static final CPresence offline
public static final CPresence offline_nonauth
public static final CPresence online
public static final CPresence requested
public static final CPresence xa
public static CPresence[] values()
for (CPresence c : CPresence.values()) System.out.println(c);
public static CPresence 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 nullpublic Integer getId()
Copyright © 2019. All rights reserved.