Instance Property

ratingCommand

The command object for rating a media item.

Declaration

@property(nonatomic, readonly) MPRatingCommand *ratingCommand;

Discussion

Use the object in this property to register your app’s handler for rating the current track. In your handler, apply the specified rating to the track. You can disable the command if your app does not support it.

See Also

Rating a Media Item

likeCommand

The command object for indicating that a user likes what is currently playing.

dislikeCommand

The command object for indicating that a user dislikes what is currently playing.