Hello, I would like to know if this function acquires active zone minutes correctly.
let activeMinutesValue = (userActivity.today.adjusted["activeZoneMinute"] || 0);
txt_active_minutes.text = activeMinutesValue;
Thanks
Answered! Go to the Best Answer.
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.
No, it's more like this:
import { today } from "user-activity";
let activeMinutesValue = (today.adjusted.activeZoneMinutes.total || 0);
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.