class NutritionRecord : Record


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

Summary

Public companion properties

AggregateMetric<Mass>

Metric identifier to retrieve the total biotin from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total caffeine from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total calcium from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total chloride from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total cholesterol from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total chromium from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total copper from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total dietary fiber from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Energy>

Metric identifier to retrieve the total energy from fat from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Energy>

Metric identifier to retrieve the total energy from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total folate from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total folic acid from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total iodine from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total iron from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total magnesium from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total manganese from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total molybdenum from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total monounsaturated fat from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total niacin from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total pantothenic acid from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total phosphorus from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total polyunsaturated fat from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total potassium from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total protein from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total riboflavin from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total saturated fat from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total selenium from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total sodium from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total sugar from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total thiamin from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total total carbohydrate from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total total fat from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total trans fat from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total unsaturated fat from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total vitamin a from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total vitamin b12 from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total vitamin b6 from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total vitamin c from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total vitamin d from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total vitamin e from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total vitamin k from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Mass>

Metric identifier to retrieve the total zinc from androidx.health.connect.client.aggregate.AggregationResult.

Public constructors

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

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Mass?

Biotin in Mass unit.

Mass?

Caffeine in Mass unit.

Mass?

Calcium in Mass unit.

Mass?

Chloride in Mass unit.

Mass?

Cholesterol in Mass unit.

Mass?

Chromium in Mass unit.

Mass?

Copper in Mass unit.

Mass?

Dietary fiber in Mass unit.

open Instant

End time of the record.

open ZoneOffset?

User experienced zone offset at endTime, or null if unknown.

Energy?

Energy in Energy unit.

Energy?

Energy from fat in Energy unit.

Mass?

Folate in Mass unit.

Mass?

Folic acid in Mass unit.

Mass?

Iodine in Mass unit.

Mass?

Iron in Mass unit.

Mass?

Magnesium in Mass unit.

Mass?

Manganese in Mass unit.

Int

Type of meal related to the nutrients consumed.

open Metadata

Set of common metadata associated with the written record.

Mass?

Molybdenum in Mass unit.

Mass?

Monounsaturated fat in Mass unit.

String?

Name for food or drink, provided by the user.

Mass?

Niacin in Mass unit.

Mass?

Pantothenic acid in Mass unit.

Mass?

Phosphorus in Mass unit.

Mass?

Polyunsaturated fat in Mass unit.

Mass?

Potassium in Mass unit.

Mass?

Protein in Mass unit.

Mass?

Riboflavin in Mass unit.

Mass?

Saturated fat in Mass unit.

Mass?

Selenium in Mass unit.

Mass?

Sodium in Mass unit.

open Instant

Start time of the record.

open ZoneOffset?

User experienced zone offset at startTime, or null if unknown.

Mass?

Sugar in Mass unit.

Mass?

Thiamin in Mass unit.

Mass?

Total carbohydrate in Mass unit.

Mass?

Total fat in Mass unit.

Mass?

Trans fat in Mass unit.

Mass?

Unsaturated fat in Mass unit.

Mass?

Vitamin A in Mass unit.

Mass?

Vitamin B12 in Mass unit.

Mass?

Vitamin B6 in Mass unit.

Mass?

Vitamin C in Mass unit.

Mass?

Vitamin D in Mass unit.

Mass?

Vitamin E in Mass unit.

Mass?

Vitamin K in Mass unit.

Mass?

Zinc in Mass unit.

Public companion properties

BIOTIN_TOTAL

val BIOTIN_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total biotin from androidx.health.connect.client.aggregate.AggregationResult.

CAFFEINE_TOTAL

val CAFFEINE_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total caffeine from androidx.health.connect.client.aggregate.AggregationResult.

CALCIUM_TOTAL

val CALCIUM_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total calcium from androidx.health.connect.client.aggregate.AggregationResult.

CHLORIDE_TOTAL

val CHLORIDE_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total chloride from androidx.health.connect.client.aggregate.AggregationResult.

CHOLESTEROL_TOTAL

val CHOLESTEROL_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total cholesterol from androidx.health.connect.client.aggregate.AggregationResult.

CHROMIUM_TOTAL

val CHROMIUM_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total chromium from androidx.health.connect.client.aggregate.AggregationResult.

COPPER_TOTAL

val COPPER_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total copper from androidx.health.connect.client.aggregate.AggregationResult.

DIETARY_FIBER_TOTAL

val DIETARY_FIBER_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total dietary fiber from androidx.health.connect.client.aggregate.AggregationResult.

ENERGY_FROM_FAT_TOTAL

val ENERGY_FROM_FAT_TOTALAggregateMetric<Energy>

Metric identifier to retrieve the total energy from fat from androidx.health.connect.client.aggregate.AggregationResult.

ENERGY_TOTAL

val ENERGY_TOTALAggregateMetric<Energy>

Metric identifier to retrieve the total energy from androidx.health.connect.client.aggregate.AggregationResult.

FOLATE_TOTAL

val FOLATE_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total folate from androidx.health.connect.client.aggregate.AggregationResult.

FOLIC_ACID_TOTAL

val FOLIC_ACID_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total folic acid from androidx.health.connect.client.aggregate.AggregationResult.

IODINE_TOTAL

val IODINE_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total iodine from androidx.health.connect.client.aggregate.AggregationResult.

IRON_TOTAL

val IRON_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total iron from androidx.health.connect.client.aggregate.AggregationResult.

MAGNESIUM_TOTAL

val MAGNESIUM_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total magnesium from androidx.health.connect.client.aggregate.AggregationResult.

MANGANESE_TOTAL

val MANGANESE_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total manganese from androidx.health.connect.client.aggregate.AggregationResult.

MOLYBDENUM_TOTAL

val MOLYBDENUM_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total molybdenum from androidx.health.connect.client.aggregate.AggregationResult.

MONOUNSATURATED_FAT_TOTAL

val MONOUNSATURATED_FAT_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total monounsaturated fat from androidx.health.connect.client.aggregate.AggregationResult.

NIACIN_TOTAL

val NIACIN_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total niacin from androidx.health.connect.client.aggregate.AggregationResult.

PANTOTHENIC_ACID_TOTAL

val PANTOTHENIC_ACID_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total pantothenic acid from androidx.health.connect.client.aggregate.AggregationResult.

PHOSPHORUS_TOTAL

val PHOSPHORUS_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total phosphorus from androidx.health.connect.client.aggregate.AggregationResult.

POLYUNSATURATED_FAT_TOTAL

val POLYUNSATURATED_FAT_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total polyunsaturated fat from androidx.health.connect.client.aggregate.AggregationResult.

POTASSIUM_TOTAL

val POTASSIUM_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total potassium from androidx.health.connect.client.aggregate.AggregationResult.

PROTEIN_TOTAL

val PROTEIN_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total protein from androidx.health.connect.client.aggregate.AggregationResult.

RIBOFLAVIN_TOTAL

val RIBOFLAVIN_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total riboflavin from androidx.health.connect.client.aggregate.AggregationResult.

SATURATED_FAT_TOTAL

val SATURATED_FAT_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total saturated fat from androidx.health.connect.client.aggregate.AggregationResult.

SELENIUM_TOTAL

val SELENIUM_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total selenium from androidx.health.connect.client.aggregate.AggregationResult.

SODIUM_TOTAL

val SODIUM_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total sodium from androidx.health.connect.client.aggregate.AggregationResult.

SUGAR_TOTAL

val SUGAR_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total sugar from androidx.health.connect.client.aggregate.AggregationResult.

THIAMIN_TOTAL

val THIAMIN_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total thiamin from androidx.health.connect.client.aggregate.AggregationResult.

TOTAL_CARBOHYDRATE_TOTAL

val TOTAL_CARBOHYDRATE_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total total carbohydrate from androidx.health.connect.client.aggregate.AggregationResult.

TOTAL_FAT_TOTAL

val TOTAL_FAT_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total total fat from androidx.health.connect.client.aggregate.AggregationResult.

TRANS_FAT_TOTAL

val TRANS_FAT_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total trans fat from androidx.health.connect.client.aggregate.AggregationResult.

UNSATURATED_FAT_TOTAL

val UNSATURATED_FAT_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total unsaturated fat from androidx.health.connect.client.aggregate.AggregationResult.

VITAMIN_A_TOTAL

val VITAMIN_A_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total vitamin a from androidx.health.connect.client.aggregate.AggregationResult.

VITAMIN_B12_TOTAL

val VITAMIN_B12_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total vitamin b12 from androidx.health.connect.client.aggregate.AggregationResult.

VITAMIN_B6_TOTAL

val VITAMIN_B6_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total vitamin b6 from androidx.health.connect.client.aggregate.AggregationResult.

VITAMIN_C_TOTAL

val VITAMIN_C_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total vitamin c from androidx.health.connect.client.aggregate.AggregationResult.

VITAMIN_D_TOTAL

val VITAMIN_D_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total vitamin d from androidx.health.connect.client.aggregate.AggregationResult.

VITAMIN_E_TOTAL

val VITAMIN_E_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total vitamin e from androidx.health.connect.client.aggregate.AggregationResult.

VITAMIN_K_TOTAL

val VITAMIN_K_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total vitamin k from androidx.health.connect.client.aggregate.AggregationResult.

ZINC_TOTAL

val ZINC_TOTALAggregateMetric<Mass>

Metric identifier to retrieve the total zinc from androidx.health.connect.client.aggregate.AggregationResult.

Public constructors

NutritionRecord

Added in 1.1.0-alpha10
NutritionRecord(
    startTime: Instant,
    startZoneOffset: ZoneOffset?,
    endTime: Instant,
    endZoneOffset: ZoneOffset?,
    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,
    metadata: Metadata = Metadata.EMPTY
)

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-alpha10
val biotinMass?

Biotin in Mass unit. Optional field. Valid range: 0-100 grams.

caffeine

Added in 1.1.0-alpha10
val caffeineMass?

Caffeine in Mass unit. Optional field. Valid range: 0-100 grams.

calcium

Added in 1.1.0-alpha10
val calciumMass?

Calcium in Mass unit. Optional field. Valid range: 0-100 grams.

chloride

Added in 1.1.0-alpha10
val chlorideMass?

Chloride in Mass unit. Optional field. Valid range: 0-100 grams.

cholesterol

Added in 1.1.0-alpha10
val cholesterolMass?

Cholesterol in Mass unit. Optional field. Valid range: 0-100 grams.

chromium

Added in 1.1.0-alpha10
val chromiumMass?

Chromium in Mass unit. Optional field. Valid range: 0-100 grams.

copper

Added in 1.1.0-alpha10
val copperMass?

Copper in Mass unit. Optional field. Valid range: 0-100 grams.

dietaryFiber

Added in 1.1.0-alpha10
val dietaryFiberMass?

Dietary fiber in Mass unit. Optional field. Valid range: 0-100000 grams.

endTime

Added in 1.1.0-alpha10
open val endTimeInstant

End time of the record.

endZoneOffset

Added in 1.1.0-alpha10
open val endZoneOffsetZoneOffset?

User experienced zone offset at 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-alpha10
val energyEnergy?

Energy in Energy unit. Optional field. Valid range: 0-100000 kcal.

energyFromFat

Added in 1.1.0-alpha10
val energyFromFatEnergy?

Energy from fat in Energy unit. Optional field. Valid range: 0-100000 kcal.

folate

Added in 1.1.0-alpha10
val folateMass?

Folate in Mass unit. Optional field. Valid range: 0-100 grams.

folicAcid

Added in 1.1.0-alpha10
val folicAcidMass?

Folic acid in Mass unit. Optional field. Valid range: 0-100 grams.

iodine

Added in 1.1.0-alpha10
val iodineMass?

Iodine in Mass unit. Optional field. Valid range: 0-100 grams.

iron

Added in 1.1.0-alpha10
val ironMass?

Iron in Mass unit. Optional field. Valid range: 0-100 grams.

magnesium

Added in 1.1.0-alpha10
val magnesiumMass?

Magnesium in Mass unit. Optional field. Valid range: 0-100 grams.

manganese

Added in 1.1.0-alpha10
val manganeseMass?

Manganese in Mass unit. Optional field. Valid range: 0-100 grams.

mealType

Added in 1.1.0-alpha10
val mealTypeInt

Type of meal related to the nutrients consumed. Optional, enum field. Allowed values: MealType.

See also
MealType

metadata

Added in 1.1.0-alpha10
open val metadataMetadata

Set of common metadata associated with the written record.

molybdenum

Added in 1.1.0-alpha10
val molybdenumMass?

Molybdenum in Mass unit. Optional field. Valid range: 0-100 grams.

monounsaturatedFat

Added in 1.1.0-alpha10
val monounsaturatedFatMass?

Monounsaturated fat in Mass unit. Optional field. Valid range: 0-100000 grams.

name

Added in 1.1.0-alpha10
val nameString?

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

niacin

Added in 1.1.0-alpha10
val niacinMass?

Niacin in Mass unit. Optional field. Valid range: 0-100 grams.

pantothenicAcid

Added in 1.1.0-alpha10
val pantothenicAcidMass?

Pantothenic acid in Mass unit. Optional field. Valid range: 0-100 grams.

phosphorus

Added in 1.1.0-alpha10
val phosphorusMass?

Phosphorus in Mass unit. Optional field. Valid range: 0-100 grams.

polyunsaturatedFat

Added in 1.1.0-alpha10
val polyunsaturatedFatMass?

Polyunsaturated fat in Mass unit. Optional field. Valid range: 0-100000 grams.

potassium

Added in 1.1.0-alpha10
val potassiumMass?

Potassium in Mass unit. Optional field. Valid range: 0-100 grams.

protein

Added in 1.1.0-alpha10
val proteinMass?

Protein in Mass unit. Optional field. Valid range: 0-100000 grams.

riboflavin

Added in 1.1.0-alpha10
val riboflavinMass?

Riboflavin in Mass unit. Optional field. Valid range: 0-100 grams.

saturatedFat

Added in 1.1.0-alpha10
val saturatedFatMass?

Saturated fat in Mass unit. Optional field. Valid range: 0-100000 grams.

selenium

Added in 1.1.0-alpha10
val seleniumMass?

Selenium in Mass unit. Optional field. Valid range: 0-100 grams.

sodium

Added in 1.1.0-alpha10
val sodiumMass?

Sodium in Mass unit. Optional field. Valid range: 0-100 grams.

startTime

Added in 1.1.0-alpha10
open val startTimeInstant

Start time of the record.

startZoneOffset

Added in 1.1.0-alpha10
open val startZoneOffsetZoneOffset?

User experienced zone offset at 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-alpha10
val sugarMass?

Sugar in Mass unit. Optional field. Valid range: 0-100000 grams.

thiamin

Added in 1.1.0-alpha10
val thiaminMass?

Thiamin in Mass unit. Optional field. Valid range: 0-100 grams.

totalCarbohydrate

Added in 1.1.0-alpha10
val totalCarbohydrateMass?

Total carbohydrate in Mass unit. Optional field. Valid range: 0-100000 grams.

totalFat

Added in 1.1.0-alpha10
val totalFatMass?

Total fat in Mass unit. Optional field. Valid range: 0-100000 grams.

transFat

Added in 1.1.0-alpha10
val transFatMass?

Trans fat in Mass unit. Optional field. Valid range: 0-100000 grams.

unsaturatedFat

Added in 1.1.0-alpha10
val unsaturatedFatMass?

Unsaturated fat in Mass unit. Optional field. Valid range: 0-100000 grams.

vitaminA

Added in 1.1.0-alpha10
val vitaminAMass?

Vitamin A in Mass unit. Optional field. Valid range: 0-100 grams.

vitaminB12

Added in 1.1.0-alpha10
val vitaminB12Mass?

Vitamin B12 in Mass unit. Optional field. Valid range: 0-100 grams.

vitaminB6

Added in 1.1.0-alpha10
val vitaminB6Mass?

Vitamin B6 in Mass unit. Optional field. Valid range: 0-100 grams.

vitaminC

Added in 1.1.0-alpha10
val vitaminCMass?

Vitamin C in Mass unit. Optional field. Valid range: 0-100 grams.

vitaminD

Added in 1.1.0-alpha10
val vitaminDMass?

Vitamin D in Mass unit. Optional field. Valid range: 0-100 grams.

vitaminE

Added in 1.1.0-alpha10
val vitaminEMass?

Vitamin E in Mass unit. Optional field. Valid range: 0-100 grams.

vitaminK

Added in 1.1.0-alpha10
val vitaminKMass?

Vitamin K in Mass unit. Optional field. Valid range: 0-100 grams.

zinc

Added in 1.1.0-alpha10
val zincMass?

Zinc in Mass unit. Optional field. Valid range: 0-100 grams.