public final class RosterEvent extends EventObject
This event is dispatched by the RosterManager, whenever a roster push or result is received.
| Modifier and Type | Method and Description |
|---|---|
List<Contact> |
getAddedContacts()
Gets the added contacts, which have been added since the last roster push or which have been initially set by the first roster result.
|
List<Contact> |
getRemovedContacts()
Gets the removed contacts, i.e. contacts which were on the roster, but now are no longer on the roster.
|
List<Contact> |
getUpdatedContacts()
Gets the updated contacts, i.e. if an existing contact has changed its name, groups or subscription state.
|
getSource, toStringpublic final List<Contact> getAddedContacts()
public final List<Contact> getUpdatedContacts()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.