---
title: MPRatingCommandEvent
framework: mediaplayer
role: symbol
role_heading: Class
path: mediaplayer/mpratingcommandevent
---

# MPRatingCommandEvent

An event requesting a change in the rating.

## Declaration

```swift
class MPRatingCommandEvent
```

## Topics

### Rating a media item

- [rating](mediaplayer/mpratingcommandevent/rating.md)

## Relationships

### Inherits From

- [MPRemoteCommandEvent](mediaplayer/mpremotecommandevent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Responding to feedback and rating events

- [MPFeedbackCommand](mediaplayer/mpfeedbackcommand.md)
- [MPFeedbackCommandEvent](mediaplayer/mpfeedbackcommandevent.md)
- [MPRatingCommand](mediaplayer/mpratingcommand.md)
