Set random activity periodically, note that you need to manually call nextActivity after client is ready to set activity after login otherwise you will need to wait interval for it to be set
nextActivity
interval
In milliseconds, if set to 0 will disable the periodic
Readonly
Set random activity
true if set, false if client is not ready
true
false
Static
Set random activity periodically, note that you need to manually call
nextActivityafter client is ready to set activity after login otherwise you will need to waitintervalfor it to be set