Nutrition Summary
data class NutritionSummary(val date: LocalDate, val energyKilocalories: Double? = null, val proteinGrams: Double? = null, val carbsGrams: Double? = null, val fatGrams: Double? = null, val entryCount: Int = 0)
Daily nutrition roll-up, derived from HealthKit dietary samples on iOS or Health Connect NutritionRecord entries on Android.
Constructors
Properties
Link copied to clipboard
Total carbohydrate for the day in grams, or null when not recorded.
Link copied to clipboard
Total energy consumed across all entries for the day, in kilocalories; null when no entry recorded energy.
Link copied to clipboard
Number of discrete meals / entries logged for the day; 0 when none.
Link copied to clipboard
Total protein for the day in grams, or null when not recorded.