---
title: cyclingSpeed
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantitytypeidentifier/cyclingspeed
---

# cyclingSpeed

A quantity sample type that measures how fast you are traveling while riding a bike.

## Declaration

```swift
static let cyclingSpeed: HKQuantityTypeIdentifier
```

## Discussion

Discussion These samples use distance per time units (described in HKUnit) and measure discrete values (described in HKQuantityAggregationStyle). Cycling speed can be automatically collected by peripherals connected to an Apple Watch during cycling workouts. Sample data may be condensed and/or coalesced by HealthKit. For more information, see Accessing condensed workout samples.

## 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)
