Contents

distanceSkatingSports

A quantity sample type that measures the distance the user has moved by skating.

Declaration

static let distanceSkatingSports: HKQuantityTypeIdentifier

Discussion

These samples use length units (described in HKUnit) and measure cumulative values (described in HKQuantityAggregationStyle). During outdoor skating workouts, the system automatically collects distance samples on Apple Watch.

See Also

Activity