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 Details

  • Method Details

    • create

      public static MUCUser.Status create(String string)
    • create

      public static MUCUser.Status create(Integer i)
    • 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:
      toXML in interface org.jivesoftware.smack.packet.Element
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getElementName

      public String getElementName()
      Specified by:
      getElementName in interface org.jivesoftware.smack.packet.NamedElement