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, schedule
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, InterruptedException
public Time getTime(Jid jid) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException