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