Show / Hide Table of Contents

Class TotalCaloriesRollupValue

Represents the result of the rollup of the user's total calories.

Note: Queries for the total-calories data type must include a time interval filter (such as [total_calories.interval.start_time][google.devicesandservices.health.v4main.ObservationTimeInterval.start_time] or [total_calories.interval.civil_start_time][google.devicesandservices.health.v4main.ObservationTimeInterval.civil_start_time]). The maximum range is 14 days.

Example filter query: total_calories.interval.start_time >= "2026-04-20T00:00:00Z" AND total_calories.interval.start_time < "2026-04-21T00:00:00Z"

Inheritance
object
TotalCaloriesRollupValue
Implements
IMessage<TotalCaloriesRollupValue>
IEquatable<TotalCaloriesRollupValue>
IDeepCloneable<TotalCaloriesRollupValue>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class TotalCaloriesRollupValue : IMessage<TotalCaloriesRollupValue>, IEquatable<TotalCaloriesRollupValue>, IDeepCloneable<TotalCaloriesRollupValue>, IBufferMessage, IMessage

Constructors

TotalCaloriesRollupValue()

Declaration
public TotalCaloriesRollupValue()

TotalCaloriesRollupValue(TotalCaloriesRollupValue)

Declaration
public TotalCaloriesRollupValue(TotalCaloriesRollupValue other)
Parameters
Type Name Description
TotalCaloriesRollupValue other

Properties

HasKcalSum

Gets whether the "kcal_sum" field is set

Declaration
public bool HasKcalSum { get; }
Property Value
Type Description
bool

KcalSum

Sum of the total calories in kilocalories.

Declaration
public double KcalSum { get; set; }
Property Value
Type Description
double
In this article
Back to top Generated by DocFX