---
title: CMHeadphoneMotionManagerDelegate
framework: coremotion
role: symbol
role_heading: Protocol
path: coremotion/cmheadphonemotionmanagerdelegate
---

# CMHeadphoneMotionManagerDelegate

A set of methods that defines an interface for connecting and disconnecting headphones.

## Declaration

```swift
protocol CMHeadphoneMotionManagerDelegate : NSObjectProtocol
```

## Topics

### Connecting and Disconnecting Headphones

- [headphoneMotionManagerDidConnect(_:)](coremotion/cmheadphonemotionmanagerdelegate/headphonemotionmanagerdidconnect(_:).md)
- [headphoneMotionManagerDidDisconnect(_:)](coremotion/cmheadphonemotionmanagerdelegate/headphonemotionmanagerdiddisconnect(_:).md)
- [CMHeadphoneMotionManager.DeviceMotionHandler](coremotion/cmheadphonemotionmanager/devicemotionhandler.md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Getting the Delegate

- [delegate](coremotion/cmheadphonemotionmanager/delegate.md)
