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