API to access lap data for current activity?

Former Member
Former Member
It would be great if we could have access to lap data for the current activity. Perhaps something like Activity.getActivityLapsInfo() that returns an array of Activity.Info's, one for each lap ? Obviously some of the fields wouldn't make sense in that context, but elapsedTime, elapsedDistance, averageHeartRate, etc. for a single lap would be really useful.

Thanks
  • Former Member
    Former Member over 10 years ago
    It would be great if we could have access to lap data for the current activity. Perhaps something like Activity.getActivityLapsInfo() that returns an array of Activity.Info's, one for each lap ? Obviously some of the fields wouldn't make sense in that context, but elapsedTime, elapsedDistance, averageHeartRate, etc. for a single lap would be really useful.

    Thanks



    I agree this would be really helpful I was just searching the entire API for how to get this and baffled that it was not available. Additionally my goal was to write an app for snowboarding, I want to keep data, and separate out laps based on whether they are waiting time, lift time, or downhill time. Looking at fit file specifications you can have an overall activity then multiple sessions in that activity and laps in that session. I was originally thinking about just splitting things by laps but does it make more sense to make every change a new session where they session type can be by different types of time I want to record.
  • Former Member
    Former Member over 10 years ago
    +1 from me too. It's been requested multiple times.