Package org.jivesoftware.smackx.privacy
Interface PrivacyListListener
public interface PrivacyListListener
Interface to implement classes to listen for server events about privacy communication.
Listeners are registered with the
PrivacyListManager.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetPrivacyList(String listName, List<PrivacyItem> listItem) Set or update a privacy list with PrivacyItem.voidupdatedPrivacyList(String listName) A privacy list has been modified by another.
-
Method Details
-
setPrivacyList
Set or update a privacy list with PrivacyItem.- Parameters:
listName- the name of the new or updated privacy list.listItem- the PrivacyItems that rules the list.
-
updatedPrivacyList
A privacy list has been modified by another. It gets notified.- Parameters:
listName- the name of the updated privacy list.
-