Package | Description |
---|---|
org.jivesoftware.smackx.privacy |
Smacks implementation of XEP-0016: Privacy Lists.
|
org.jivesoftware.smackx.privacy.packet |
Element classes for XEP-0016: Privacy Lists.
|
Modifier and Type | Method and Description |
---|---|
List<PrivacyItem> |
PrivacyList.getItems() |
Modifier and Type | Method and Description |
---|---|
void |
PrivacyListManager.createPrivacyList(String listName,
List<PrivacyItem> privacyItems)
The client has created a new list.
|
void |
PrivacyListListener.setPrivacyList(String listName,
List<PrivacyItem> listItem)
Set or update a privacy list with PrivacyItem.
|
void |
PrivacyListManager.updatePrivacyList(String listName,
List<PrivacyItem> privacyItems)
The client has edited an existing list.
|
Constructor and Description |
---|
PrivacyList(boolean isActiveList,
boolean isDefaultList,
String listName,
List<PrivacyItem> privacyItems) |
Modifier and Type | Method and Description |
---|---|
PrivacyItem |
Privacy.getItem(String listName,
int order)
Returns the privacy item in the specified order.
|
Modifier and Type | Method and Description |
---|---|
List<PrivacyItem> |
Privacy.getActivePrivacyList()
Returns the active privacy list or null if none was found.
|
List<PrivacyItem> |
Privacy.getDefaultPrivacyList()
Returns the default privacy list or null if none was found.
|
Map<String,List<PrivacyItem>> |
Privacy.getItemLists()
Returns the collection of privacy list that the user holds.
|
List<PrivacyItem> |
Privacy.getPrivacyList(String listName)
Returns a specific privacy list.
|
List<PrivacyItem> |
Privacy.setActivePrivacyList()
Set the active list based on the default list.
|
List<PrivacyItem> |
Privacy.setPrivacyList(String listName,
List<PrivacyItem> listItem)
Set or update a privacy list with privacy items.
|
Modifier and Type | Method and Description |
---|---|
List<PrivacyItem> |
Privacy.setPrivacyList(String listName,
List<PrivacyItem> listItem)
Set or update a privacy list with privacy items.
|