Global Variable

HKMetadataKeyAverageMETs

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

Declaration

NSString *const HKMetadataKeyAverageMETs;

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 Performing Unit Math.

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