public static enum RoomConfig.Anonymity extends Enum<RoomConfig.Anonymity>
| Enum Constant and Description |
|---|
fullanonymous
Fully-Anonymous Room -- a room in which the full JIDs or bare JIDs of occupants cannot be discovered by
anyone, including room admins and room owners; such rooms are NOT RECOMMENDED or explicitly supported by MUC,
but are possible using this protocol if a service implementation offers the appropriate configuration
options; contrast with Non-Anonymous Room and Semi-Anonymous Room.
|
nonanonymous
Non-Anonymous Room -- a room in which an occupant's full JID is exposed to all other occupants, although the
occupant may choose any desired room nickname; contrast with Semi-Anonymous Room and Fully-Anonymous Room.
|
semianonymous
Semi-Anonymous Room -- a room in which an occupant's full JID can be discovered by room admins only; contrast
with Fully-Anonymous Room and Non-Anonymous Room.
|
| Modifier and Type | Method and Description |
|---|---|
static RoomConfig.Anonymity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoomConfig.Anonymity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoomConfig.Anonymity fullanonymous
public static final RoomConfig.Anonymity nonanonymous
public static final RoomConfig.Anonymity semianonymous
public static RoomConfig.Anonymity[] values()
for (RoomConfig.Anonymity c : RoomConfig.Anonymity.values()) System.out.println(c);
public static RoomConfig.Anonymity 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 © 2007–2020 "Tigase, Inc.". All rights reserved.