---
title: distanceCrossCountrySkiing
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantitytypeidentifier/distancecrosscountryskiing
---

# distanceCrossCountrySkiing

A quantity sample type that measures the distance the user has moved by cross country skiing.

## Declaration

```swift
static let distanceCrossCountrySkiing: HKQuantityTypeIdentifier
```

## Discussion

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

## See Also

### Activity

- [stepCount](healthkit/hkquantitytypeidentifier/stepcount.md)
- [distanceWalkingRunning](healthkit/hkquantitytypeidentifier/distancewalkingrunning.md)
- [runningGroundContactTime](healthkit/hkquantitytypeidentifier/runninggroundcontacttime.md)
- [runningPower](healthkit/hkquantitytypeidentifier/runningpower.md)
- [runningSpeed](healthkit/hkquantitytypeidentifier/runningspeed.md)
- [runningStrideLength](healthkit/hkquantitytypeidentifier/runningstridelength.md)
- [runningVerticalOscillation](healthkit/hkquantitytypeidentifier/runningverticaloscillation.md)
- [distanceCycling](healthkit/hkquantitytypeidentifier/distancecycling.md)
- [pushCount](healthkit/hkquantitytypeidentifier/pushcount.md)
- [distanceWheelchair](healthkit/hkquantitytypeidentifier/distancewheelchair.md)
- [swimmingStrokeCount](healthkit/hkquantitytypeidentifier/swimmingstrokecount.md)
- [distanceSwimming](healthkit/hkquantitytypeidentifier/distanceswimming.md)
- [distanceDownhillSnowSports](healthkit/hkquantitytypeidentifier/distancedownhillsnowsports.md)
- [basalEnergyBurned](healthkit/hkquantitytypeidentifier/basalenergyburned.md)
- [activeEnergyBurned](healthkit/hkquantitytypeidentifier/activeenergyburned.md)
