public static enum QBPresence.Type extends java.lang.Enum<QBPresence.Type>
Modifier and Type | Method and Description |
---|---|
static QBPresence.Type |
fromSmackPresenceType(Presence.Type type) |
static Presence.Type |
toSmackPresenceType(QBPresence.Type type) |
static QBPresence.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QBPresence.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QBPresence.Type online
public static final QBPresence.Type offline
public static final QBPresence.Type error
public static QBPresence.Type[] values()
for (QBPresence.Type c : QBPresence.Type.values()) System.out.println(c);
public static QBPresence.Type 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 Presence.Type toSmackPresenceType(QBPresence.Type type)
public static QBPresence.Type fromSmackPresenceType(Presence.Type type)