---
title: updateMeters()
framework: avfaudio
role: symbol
role_heading: Instance Method
path: avfaudio/avaudiorecorder/updatemeters()
---

# updateMeters()

Refreshes the average and peak power values for all channels of an audio recorder.

## Declaration

```swift
func updateMeters()
```

## Discussion

Discussion Call this method to update the level meter data before calling averagePower(forChannel:) or peakPower(forChannel:).

## See Also

### Managing audio-level metering

- [isMeteringEnabled](avfaudio/avaudiorecorder/ismeteringenabled.md)
- [averagePower(forChannel:)](avfaudio/avaudiorecorder/averagepower(forchannel:).md)
- [peakPower(forChannel:)](avfaudio/avaudiorecorder/peakpower(forchannel:).md)
