An object that provides a detailed rating for the item being played.


class MPRatingCommand : MPRemoteCommand


Defining Maximum and Minimum Ratings

var maximumRating: Float

The maximum rating for a command.

var minimumRating: Float

The minimum rating for a command.


Inherits From

Conforms To

See Also

Responding to Feedback and Rating Events

class MPFeedbackCommand

An object that reflects the feedback state for the item that your app is currently playing.

class MPFeedbackCommandEvent

An event requesting a change in the feedback setting.

class MPRatingCommandEvent

An event requesting a change in the rating.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software