Type Property

bodyMassIndex

A quantity sample type that measures the user’s body mass index.

Declaration

static let bodyMassIndex: HKQuantityTypeIdentifier

Discussion

These samples use count units (described in HKUnit) and measure discrete values (described in HKStatisticsQuery).

See Also

Body Measurements

static let height: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s height.

static let bodyMass: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s weight.

static let leanBodyMass: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s lean body mass.

static let bodyFatPercentage: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s body fat percentage.

static let waistCircumference: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s waist circumference.