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