Interface PresenceView

All Superinterfaces:
StanzaView, XmlLangElement
All Known Implementing Classes:
Presence, PresenceBuilder

public interface PresenceView extends StanzaView
  • Method Details

    • getType

      Presence.Type getType()
      Returns the type of this presence stanza.
      Returns:
      the type of the presence stanza.
    • getStatus

      String getStatus()
      Returns the status message of the presence update, or null if there is not a status. The status is free-form text describing a user's presence (i.e., "gone to lunch").
      Returns:
      the status message.
    • getPriority

      int getPriority()
      Returns the priority of the presence.
      Returns:
      the priority.
      See Also:
    • getPriorityByte

      byte getPriorityByte()
      Returns the priority of the presence.
      Returns:
      the priority.
      See Also:
    • getMode

      Presence.Mode getMode()
      Returns the mode of the presence update.
      Returns:
      the mode.