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 thePrivacyListManager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetPrivacyList(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 Detail
-
setPrivacyList
void setPrivacyList(String listName, List<PrivacyItem> listItem)
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
void updatedPrivacyList(String listName)
A privacy list has been modified by another. It gets notified.- Parameters:
listName- the name of the updated privacy list.
-
-