Package org.jivesoftware.smack.packet
Interface PresenceView
- All Superinterfaces:
StanzaView,XmlLangElement
- All Known Implementing Classes:
Presence,PresenceBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMode()Returns the mode of the presence update.intReturns the priority of the presence.byteReturns the priority of the presence.Returns the status message of the presence update, ornullif there is not a status.getType()Returns the type of this presence stanza.Methods inherited from interface org.jivesoftware.smack.packet.StanzaView
getError, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getStanzaId, getTo, hasExtension, hasExtension, hasExtensionMethods inherited from interface org.jivesoftware.smack.packet.XmlLangElement
getLanguage
-
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, ornullif 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.
-