Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Retrieve the user's last presence mode.

$
0
0

Hi All,

Please let me know the ideas for implementing the following scenarios using Smack API.

1. To retrieve the user's last presence mode.

                For example, if an user sets his presence mode to "dnd", on logging in next time to the server, I like to retrieve his last presence mode i.e., “dnd” to be set in my client application. Its similar to how Gtalk behaves w.r.t this last presence mode.

2. To retrieve the currently logged in user's presence info using Smack. I can see methods for retrieving roster’s presence info, but I am unable to find the methods for retrieving presence of the user itself.

Thanks,

Mari


Viewing all articles
Browse latest Browse all 10742

Trending Articles