User state always =...
 
Notifications
Clear all

User state always = Playing?

2 Posts
2 Users
0 Reactions
696 Views
(@dustin1138)
Posts: 21
Eminent Member
Topic starter
 

I'm trying to understand how the "user.state = playing" vs "user.state = online" works. I've tried setting playingSeconds to some huge number like 1200 seconds but as soon as the player starts the app they are instantly listed as "playing" instead of just "online." It seems like it would be better to have some manual access to setting the value to "playing" when an actual round of play is started. Or am I not grasping how this value is triggered? Thanks!

 
Posted : 09/05/2016 10:05 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Currently it's automatically handled through the lastSeen property (that is auto-updated after each call to web services): playingSeconds is the comparison value (as "Now - lastSeen" in seconds). In the future I could add a method to manually set the "playing" state.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 14/05/2016 12:17 am
Share: