Can I get online users in my friend list via Smack?

后端 未结 5 497
自闭症患者
自闭症患者 2020-12-14 12:39

Can i get online users in my friend list via Smack API? Is it possible?

I am working on app which have chat between users. I had successfully created chat applicatio

5条回答
  •  轮回少年
    2020-12-14 12:59

    Use the presence.getMode() method to get Mode of User. Mode is enum and its value can be chat, available, away, xa, dnd.

提交回复
热议问题