public final class RosterEvent
extends java.util.EventObject
A roster event which holds information about added, updated and removed contacts of the roster.
This event is dispatched by the RosterManager
, whenever a roster push or result is received.
Modifier and Type | Method and Description |
---|---|
java.util.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.
|
java.util.List<Contact> |
getRemovedContacts()
Gets the removed contacts, i.e. contacts which were on the roster, but now are no longer on the roster.
|
java.util.List<Contact> |
getUpdatedContacts()
Gets the updated contacts, i.e. if an existing contact has changed its name, groups or subscription state.
|
public final java.util.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.
public final java.util.List<Contact> getUpdatedContacts()
Gets the updated contacts, i.e. if an existing contact has changed its name, groups or subscription state.
public final java.util.List<Contact> getRemovedContacts()
Gets the removed contacts, i.e. contacts which were on the roster, but now are no longer on the roster.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.