TOTAL_CALORIES_BURNED

The aggregate operation to obtain the total value of calories burned in kilocalories.

This helps to create an AggregateRequest instance to get the total value of calories burned simply and easily.

This aggregate operation allows the application to set the following:

// set a Local date time range from midnight to now
val startOfDay = LocalDate.now().atStartOfDay()
val now = LocalDateDate.now()

val aggregateRequest = DataType.ActivitySummaryType.TOTAL_CALORIES_BURNED.requestBuilder
    .setLocalTimeFilter(localTimeFilter)
    ... // set some filters or conditions
    .build()

Since

1.0.0

See also

Preferences Submitted

You have successfully updated your cookie preferences.