Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
richguy #1
Member since Feb 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Signout in gtalk
Hi,
I am just learning agsXMPP using the sample code . I would like to know how i can know when the user signs out from gtalk.The sample code for gtalk hasnt implemented that feature.I dont find any specific message in the Presence class for sign out.

Thanks for the help
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by richguy:
I would like to know how i can know when the user signs out from gtalk.The sample code for gtalk hasnt implemented that feature.I dont find any specific message in the Presence class for sign out.

Id does, look at the OnPresence event in the MiniClient example.
When a user logs off you get a presence of type unavailable.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS