| Package | Description |
|---|---|
| rocks.xmpp.extensions.privacy |
Provides classes for XEP-0016: Privacy Lists.
|
| rocks.xmpp.extensions.privacy.model |
Provides XML schema implementations of XEP-0016: Privacy Lists.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<PrivacyList> |
PrivacyListManager.getPrivacyList(String name)
Gets a privacy list.
|
AsyncResult<Collection<PrivacyList>> |
PrivacyListManager.getPrivacyLists()
Gets the privacy lists.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<IQ> |
PrivacyListManager.createOrUpdateList(PrivacyList privacyList)
Creates or edits a privacy list.
|
| Modifier and Type | Method and Description |
|---|---|
PrivacyList |
PrivacyList.asActive()
Gets the privacy list marked as active list.
|
PrivacyList |
PrivacyList.asDefault()
Gets the privacy list marked as default list.
|
static PrivacyList |
PrivacyList.createInvisibilityList()
Creates a global invisibility list.
|
static PrivacyList |
PrivacyList.createInvisibilityListExceptForGroups(String listName,
String... groups)
Creates a global invisibility list, where you are still visible to some contacts.
|
static PrivacyList |
PrivacyList.createInvisibilityListExceptForUsers(String listName,
rocks.xmpp.addr.Jid... jids)
Creates a global invisibility list, where you are still visible to some contacts.
|
static PrivacyList |
PrivacyList.createInvisibilityListForGroups(String listName,
String... groups)
Creates a selective invisibility list.
|
static PrivacyList |
PrivacyList.createInvisibilityListForUsers(String listName,
rocks.xmpp.addr.Jid... jids)
Creates a selective invisibility list.
|
| Modifier and Type | Method and Description |
|---|---|
List<PrivacyList> |
Privacy.getPrivacyLists()
Gets the privacy lists.
|
| Modifier and Type | Method and Description |
|---|---|
int |
PrivacyList.compareTo(PrivacyList o)
Compares this privacy list with another list.
|
| Constructor and Description |
|---|
Privacy(PrivacyList... privacyLists)
Creates a privacy element with one or more privacy lists.
|
| Constructor and Description |
|---|
Privacy(String activeName,
String defaultName,
Collection<PrivacyList> privacyLists)
Creates a privacy element with one or more privacy lists and an active and default name.
|
Copyright © 2014–2017 XMPP.rocks. All rights reserved.