Rating
@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
@objc
public class Rating : NSObject
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
Object that contains rating information.
-
Total number of ratings.
Declaration
Swift
@objc public let totalRatings: Int -
Rating value, between min/max values inclusive.
Declaration
Swift
@objc public let value: Double -
Min value of the rating.
Declaration
Swift
@objc public let minValue: Double -
Max value of the rating.
Declaration
Swift
@objc public let maxValue: Double
Rating Class Reference