---
title: accelerometerUpdateInterval
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmmotionmanager/accelerometerupdateinterval
---

# accelerometerUpdateInterval

The interval, in seconds, for providing accelerometer updates to the block handler.

## Declaration

```swift
var accelerometerUpdateInterval: TimeInterval { get set }
```

## Mentioned in

Getting raw accelerometer events

## Discussion

Discussion The system supplies accelerometer updates to the block handler specified in startAccelerometerUpdates(to:withHandler:) at regular intervals determined by the value of this property. The interval units are in seconds. The value of this property is capped to minimum and maximum values; the maximum value is determined by the maximum frequency supported by the hardware. If your app is sensitive to the intervals of acceleration data, it should always check the timestamps of the delivered CMAccelerometerData instances to determine the true update interval.

## See Also

### Related Documentation

- [Event Handling Guide for UIKit Apps](apple-archive/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS.md)

### Managing Accelerometer Updates

- [startAccelerometerUpdates(to:withHandler:)](coremotion/cmmotionmanager/startaccelerometerupdates(to:withhandler:).md)
- [startAccelerometerUpdates()](coremotion/cmmotionmanager/startaccelerometerupdates().md)
- [stopAccelerometerUpdates()](coremotion/cmmotionmanager/stopaccelerometerupdates().md)
- [accelerometerData](coremotion/cmmotionmanager/accelerometerdata.md)
- [CMAccelerometerHandler](coremotion/cmaccelerometerhandler.md)
