---
title: setRateCalled
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avplayer/ratedidchangereason/setratecalled
---

# setRateCalled

An app makes a call to set the player’s rate.

## Declaration

```swift
static let setRateCalled: AVPlayer.RateDidChangeReason
```

## See Also

### Rate change reasons

- [appBackgrounded](avfoundation/avplayer/ratedidchangereason/appbackgrounded.md)
- [audioSessionInterrupted](avfoundation/avplayer/ratedidchangereason/audiosessioninterrupted.md)
- [setRateFailed](avfoundation/avplayer/ratedidchangereason/setratefailed.md)
