Recieve Presence

Hi

I want to recieve someone’‘s presence. I’'ve issued out a subscribe message. What I want to do is listen was a presence change when the other user changes for example to unvailable. Listening in for messages I use getBody, so I presume there must be something similar for presence changes???. I simply want the change to display in my TextArea. An example would help! Thanks

The Roster class allows you to register to listen for presence subscriptions.

Regards,

Matt