One Logo Pool Ball
CarPlay · IOS API REFERENCE

CPInformationRatingItem

class · iOS 14.0+ · SDK 27.1

class CPInformationRatingItem

Members (3)

init · iOS 14.0+

init

TypeScript
static init(rating?: (_Foundation_NSNumber) | null, maximumRating?: (_Foundation_NSNumber) | null, title?: (string) | null, detail?: (string) | null): CPInformationRatingItem
Swift declaration
init(rating: NSNumber?, maximumRating: NSNumber?, title: String?, detail: String?)
get · iOS 14.0+

maximumRating

TypeScript
get maximumRating(): (_Foundation_NSNumber) | null
Swift declaration
var maximumRating: NSNumber? { get }
get · iOS 14.0+

rating

TypeScript
get rating(): (_Foundation_NSNumber) | null
Swift declaration
var rating: NSNumber? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CPInformationRatingItem.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All CarPlay types →