Enum ChatMarkersState

java.lang.Object
java.lang.Enum<ChatMarkersState>
org.jivesoftware.smackx.chat_markers.ChatMarkersState
All Implemented Interfaces:
Serializable, Comparable<ChatMarkersState>

Chat Markers elements (XEP-0333).
See Also:
  • Enum Constant Details

    • markable

      public static final ChatMarkersState markable
      Indicates that a message can be marked with a Chat Marker and is therefore a "markable message".
    • received

      public static final ChatMarkersState received
      The message has been received by a client.
    • displayed

      public static final ChatMarkersState displayed
      The message has been displayed to a user in a active chat and not in a system notification.
    • acknowledged

      public static final ChatMarkersState acknowledged
      The message has been acknowledged by some user interaction e.g. pressing an acknowledgement button.
  • Method Details

    • values

      public static ChatMarkersState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ChatMarkersState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null