Grade and Moving Time Metrics?

This is strange. I can't seem to find the CIQ calls to retrieve the current gradient or moving time.

I can find TotalDescent and TotalAscent, so I guess I could calculate grade using change in distance and change in elevation. But grade must be in there somewhere.

I can find Elapsed Time, and I see onPause and onStop calls, so I could keep a tally of moving time. But I bet there is a moving time metric somewhere.

Sorry - I've spent a while search around for these. Any quick pointers would help me. Thanks a lot!!
  • You have to calculate gradient as that value isn't exposed in CIQ.

    For timers, you have access to two:

    elapsedTime is the time since the recording was started and continues to run when recording is paused.

    timerTime is the recorded time and stops when paused.

    So if you started 5 minutes ago but were paused for a minute, elapsedTime is 5 minutes, and timerTime is 4 minutes.

    Note, by "paused" I'm saying that the recording is paused (a manual pause or auto-pause kicks in), not just when you stop.

    "Moving Time" is something I believe is done by the garmin servers when something is uploaded, and can be lower than "recorded time". if you forget to pause, timerTime will continue to run, but when it's on Garmin Connect you'll also see "moving time" as that's the time you were actually moving while recording. I've never seen any device that displays moving time on the device itself (just timerTime and elapsedTime and varios lap times), which is why I think it's something done on the server side.
  • Thanks!

    Thanks!! Just what I needed. Perfect. This forum rocks. timerTime is what I meant to ask for.... Never really understood that 3rd metric on Garmin Connect.