public 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(java.lang.String jid) |
boolean |
isTimeSupported(java.lang.String 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(java.lang.String jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
public Time getTime(java.lang.String jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException