Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

onchange event for steps?

ANSWERED

I have searched pretty thoroughly, and haven't been able to find it.

does steps (today.local.steps or today.adjusted.steps) support an event handler?


I'd love to trigger something on every step. I read all the threads about capturing steps when the watch face is off, but that's not necessary. I only care when the user is looking at the watch while walking.

Thanks!

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

The most optimal way is just to update the display during the clock tick event with seconds granularity.

View best answer in original post

Best Answer
4 REPLIES 4

No, unfortunately.

In addition, there can be a fair delay (about 6 steps) between when the wearer starts walking and when the step count starts counting up. It catches up, but that latency could be a problem (depending on what you're trying to do).

Peter McLennan
Gondwana Software
Best Answer

Thanks for the reply. It's not critical, more of a nice-to-have. There are many other features I'd rather have than this, so once all those are in place, maybe then I'll submit a request for it. Smiley Happy

Best Answer
0 Votes

The most optimal way is just to update the display during the clock tick event with seconds granularity.

Best Answer

Thanks! That's what I ended up doing.

Best Answer
0 Votes