attribute_to_csm_age


Description:

[ Version ( since = "0.12.10" ) ]
public static uint attribute_to_csm_age (string id, ContentRatingValue value)

Gets the Common Sense Media approved age for a specific rating level.

Parameters:

id

the subsection ID e.g. `violence-cartoon`

value

the ContentRatingValue, e.g. as_content_rating_value_intense

Returns:

The age in years, or 0 for no details.