Get Presence Change Event of Roster Item

Sep 18, 2012 at 1:12 PM

I have successfully compiled the XMPP client for WP7. I have connected to XMPP Server and Also received the Roaster of my logged account.

Now I want to check the presence of my Roaster items mean my buddies or friendlist. In which event I can get the presence of user as some one goes offline or online. So I can further take decisions.

I am unable to get any event like that in this XMPP Client.

1. XMPPClient.OnRetrievedRoster
2. XMPPClient.RosterItems
3. XMPPClient.OnStateChanged 
4. XMPPClient.OnNewConversationItem
5. XMPPClient.FileTransferManager.OnNewIncomingFileTransferRequest
6. XMPPClient.OnConversationStateChanged
7. XMPPClient.OnRosterItemChanged
8. XMPPClient.OnServerDisconnect
9. XMPPClient.OnXMLSend
10. XMPPClient.OnXMLRecieved

There is no event for presence of user like some buddy goes offline or online in my Roster

Please suggest.

Feb 27, 2013 at 8:04 AM
Could you please let me know how have you connected. I am getting "Unknown" every time like this thread.
http://xmedianet.codeplex.com/discussions/432801
Jul 8, 2013 at 3:24 PM
Edited Aug 12, 2013 at 9:49 AM
You can call on XMPPClient.OnStateChanged to update the rooster.