02-11-2021 01:32
02-11-2021 01:32
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 Answer02-11-2021 03:08
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.
02-11-2021 03:08
No, it's more like this:
import { today } from "user-activity";
let activeMinutesValue = (today.adjusted.activeZoneMinutes.total || 0);
Best Answer02-11-2021 03:08
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.
02-11-2021 03:08
No, it's more like this:
import { today } from "user-activity";
let activeMinutesValue = (today.adjusted.activeZoneMinutes.total || 0);
Best Answer