Class: ContentRating
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eContentRating\u003c/code\u003e class within the Cast framework, used for indicating the content's parental or maturity rating.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the \u003ccode\u003eContentRating\u003c/code\u003e class to display a rating icon, which is visible in previews like "Playing Next".\u003c/p\u003e\n"]]],[],null,["# Class: ContentRating\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).ContentRating\n======================================================================================================================================================\n\nclass static\n\nThe content rating (parental rating, maturity rating).\n\nConstructor\n-----------\n\n### ContentRating\n\nnew\nContentRating()\n\nProperty\n--------\n\n### ratingIcon\n\n\u003cbr /\u003e\n\nThe content Rating icon. If provided, it is displayed along with the\n\"Playing Next\" preview."]]