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