I'm looking through the documentation around Activity here and wonder what the difference is between activeDuration and duration features?
Example of activeDuration and duration from the docs
Answered! Go to the Best Answer.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
"activeDuration" is the amount of time in each activityLevel. "duration" is activeDuration + any pauses that occurred during the activity recording.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @sleepy_dave! How was this hike data collected? Is it a manually entered activity or tracked via Fitbit using the Activity app, or something else?
Best AnswerHi @Gordon-C! Thanks for your help here as well. This is a screenshot directly out of the documentation linked in my first post, so it's not my data. I'm just wondering what the difference would be from a general standpoint and what each variable seeks to represent. I couldn't find explicit definitions anywhere.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
"activeDuration" is the amount of time in each activityLevel. "duration" is activeDuration + any pauses that occurred during the activity recording.