Class MUCUser.Status
java.lang.Object
org.jivesoftware.smackx.muc.packet.MUCUser.Status
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.NamedElement
- Enclosing class:
MUCUser
public static final class MUCUser.Status
extends Object
implements org.jivesoftware.smack.packet.NamedElement
Status code assists in presenting notification messages. The following link provides the
list of existing error codes Multi-User Chat Status Codes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MUCUser.Statusstatic final Stringstatic final MUCUser.Statusstatic final MUCUser.Statusstatic final MUCUser.Statusstatic final MUCUser.Statusstatic final MUCUser.Statusstatic final MUCUser.Status -
Method Summary
Modifier and TypeMethodDescriptionstatic MUCUser.Statusstatic MUCUser.StatusbooleanintgetCode()Returns the code that uniquely identifies the reason of the error.inthashCode()toString()org.jivesoftware.smack.util.XmlStringBuildertoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXML
-
Field Details
-
ELEMENT
- See Also:
-
PRESENCE_TO_SELF_110
-
ROOM_CREATED_201
-
BANNED_301
-
NEW_NICKNAME_303
-
KICKED_307
-
REMOVED_AFFIL_CHANGE_321
-
REMOVED_FOR_TECHNICAL_REASONS_333
-
-
Method Details
-
create
-
create
-
getCode
public int getCode()Returns the code that uniquely identifies the reason of the error. The code assists in presenting notification messages.- Returns:
- the code that uniquely identifies the reason of the error.
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) - Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
toString
-
equals
-
hashCode
public int hashCode() -
getElementName
- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-