การให้คะแนน
ชื่อประเภท: Rating
ขยายที่จับต้องไม่ได้
ชื่อ |
ประเภท |
คำอธิบาย |
คะแนนดีที่สุด |
ตัวเลข หรือ ข้อความ |
ค่าสูงสุดที่ใช้ได้ในระบบการให้คะแนนนี้ หากไม่ใส่ BestRating จะถือว่ามี 5 คะแนน |
ค่าการให้คะแนน |
Text |
การให้คะแนนเนื้อหา |
คะแนนที่แย่ที่สุด |
ตัวเลข หรือ ข้อความ |
ค่าต่ำสุดที่ใช้ได้ในระบบการให้คะแนนนี้ หากไม่ระบุ WearstRating ระบบจะถือว่าค่านี้เป็น 1 |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-03 UTC
[null,null,["อัปเดตล่าสุด 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"]]