Rating

data class Rating(    val totalRatings: Int,     val value: Double,     val minValue: Double,     val maxValue: Double)

An object that contains rating information.

Parameters

totalRatings

Total number of ratings.

value

Rating value, between min/max values inclusive.

minValue

Min value of the rating.

maxValue

Max value of the rating.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
fun Rating(    totalRatings: Int,     value: Double,     minValue: Double,     maxValue: Double)

Properties

Link copied to clipboard
val maxValue: Double
Link copied to clipboard
val minValue: Double
Link copied to clipboard
val totalRatings: Int
Link copied to clipboard
val value: Double