CPInformationRatingItem
A data object that provides rated content for an information template.
Declaration
class CPInformationRatingItemOverview
CPInformationRatingItem provides the ability to display rated content in the rows of an information template. Depending on the template’s layout, the item’s attributes stack vertically or horizontally in the rows. The title property describes the content, and the detail property provides the content. Use the rating and maximumRating properties to display a rating for the content. For example, you could show a service rating when displaying information about a restaurant or café.
The template manages the visual styling of the rating and maximum rating.