Global Variable

HKQuantityTypeIdentifierDietaryEnergyConsumed

A quantity sample type that measures the amount of energy consumed.

Declaration

const HKQuantityTypeIdentifier HKQuantityTypeIdentifierDietaryEnergyConsumed;

Discussion

These samples use energy units (described in HKUnit) and measure cumulative values (described in HKStatisticsQuery).

See Also

Macronutrients

HKQuantityTypeIdentifierDietaryCarbohydrates

A quantity sample type that measures the amount of carbohydrates consumed.

HKQuantityTypeIdentifierDietaryFiber

A quantity sample type that measures the amount of fiber consumed.

HKQuantityTypeIdentifierDietarySugar

A quantity sample type that measures the amount of sugar consumed.

HKQuantityTypeIdentifierDietaryFatTotal

A quantity sample type that measures the total amount of fat consumed.

HKQuantityTypeIdentifierDietaryFatMonounsaturated

A quantity sample type that measures the amount of monounsaturated fat consumed.

HKQuantityTypeIdentifierDietaryFatPolyunsaturated

A quantity sample type that measures the amount of polyunsaturated fat consumed.

HKQuantityTypeIdentifierDietaryFatSaturated

A quantity sample type that measures the amount of saturated fat consumed.

HKQuantityTypeIdentifierDietaryCholesterol

A quantity sample type that measures the amount of cholesterol consumed.

HKQuantityTypeIdentifierDietaryProtein

A quantity sample type that measures the amount of protein consumed.