Class RosterEvent

    • Method Detail

      • getAddedContacts

        public final 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.
        Returns:
        The added contacts.
      • getUpdatedContacts

        public final List<Contact> getUpdatedContacts()
        Gets the updated contacts, i.e. if an existing contact has changed its name, groups or subscription state.
        Returns:
        The updated contacts.
      • getRemovedContacts

        public final List<Contact> getRemovedContacts()
        Gets the removed contacts, i.e. contacts which were on the roster, but now are no longer on the roster.
        Returns:
        The removed contacts.