Uses of Class
org.jivesoftware.smackx.privacy.packet.PrivacyItem
Package
Description
Smacks implementation of XEP-0016: Privacy Lists.
Element classes for XEP-0016: Privacy Lists.
-
Uses of PrivacyItem in org.jivesoftware.smackx.privacy
Modifier and TypeMethodDescriptionvoid
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.ModifierConstructorDescriptionprotected
PrivacyList
(boolean isActiveList, boolean isDefaultList, String listName, List<PrivacyItem> privacyItems) -
Uses of PrivacyItem in org.jivesoftware.smackx.privacy.packet
Modifier and TypeMethodDescriptionReturns the privacy item in the specified order.Modifier and TypeMethodDescriptionPrivacy.getActivePrivacyList()
Returns the active privacy list ornull
if none was found.Privacy.getDefaultPrivacyList()
Returns the default privacy list ornull
if none was found.Privacy.getItemLists()
Returns the collection of privacy list that the user holds.Privacy.getPrivacyList
(String listName) Returns a specific privacy list.Privacy.setActivePrivacyList()
Set the active list based on the default list.Privacy.setPrivacyList
(String listName, List<PrivacyItem> listItem) Set or update a privacy list with privacy items.Modifier and TypeMethodDescriptionPrivacy.setPrivacyList
(String listName, List<PrivacyItem> listItem) Set or update a privacy list with privacy items.