Contents

HKMetadataKeyAverageMETs

A key that indicates the average Metabolic Equivalent of Task (METs) during a workout.

Declaration

let HKMetadataKeyAverageMETs: String

Discussion

Set this key on a workout. Set its value to an HKQuantity object with a METs unit (for example, kcal/(kg*hr)). For more information on creating complex units, see HKUnit.

The value represents the average intensity over the entire workout’s duration.

See Also

Intensity