---
title: headphoneMotion
framework: sensorkit
role: symbol
role_heading: Type Property
path: sensorkit/srsensor/headphonemotion
---

# headphoneMotion

## Declaration

```swift
static let headphoneMotion: SRSensor
```

## Discussion

Discussion Sensor stream for headphone motion collection This stream stores samples about headphone motion including: acceleration measured by the device’s accelerometer rotation rate measured by the device’s gyroscope altitude Fetches from this stream return objects of type \c NSArray<CMRecordedDeviceMotion *> * as defined in the CoreMotion framework
