TOTAL

The aggregate operation to obtain the total amount of water intake in milliliters.

This helps to create an AggregateRequest instance to get the total amount of water intake 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.WaterIntakeType.TOTAL.requestBuilder
    .setLocalTimeFilter(localTimeFilter)
    ... // set some filters or conditions
    .build()

Since

1.0.0

See also

Preferences Submitted

You have successfully updated your cookie preferences.