Set away when machine/device is in idle state in certain time

Hello,
I am using Smack version 4.2.2 for my tested desktop client and trying to implement a feature that if the machine goes to idle then five minutes later my desktop client should set user to away presence (this is different with regular manual away presence).
My desktop client can set available/dnd/away successfully, but this type of idle away I cannot find any reference in Smack forum. Could you please help!

Perhaps the code Spark uses will give you some ideas

1 Like

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.