public final class InvisibilityManager extends ExtensionManager
features, xmppSession| Modifier and Type | Method and Description |
|---|---|
void |
becomeInvisible()
Becomes invisible.
|
void |
becomeVisible()
Becomes visible.
|
boolean |
isInvisible()
Indicates, whether the current session is invisible.
|
boolean |
isSupported()
Checks, whether invisibility is supported by the server.
|
setEnabledpublic void becomeInvisible()
throws rocks.xmpp.core.XmppException
rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic void becomeVisible()
throws rocks.xmpp.core.XmppException
rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic boolean isInvisible()
public boolean isSupported()
throws rocks.xmpp.core.XmppException
rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionCopyright © 2014 XMPP.rocks. All rights reserved.