Rating
Nama jenis: Rating
Memperluas Tidak Berwujud
Nama |
Jenis |
Deskripsi |
ratingterbaik |
Angka atau Teks |
Nilai tertinggi yang diterima dalam sistem rating ini. Jika bestRating dihilangkan, 5 diasumsikan sebagai rating tertinggi. |
ratingrating |
Teks |
Rating untuk konten. |
rating terburuk |
Angka atau Teks |
Nilai terendah yang diterima dalam sistem rating ini. Jika rating terburuk dihilangkan, 1 diasumsikan sebagai rating terendah. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-09-03 UTC.
[null,null,["Terakhir diperbarui pada 2024-09-03 UTC."],[[["`Rating` is a structured data type used to specify the rating of an item, inheriting properties from the `Intangible` type."],["It includes fields like `ratingValue` for the actual rating, and `bestRating` and `worstRating` to define the rating scale, defaulting to 5 and 1 respectively if omitted."],["The values for `bestRating`, `ratingValue`, and `worstRating` can be represented using either `Number` or `Text` types."]]],["The `Rating` type, extending `Intangible`, defines a rating system with three properties: `bestRating`, `ratingValue`, and `worstRating`. `bestRating` and `worstRating` establish the upper and lower bounds of the rating scale, defaulting to 5 and 1, respectively, if omitted. `ratingValue` represents the actual rating given to the content using `Text` format. `bestRating` and `worstRating` can be set using either `Number` or `Text`.\n"]]