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.
| Modifier and Type | Method and Description |
|---|---|
EntityTime |
getEntityTime(Jid jid)
Gets the time information (e.g. time zone) of another XMPP entity.
|
isEnabled, setEnabledpublic EntityTime getEntityTime(Jid jid) throws XmppException
jid - The entity's JID.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionCopyright © 2014–2015 XMPP.rocks. All rights reserved.