public final class EntityTimeManager
extends org.jivesoftware.smack.Manager
Modifier and Type | Method and Description |
---|---|
void |
disable() |
void |
enable() |
static EntityTimeManager |
getInstanceFor(org.jivesoftware.smack.XMPPConnection connection) |
Time |
getTime(org.jxmpp.jid.Jid jid) |
boolean |
isTimeSupported(org.jxmpp.jid.Jid jid) |
static void |
setAutoEnable(boolean autoEnable) |
public static void setAutoEnable(boolean autoEnable)
public static EntityTimeManager getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
public void enable()
public void disable()
public boolean isTimeSupported(org.jxmpp.jid.Jid jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
public Time getTime(org.jxmpp.jid.Jid jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException