Roster and Presence

The roster lets you keep track of the availability (presence) of other users. Users can be organized into groups such as "Friends" and "Co-workers", and then you discover whether each user is online or offline.

A Roster instance is obtained using the XMPPConnection.getRoster() method, but only after