---
title: MPRatingCommand
framework: mediaplayer
role: symbol
role_heading: Class
path: mediaplayer/mpratingcommand
---

# MPRatingCommand

An object that provides a detailed rating for the playing item.

## Declaration

```swift
class MPRatingCommand
```

## Topics

### Defining maximum and minimum ratings

- [maximumRating](mediaplayer/mpratingcommand/maximumrating.md)
- [minimumRating](mediaplayer/mpratingcommand/minimumrating.md)

## Relationships

### Inherits From

- [MPRemoteCommand](mediaplayer/mpremotecommand.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)
- [MPRatingCommandEvent](mediaplayer/mpratingcommandevent.md)
