---
title: AVPlayer.RateDidChangeReason
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avplayer/ratedidchangereason
---

# AVPlayer.RateDidChangeReason

A structure that represents a rate change reason.

## Declaration

```swift
struct RateDidChangeReason
```

## Topics

### Initializers

- [init(rawValue:)](avfoundation/avplayer/ratedidchangereason/init(rawvalue:).md)

### Rate change reasons

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

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### User information keys

- [rateDidChangeOriginatingParticipantKey](avfoundation/avplayer/ratedidchangeoriginatingparticipantkey.md)
- [rateDidChangeReasonKey](avfoundation/avplayer/ratedidchangereasonkey.md)
