public final class InvisibilityManager extends ExtensionManager
| 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.
|
isEnabled, setEnabledpublic void becomeInvisible()
throws XmppException
StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionpublic void becomeVisible()
throws XmppException
StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionpublic boolean isInvisible()
public boolean isSupported()
throws XmppException
StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionCopyright © 2014–2015 XMPP.rocks. All rights reserved.