---
title: "startActivityUpdates(to:withHandler:)"
framework: coremotion
role: symbol
role_heading: Instance Method
path: "coremotion/cmheadphoneactivitymanager/startactivityupdates(to:withhandler:)"
---

# startActivityUpdates(to:withHandler:)

Starts headphone activity updates, providing data to the given handler through the given queue.

## Declaration

```swift
func startActivityUpdates(to queue: OperationQueue, withHandler handler: @escaping CMHeadphoneActivityManager.ActivityHandler)
```

## See Also

### Starting and Stopping Updates

- [stopActivityUpdates()](coremotion/cmheadphoneactivitymanager/stopactivityupdates().md)
- [startStatusUpdates(to:withHandler:)](coremotion/cmheadphoneactivitymanager/startstatusupdates(to:withhandler:).md)
- [stopStatusUpdates()](coremotion/cmheadphoneactivitymanager/stopstatusupdates().md)
