public enum MucFeature extends java.lang.Enum<MucFeature>
A feature of a multi-user chat service.
Enum Constant and Description |
---|
HIDDEN
Hidden room in Multi-User Chat (MUC)
|
MEMBERS_ONLY
Members-only room in Multi-User Chat (MUC)
|
MODERATED
Moderated room in Multi-User Chat (MUC)
|
NON_ANONYMOUS
Non-anonymous room in Multi-User Chat (MUC)
|
OPEN
Open room in Multi-User Chat (MUC)
|
PASSWORD_PROTECTED
Password-protected room in Multi-User Chat (MUC)
|
PERSISTENT
Persistent room in Multi-User Chat (MUC)
|
PUBLIC
Public room in Multi-User Chat (MUC)
|
REGISTER
Support for the muc#register FORM_TYPE
|
ROOMCONFIG
Support for the muc#roomconfig FORM_TYPE
|
ROOMINFO
Support for the muc#roominfo FORM_TYPE
|
ROOMS
List of MUC rooms (each as a separate item)
|
SEMI_ANONYMOUS
Semi-anonymous room in Multi-User Chat (MUC)
|
TEMPORARY
Temporary room in Multi-User Chat (MUC)
|
UNMODERATED
Unmoderated room in Multi-User Chat (MUC)
|
UNSECURED
Unsecured room in Multi-User Chat (MUC)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getServiceDiscoveryFeature()
Gets the name of the feature as it is used by service discovery.
|
static MucFeature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MucFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MucFeature REGISTER
public static final MucFeature ROOMCONFIG
public static final MucFeature ROOMINFO
public static final MucFeature HIDDEN
public static final MucFeature MEMBERS_ONLY
public static final MucFeature MODERATED
public static final MucFeature NON_ANONYMOUS
public static final MucFeature OPEN
public static final MucFeature PASSWORD_PROTECTED
public static final MucFeature PERSISTENT
public static final MucFeature PUBLIC
public static final MucFeature ROOMS
public static final MucFeature SEMI_ANONYMOUS
public static final MucFeature TEMPORARY
public static final MucFeature UNMODERATED
public static final MucFeature UNSECURED
public static MucFeature[] values()
for (MucFeature c : MucFeature.values()) System.out.println(c);
public static MucFeature 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 java.lang.String getServiceDiscoveryFeature()
Gets the name of the feature as it is used by service discovery.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.