# NutritionRecord

Artifact: [androidx.health.connect:connect-client](https://developer.android.com/jetpack/androidx/releases/health-connect) [View Source](https://cs.android.com/search?q=file:androidx/health/connect/client/records/NutritionRecord.kt+class:androidx.health.connect.client.records.NutritionRecord) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

*** ** * ** ***


```
class NutritionRecord : Record
```

<br />

*** ** * ** ***

Captures what nutrients were consumed as part of a meal or a food item.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#BIOTIN_TOTAL()` Metric identifier to retrieve the total biotin from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#CAFFEINE_TOTAL()` Metric identifier to retrieve the total caffeine from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#CALCIUM_TOTAL()` Metric identifier to retrieve the total calcium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#CHLORIDE_TOTAL()` Metric identifier to retrieve the total chloride from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#CHOLESTEROL_TOTAL()` Metric identifier to retrieve the total cholesterol from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#CHROMIUM_TOTAL()` Metric identifier to retrieve the total chromium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#COPPER_TOTAL()` Metric identifier to retrieve the total copper from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#DIETARY_FIBER_TOTAL()` Metric identifier to retrieve the total dietary fiber from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#ENERGY_FROM_FAT_TOTAL()` Metric identifier to retrieve the total energy from fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#ENERGY_TOTAL()` Metric identifier to retrieve the total energy from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#FOLATE_TOTAL()` Metric identifier to retrieve the total folate from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#FOLIC_ACID_TOTAL()` Metric identifier to retrieve the total folic acid from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#IODINE_TOTAL()` Metric identifier to retrieve the total iodine from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#IRON_TOTAL()` Metric identifier to retrieve the total iron from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#MAGNESIUM_TOTAL()` Metric identifier to retrieve the total magnesium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#MANGANESE_TOTAL()` Metric identifier to retrieve the total manganese from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#MOLYBDENUM_TOTAL()` Metric identifier to retrieve the total molybdenum from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#MONOUNSATURATED_FAT_TOTAL()` Metric identifier to retrieve the total monounsaturated fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#NIACIN_TOTAL()` Metric identifier to retrieve the total niacin from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#PANTOTHENIC_ACID_TOTAL()` Metric identifier to retrieve the total pantothenic acid from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#PHOSPHORUS_TOTAL()` Metric identifier to retrieve the total phosphorus from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#POLYUNSATURATED_FAT_TOTAL()` Metric identifier to retrieve the total polyunsaturated fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#POTASSIUM_TOTAL()` Metric identifier to retrieve the total potassium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#PROTEIN_TOTAL()` Metric identifier to retrieve the total protein from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#RIBOFLAVIN_TOTAL()` Metric identifier to retrieve the total riboflavin from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#SATURATED_FAT_TOTAL()` Metric identifier to retrieve the total saturated fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#SELENIUM_TOTAL()` Metric identifier to retrieve the total selenium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#SODIUM_TOTAL()` Metric identifier to retrieve the total sodium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#SUGAR_TOTAL()` Metric identifier to retrieve the total sugar from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#THIAMIN_TOTAL()` Metric identifier to retrieve the total thiamin from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#TOTAL_CARBOHYDRATE_TOTAL()` Metric identifier to retrieve the total total carbohydrate from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#TOTAL_FAT_TOTAL()` Metric identifier to retrieve the total total fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#TRANS_FAT_TOTAL()` Metric identifier to retrieve the total trans fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#UNSATURATED_FAT_TOTAL()` Metric identifier to retrieve the total unsaturated fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#VITAMIN_A_TOTAL()` Metric identifier to retrieve the total vitamin a from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#VITAMIN_B12_TOTAL()` Metric identifier to retrieve the total vitamin b12 from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#VITAMIN_B6_TOTAL()` Metric identifier to retrieve the total vitamin b6 from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#VITAMIN_C_TOTAL()` Metric identifier to retrieve the total vitamin c from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#VITAMIN_D_TOTAL()` Metric identifier to retrieve the total vitamin d from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#VITAMIN_E_TOTAL()` Metric identifier to retrieve the total vitamin e from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#VITAMIN_K_TOTAL()` Metric identifier to retrieve the total vitamin k from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregateMetric<https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass>` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#ZINC_TOTAL()` Metric identifier to retrieve the total zinc from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#NutritionRecord(java.time.Instant,java.time.ZoneOffset,java.time.Instant,java.time.ZoneOffset,androidx.health.connect.client.records.metadata.Metadata,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Energy,androidx.health.connect.client.units.Energy,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,androidx.health.connect.client.units.Mass,kotlin.String,kotlin.Int)( startTime: https://developer.android.com/reference/java/time/Instant.html, startZoneOffset: https://developer.android.com/reference/java/time/ZoneOffset.html?, endTime: https://developer.android.com/reference/java/time/Instant.html, endZoneOffset: https://developer.android.com/reference/java/time/ZoneOffset.html?, metadata: https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/metadata/Metadata, biotin: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, caffeine: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, calcium: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, energy: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy?, energyFromFat: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy?, chloride: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, cholesterol: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, chromium: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, copper: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, dietaryFiber: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, folate: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, folicAcid: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, iodine: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, iron: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, magnesium: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, manganese: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, molybdenum: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, monounsaturatedFat: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, niacin: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, pantothenicAcid: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, phosphorus: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, polyunsaturatedFat: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, potassium: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, protein: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, riboflavin: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, saturatedFat: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, selenium: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, sodium: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, sugar: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, thiamin: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, totalCarbohydrate: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, totalFat: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, transFat: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, unsaturatedFat: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, vitaminA: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, vitaminB12: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, vitaminB6: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, vitaminC: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, vitaminD: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, vitaminE: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, vitaminK: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, zinc: https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, mealType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#toString()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#biotin()` Biotin in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#caffeine()` Caffeine in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#calcium()` Calcium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#chloride()` Chloride in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#cholesterol()` Cholesterol in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#chromium()` Chromium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#copper()` Copper in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#dietaryFiber()` Dietary fiber in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `open https://developer.android.com/reference/java/time/Instant.html` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#endTime()` End time of the record. |
| `open https://developer.android.com/reference/java/time/ZoneOffset.html?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#endZoneOffset()` User experienced zone offset at `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/IntervalRecord#endTime()`, or null if unknown. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#energy()` Energy in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#energyFromFat()` Energy from fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#folate()` Folate in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#folicAcid()` Folic acid in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#iodine()` Iodine in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#iron()` Iron in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#magnesium()` Magnesium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#manganese()` Manganese in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#mealType()` Type of meal related to the nutrients consumed. |
| `open https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/metadata/Metadata` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#metadata()` Set of common metadata associated with the written record. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#molybdenum()` Molybdenum in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#monounsaturatedFat()` Monounsaturated fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#name()` Name for food or drink, provided by the user. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#niacin()` Niacin in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#pantothenicAcid()` Pantothenic acid in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#phosphorus()` Phosphorus in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#polyunsaturatedFat()` Polyunsaturated fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#potassium()` Potassium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#protein()` Protein in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#riboflavin()` Riboflavin in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#saturatedFat()` Saturated fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#selenium()` Selenium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#sodium()` Sodium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `open https://developer.android.com/reference/java/time/Instant.html` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#startTime()` Start time of the record. |
| `open https://developer.android.com/reference/java/time/ZoneOffset.html?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#startZoneOffset()` User experienced zone offset at `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/IntervalRecord#startTime()`, or null if unknown. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#sugar()` Sugar in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#thiamin()` Thiamin in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#totalCarbohydrate()` Total carbohydrate in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#totalFat()` Total fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#transFat()` Trans fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#unsaturatedFat()` Unsaturated fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#vitaminA()` Vitamin A in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#vitaminB12()` Vitamin B12 in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#vitaminB6()` Vitamin B6 in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#vitaminC()` Vitamin C in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#vitaminD()` Vitamin D in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#vitaminE()` Vitamin E in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#vitaminK()` Vitamin K in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass?` | `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/NutritionRecord#zinc()` Zinc in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. |

## Public companion properties

### BIOTIN_TOTAL

```
val BIOTIN_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total biotin from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### CAFFEINE_TOTAL

```
val CAFFEINE_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total caffeine from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### CALCIUM_TOTAL

```
val CALCIUM_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total calcium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### CHLORIDE_TOTAL

```
val CHLORIDE_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total chloride from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### CHOLESTEROL_TOTAL

```
val CHOLESTEROL_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total cholesterol from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### CHROMIUM_TOTAL

```
val CHROMIUM_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total chromium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### COPPER_TOTAL

```
val COPPER_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total copper from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### DIETARY_FIBER_TOTAL

```
val DIETARY_FIBER_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total dietary fiber from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### ENERGY_FROM_FAT_TOTAL

```
val ENERGY_FROM_FAT_TOTAL: AggregateMetric<Energy>
```

Metric identifier to retrieve the total energy from fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### ENERGY_TOTAL

```
val ENERGY_TOTAL: AggregateMetric<Energy>
```

Metric identifier to retrieve the total energy from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### FOLATE_TOTAL

```
val FOLATE_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total folate from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### FOLIC_ACID_TOTAL

```
val FOLIC_ACID_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total folic acid from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### IODINE_TOTAL

```
val IODINE_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total iodine from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### IRON_TOTAL

```
val IRON_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total iron from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### MAGNESIUM_TOTAL

```
val MAGNESIUM_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total magnesium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### MANGANESE_TOTAL

```
val MANGANESE_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total manganese from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### MOLYBDENUM_TOTAL

```
val MOLYBDENUM_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total molybdenum from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### MONOUNSATURATED_FAT_TOTAL

```
val MONOUNSATURATED_FAT_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total monounsaturated fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### NIACIN_TOTAL

```
val NIACIN_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total niacin from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### PANTOTHENIC_ACID_TOTAL

```
val PANTOTHENIC_ACID_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total pantothenic acid from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### PHOSPHORUS_TOTAL

```
val PHOSPHORUS_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total phosphorus from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### POLYUNSATURATED_FAT_TOTAL

```
val POLYUNSATURATED_FAT_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total polyunsaturated fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### POTASSIUM_TOTAL

```
val POTASSIUM_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total potassium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### PROTEIN_TOTAL

```
val PROTEIN_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total protein from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### RIBOFLAVIN_TOTAL

```
val RIBOFLAVIN_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total riboflavin from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### SATURATED_FAT_TOTAL

```
val SATURATED_FAT_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total saturated fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### SELENIUM_TOTAL

```
val SELENIUM_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total selenium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### SODIUM_TOTAL

```
val SODIUM_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total sodium from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### SUGAR_TOTAL

```
val SUGAR_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total sugar from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### THIAMIN_TOTAL

```
val THIAMIN_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total thiamin from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### TOTAL_CARBOHYDRATE_TOTAL

```
val TOTAL_CARBOHYDRATE_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total total carbohydrate from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### TOTAL_FAT_TOTAL

```
val TOTAL_FAT_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total total fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### TRANS_FAT_TOTAL

```
val TRANS_FAT_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total trans fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### UNSATURATED_FAT_TOTAL

```
val UNSATURATED_FAT_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total unsaturated fat from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### VITAMIN_A_TOTAL

```
val VITAMIN_A_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total vitamin a from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### VITAMIN_B12_TOTAL

```
val VITAMIN_B12_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total vitamin b12 from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### VITAMIN_B6_TOTAL

```
val VITAMIN_B6_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total vitamin b6 from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### VITAMIN_C_TOTAL

```
val VITAMIN_C_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total vitamin c from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### VITAMIN_D_TOTAL

```
val VITAMIN_D_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total vitamin d from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### VITAMIN_E_TOTAL

```
val VITAMIN_E_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total vitamin e from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### VITAMIN_K_TOTAL

```
val VITAMIN_K_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total vitamin k from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

### ZINC_TOTAL

```
val ZINC_TOTAL: AggregateMetric<Mass>
```

Metric identifier to retrieve the total zinc from `https://developer.android.com/reference/kotlin/androidx/health/connect/client/aggregate/AggregationResult`.

## Public constructors

### NutritionRecord

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
NutritionRecord(
    startTime: Instant,
    startZoneOffset: ZoneOffset?,
    endTime: Instant,
    endZoneOffset: ZoneOffset?,
    metadata: Metadata,
    biotin: Mass? = null,
    caffeine: Mass? = null,
    calcium: Mass? = null,
    energy: Energy? = null,
    energyFromFat: Energy? = null,
    chloride: Mass? = null,
    cholesterol: Mass? = null,
    chromium: Mass? = null,
    copper: Mass? = null,
    dietaryFiber: Mass? = null,
    folate: Mass? = null,
    folicAcid: Mass? = null,
    iodine: Mass? = null,
    iron: Mass? = null,
    magnesium: Mass? = null,
    manganese: Mass? = null,
    molybdenum: Mass? = null,
    monounsaturatedFat: Mass? = null,
    niacin: Mass? = null,
    pantothenicAcid: Mass? = null,
    phosphorus: Mass? = null,
    polyunsaturatedFat: Mass? = null,
    potassium: Mass? = null,
    protein: Mass? = null,
    riboflavin: Mass? = null,
    saturatedFat: Mass? = null,
    selenium: Mass? = null,
    sodium: Mass? = null,
    sugar: Mass? = null,
    thiamin: Mass? = null,
    totalCarbohydrate: Mass? = null,
    totalFat: Mass? = null,
    transFat: Mass? = null,
    unsaturatedFat: Mass? = null,
    vitaminA: Mass? = null,
    vitaminB12: Mass? = null,
    vitaminB6: Mass? = null,
    vitaminC: Mass? = null,
    vitaminD: Mass? = null,
    vitaminE: Mass? = null,
    vitaminK: Mass? = null,
    zinc: Mass? = null,
    name: String? = null,
    mealType: Int = MealType.MEAL_TYPE_UNKNOWN
)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

## Public properties

### biotin

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val biotin: Mass?
```

Biotin in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### caffeine

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val caffeine: Mass?
```

Caffeine in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### calcium

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val calcium: Mass?
```

Calcium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### chloride

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val chloride: Mass?
```

Chloride in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### cholesterol

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val cholesterol: Mass?
```

Cholesterol in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### chromium

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val chromium: Mass?
```

Chromium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### copper

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val copper: Mass?
```

Copper in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### dietaryFiber

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val dietaryFiber: Mass?
```

Dietary fiber in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### endTime

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
open val endTime: Instant
```

End time of the record.

### endZoneOffset

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
open val endZoneOffset: ZoneOffset?
```

User experienced zone offset at `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/IntervalRecord#endTime()`, or null if unknown. Providing these will help history aggregations results stay consistent should user travel. Queries with user experienced time filters will assume system current zone offset if the information is absent.

### energy

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val energy: Energy?
```

Energy in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy` unit. Optional field. Valid range: 0-100000 kcal.

### energyFromFat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val energyFromFat: Energy?
```

Energy from fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Energy` unit. Optional field. Valid range: 0-100000 kcal.

### folate

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val folate: Mass?
```

Folate in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### folicAcid

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val folicAcid: Mass?
```

Folic acid in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### iodine

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val iodine: Mass?
```

Iodine in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### iron

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val iron: Mass?
```

Iron in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### magnesium

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val magnesium: Mass?
```

Magnesium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### manganese

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val manganese: Mass?
```

Manganese in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### mealType

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val mealType: Int
```

Type of meal related to the nutrients consumed. Optional, enum field. Allowed values: `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/MealType`.

Value is one of the following:

- `0`
- `1`
- `2`
- `3`
- `4`

<br />

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/MealType` |   |

### metadata

```
open val metadata: Metadata
```

Set of common metadata associated with the written record.

### molybdenum

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val molybdenum: Mass?
```

Molybdenum in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### monounsaturatedFat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val monounsaturatedFat: Mass?
```

Monounsaturated fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### name

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val name: String?
```

Name for food or drink, provided by the user. Optional field.

### niacin

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val niacin: Mass?
```

Niacin in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### pantothenicAcid

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val pantothenicAcid: Mass?
```

Pantothenic acid in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### phosphorus

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val phosphorus: Mass?
```

Phosphorus in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### polyunsaturatedFat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val polyunsaturatedFat: Mass?
```

Polyunsaturated fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### potassium

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val potassium: Mass?
```

Potassium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### protein

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val protein: Mass?
```

Protein in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### riboflavin

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val riboflavin: Mass?
```

Riboflavin in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### saturatedFat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val saturatedFat: Mass?
```

Saturated fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### selenium

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val selenium: Mass?
```

Selenium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### sodium

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val sodium: Mass?
```

Sodium in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### startTime

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
open val startTime: Instant
```

Start time of the record.

### startZoneOffset

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
open val startZoneOffset: ZoneOffset?
```

User experienced zone offset at `https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/IntervalRecord#startTime()`, or null if unknown. Providing these will help history aggregations results stay consistent should user travel. Queries with user experienced time filters will assume system current zone offset if the information is absent.

### sugar

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val sugar: Mass?
```

Sugar in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### thiamin

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val thiamin: Mass?
```

Thiamin in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### totalCarbohydrate

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val totalCarbohydrate: Mass?
```

Total carbohydrate in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### totalFat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val totalFat: Mass?
```

Total fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### transFat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val transFat: Mass?
```

Trans fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### unsaturatedFat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val unsaturatedFat: Mass?
```

Unsaturated fat in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100000 grams.

### vitaminA

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val vitaminA: Mass?
```

Vitamin A in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### vitaminB12

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val vitaminB12: Mass?
```

Vitamin B12 in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### vitaminB6

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val vitaminB6: Mass?
```

Vitamin B6 in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### vitaminC

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val vitaminC: Mass?
```

Vitamin C in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### vitaminD

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val vitaminD: Mass?
```

Vitamin D in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### vitaminE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val vitaminE: Mass?
```

Vitamin E in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### vitaminK

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val vitaminK: Mass?
```

Vitamin K in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.

### zinc

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
val zinc: Mass?
```

Zinc in `https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass` unit. Optional field. Valid range: 0-100 grams.