public final class EntityTimeManager extends ExtensionManager
It automatically responds to entity time requests, with the system's current date and timezone information and allows to retrieve another entity's time.
features, xmppSession| Modifier and Type | Method and Description |
|---|---|
EntityTime |
getEntityTime(rocks.xmpp.core.Jid jid)
Gets the time information (e.g. time zone) of another XMPP entity.
|
setEnabledpublic EntityTime getEntityTime(rocks.xmpp.core.Jid jid) throws rocks.xmpp.core.XmppException
jid - The entity's JID.rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionCopyright © 2014 XMPP.rocks. All rights reserved.