An event requesting a change in the rating.


class MPRatingCommandEvent : MPRemoteCommandEvent


Rating a Media Item

var rating: Float

The rating for the command event.


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 MPRatingCommand

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

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