public static enum Presence.Show extends Enum<Presence.Show>
Enum Constant and Description |
---|
away
The entity or resource is temporarily away.
|
chat
The entity or resource is actively interested in chatting.
|
dnd
The entity or resource is busy (dnd = "Do Not Disturb").
|
offline
The entity or resource is offline and unavailable.
|
online
The entity or resource is online and available.
|
xa
The entity or resource is away for an extended period (xa =
"eXtended Away").
|
Modifier and Type | Method and Description |
---|---|
int |
getWeight() |
static Presence.Show |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Presence.Show[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Presence.Show away
public static final Presence.Show chat
public static final Presence.Show dnd
public static final Presence.Show online
public static final Presence.Show offline
public static final Presence.Show xa
public static Presence.Show[] values()
for (Presence.Show c : Presence.Show.values()) System.out.println(c);
public static Presence.Show 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 int getWeight()
Copyright © 2006–2023 Tigase. All rights reserved.