Rating
סוג שם: דירוג
הרחבה של לא מוחשי
שם |
סוג |
תיאור |
הדירוג הטוב ביותר |
מספר או טקסט |
הערך הגבוה ביותר המותר במערכת הדירוג הזו. אם הפרמטר bestRating מושמט, ההנחה היא 5. |
ValueValue |
טקסט |
הדירוג של התוכן. |
הדירוג הגרוע ביותר |
מספר או טקסט |
הערך הנמוך ביותר שמותר במערכת הדירוג הזו. אם לא מגדירים את worstRating, ההנחה היא 1. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]