---
title: "startEventUpdates(handler:)"
framework: coremotion
role: symbol
role_heading: Instance Method
path: "coremotion/cmpedometer/starteventupdates(handler:)"
---

# startEventUpdates(handler:)

Starts the delivery of pedometer events to your app.

## Declaration

```swift
func startEventUpdates(handler: @escaping CMPedometerEventHandler)
```

## Parameters

- `handler`: The block to execute when a pedometer event is available. This parameter must not be nil.

## Discussion

Discussion Pedometer events report changes in the user’s pedestrian activity.

## See Also

### Gathering Live Pedometer Data

- [startUpdates(from:withHandler:)](coremotion/cmpedometer/startupdates(from:withhandler:).md)
- [stopUpdates()](coremotion/cmpedometer/stopupdates().md)
- [stopEventUpdates()](coremotion/cmpedometer/stopeventupdates().md)
- [CMPedometerHandler](coremotion/cmpedometerhandler.md)
- [CMPedometerEventHandler](coremotion/cmpedometereventhandler.md)
